public class CKAClass extends CKAttribute
Modifier and Type | Class and Description |
---|---|
static class |
CKAClass.Certificate
Representation of a PKCS#11 CK_ATTRIBUTE with type CKA_CLASS and value
CKO_CERTIFICATE.
|
static class |
CKAClass.Data
Representation of a PKCS#11 CK_ATTRIBUTE with type CKA_CLASS and value
CKO_DATA.
|
static class |
CKAClass.DomainParameters
Representation of a PKCS#11 CK_ATTRIBUTE with type CKA_CLASS and value
CKO_DOMAIN_PARAMETERS.
|
static class |
CKAClass.HWFeature
Representation of a PKCS#11 CK_ATTRIBUTE with type CKA_CLASS and value
CKO_HW_FEATURE.
|
static class |
CKAClass.Mechanism
Representation of a PKCS#11 CK_ATTRIBUTE with type CKA_CLASS and value
CKO_MECHANISM.
|
static class |
CKAClass.PrivateKey
Representation of a PKCS#11 CK_ATTRIBUTE with type CKA_CLASS and value
CKO_PRIVATE_KEY.
|
static class |
CKAClass.PublicKey
Representation of a PKCS#11 CK_ATTRIBUTE with type CKA_CLASS and value
CKO_PUBLIC_KEY.
|
static class |
CKAClass.SecretKey
Representation of a PKCS#11 CK_ATTRIBUTE with type CKA_CLASS and value
CKO_SECRET_KEY.
|
type
mPointer, mPointerSize
Constructor and Description |
---|
CKAClass(long value)
Representation of a PKCS#11 CK_ATTRIBUTE with type CKA_CLASS and a
custom value.
|
Modifier and Type | Method and Description |
---|---|
protected void |
acquireNativeResources()
Allocate native resources, setting mPointer and mPointerSize as
appropriate.
|
long |
getValue()
Get the value of this CKA_CLASS attribute.
|
protected void |
releaseNativeResources()
Called to deallocate native resources; note that mPointer.close()
is called afterwards.
|
void |
setValue(long value)
Set the value of this CKA_CLASS attribute.
|
close, finalize, open
public CKAClass(long value)
public void setValue(long value)
public long getValue()
protected void acquireNativeResources()
NativeEnclosure
acquireNativeResources
in class NativeEnclosure
protected void releaseNativeResources()
NativeEnclosure
releaseNativeResources
in class NativeEnclosure