public class HKDFParameterSpec
extends java.lang.Object
implements java.security.spec.KeySpec, java.security.spec.AlgorithmParameterSpec
| Constructor and Description |
|---|
HKDFParameterSpec(byte[] ikm,
byte[] salt,
byte[] info,
int outputLength) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getIKM()
Returns the input keying material or seed.
|
byte[] |
getInfo()
Returns the info field, which may be empty (null is converted to empty).
|
int |
getOutputLength()
Returns the length (in bytes) of the output resulting from these parameters.
|
byte[] |
getSalt()
Returns the salt, or null if the salt should be generated as a byte array
of HashLen zeros.
|
boolean |
skipExtract()
Returns if step 1: extract has to be skipped or not
|
public HKDFParameterSpec(byte[] ikm,
byte[] salt,
byte[] info,
int outputLength)
public byte[] getIKM()
public boolean skipExtract()
public byte[] getSalt()
public byte[] getInfo()
public int getOutputLength()