public class CKAUsage extends CKAttribute
Modifier and Type | Class and Description |
---|---|
static class |
CKAUsage.Decrypt
CKADecrypt is an instance of PKCS#11 CK_ATTRIBUTE with
type = CKA_DECRYPT and value CK_TRUE.
|
static class |
CKAUsage.Derive
CKADerive is an instance of PKCS#11 CK_ATTRIBUTE with
type = CKA_DERIVE and value CK_TRUE.
|
static class |
CKAUsage.Encrypt
CKAEncrypt is an instance of PKCS#11 CK_ATTRIBUTE with
type = CKA_ENCRYPT and value CK_TRUE.
|
static class |
CKAUsage.Sign
CKASign is an instance of PKCS#11 CK_ATTRIBUTE with
type = CKA_SIGN and value CK_TRUE.
|
static class |
CKAUsage.SignRecover
CKASignRecover is an instance of PKCS#11 CK_ATTRIBUTE with
type = CKA_SIGN_RECOVER and value CK_TRUE.
|
static class |
CKAUsage.Unwrap
CKAUnwrap is an instance of PKCS#11 CK_ATTRIBUTE with
type = CKA_UNWRAP and value CK_TRUE.
|
static class |
CKAUsage.Verify
CKAVerify is an instance of PKCS#11 CK_ATTRIBUTE with
type = CKA_VERIFY and value CK_TRUE.
|
static class |
CKAUsage.VerifyRecover
CKAVerifyRecover is an instance of PKCS#11 CK_ATTRIBUTE with
type = CKA_VERIFY_RECOVER and value CK_TRUE.
|
static class |
CKAUsage.Wrap
CKAWrap is an instance of PKCS#11 CK_ATTRIBUTE with
type = CKA_WRAP and value CK_TRUE.
|
type
mPointer, mPointerSize
Constructor and Description |
---|
CKAUsage(long type)
Representation of a PKCS#11 CK_ATTRIBUTE with custom type, setting the
value to CK_TRUE.
|
Modifier and Type | Method and Description |
---|---|
protected void |
acquireNativeResources()
Allocate native resources, setting mPointer and mPointerSize as
appropriate.
|
protected void |
releaseNativeResources()
Called to deallocate native resources; note that mPointer.close()
is called afterwards.
|
close, finalize, open
public CKAUsage(long type)
protected void acquireNativeResources()
NativeEnclosure
acquireNativeResources
in class NativeEnclosure
protected void releaseNativeResources()
NativeEnclosure
releaseNativeResources
in class NativeEnclosure