public class KBKDFByteArrayParam extends KBKDFDataParameter
type
mPointer, 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, open
public KBKDFByteArrayParam()
public KBKDFByteArrayParam(byte[] data) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public void setByteArray(byte[] data) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public void zeroByteArray()
protected void acquireNativeResources() throws java.lang.Exception
NativeEnclosure
acquireNativeResources
in class NativeEnclosure
java.lang.Exception
protected void releaseNativeResources() throws java.lang.Exception
NativeEnclosure
releaseNativeResources
in class NativeEnclosure
java.lang.Exception