public class KBKDFDKMLengthParam extends KBKDFDataParameter
| Modifier and Type | Field and Description |
|---|---|
protected long |
lengthMethod |
protected boolean |
littleEndian |
protected long |
widthInBits |
typemPointer, 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, openprotected long lengthMethod
protected boolean littleEndian
protected long widthInBits
public KBKDFDKMLengthParam()
public KBKDFDKMLengthParam(long lengthMethod,
boolean littleEndian,
long widthInBits)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic void setLengthSpec(long lengthMethod,
boolean littleEndian,
long widthInBits)
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.Exception