public class KBKDFByteArrayParam extends KBKDFDataParameter
typemPointer, mPointerSize| Constructor and Description |
|---|
KBKDFByteArrayParam() |
KBKDFByteArrayParam(byte[] data) |
| 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.
|
void |
setByteArray(byte[] data) |
void |
zeroByteArray()
Zero out the copied contents of the byte array.
|
close, finalize, openpublic KBKDFByteArrayParam()
public KBKDFByteArrayParam(byte[] data)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic void setByteArray(byte[] data)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic void zeroByteArray()
protected void acquireNativeResources()
throws java.lang.Exception
NativeEnclosureacquireNativeResources in class NativeEnclosurejava.lang.Exceptionprotected void releaseNativeResources()
throws java.lang.Exception
NativeEnclosurereleaseNativeResources in class NativeEnclosurejava.lang.Exception