public class CKAValueLen extends CKAttribute
type
mPointer, mPointerSize
Constructor and Description |
---|
CKAValueLen()
Representation of a PKCS#11 CK_ATTRIBUTE with type CKA_VALUE_LEN and
default length for the key type.
|
CKAValueLen(long length)
Representation of a PKCS#11 CK_ATTRIBUTE with type CKA_VALUE_LEN and a
specified length.
|
Modifier and Type | Method and Description |
---|---|
protected void |
acquireNativeResources()
Allocate native resources, setting mPointer and mPointerSize as
appropriate.
|
long |
getLength()
Get the length of this CKA_VALUE_LEN attribute.
|
protected void |
releaseNativeResources()
Called to deallocate native resources; note that mPointer.close()
is called afterwards.
|
void |
setLength(long length)
Set the length specified by this CKA_VALUE_LEN attribute.
|
close, finalize, open
public CKAValueLen()
public CKAValueLen(long length)
public void setLength(long length)
public long getLength()
protected void acquireNativeResources()
NativeEnclosure
acquireNativeResources
in class NativeEnclosure
protected void releaseNativeResources()
NativeEnclosure
releaseNativeResources
in class NativeEnclosure