public class KBKDFDKMLengthParam extends KBKDFDataParameter
Modifier and Type | Field and Description |
---|---|
protected long |
lengthMethod |
protected boolean |
littleEndian |
protected long |
widthInBits |
type
mPointer, mPointerSize
Constructor and Description |
---|
KBKDFDKMLengthParam() |
KBKDFDKMLengthParam(long lengthMethod,
boolean littleEndian,
long widthInBits) |
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 |
setLengthSpec(long lengthMethod,
boolean littleEndian,
long widthInBits) |
close, finalize, open
protected long lengthMethod
protected boolean littleEndian
protected long widthInBits
public KBKDFDKMLengthParam()
public KBKDFDKMLengthParam(long lengthMethod, boolean littleEndian, long widthInBits) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public void setLengthSpec(long lengthMethod, boolean littleEndian, long widthInBits) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
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