public class KBKDFDerivedKey extends NativeEnclosure
mPointer, mPointerSize| Constructor and Description |
|---|
KBKDFDerivedKey() |
KBKDFDerivedKey(CKAttribute[] attrs) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
acquireNativeResources()
Allocate native resources, setting mPointer and mPointerSize as
appropriate.
|
protected void |
acquireNativeResourcesInternal() |
void |
addAttribute(CKAttribute attr) |
javax.crypto.SecretKey |
getKey(javax.crypto.SecretKey parent,
long mech,
boolean temporary) |
protected void |
releaseNativeResources()
Called to deallocate native resources; note that mPointer.close()
is called afterwards.
|
protected void |
releaseNativeResourcesInternal() |
void |
setAttributes(CKAttribute[] attrs) |
close, finalize, openpublic KBKDFDerivedKey()
public KBKDFDerivedKey(CKAttribute[] attrs) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic void setAttributes(CKAttribute[] attrs) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic void addAttribute(CKAttribute attr) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionprotected void acquireNativeResources()
throws java.lang.Exception
NativeEnclosureacquireNativeResources in class NativeEnclosurejava.lang.Exceptionprotected void releaseNativeResources()
throws java.lang.Exception
NativeEnclosurereleaseNativeResources in class NativeEnclosurejava.lang.Exceptionpublic javax.crypto.SecretKey getKey(javax.crypto.SecretKey parent,
long mech,
boolean temporary)
throws java.lang.Exception
java.lang.Exceptionprotected void acquireNativeResourcesInternal()
throws java.lang.Exception
java.lang.Exceptionprotected void releaseNativeResourcesInternal()
throws java.lang.Exception
java.lang.Exception