Class HKDFKeyParameters
java.lang.Object
org.bouncycastle.crypto.internal.params.HKDFKeyParameters
Parameter class for the HKDFKeyGenerator class.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HKDFKeyParameters
public HKDFKeyParameters(byte[] ikm, boolean skip, byte[] salt)
-
-
Method Details
-
getIKM
public byte[] getIKM()Returns the input keying material or seed.- Returns:
- the keying material
-
skipExtract
public boolean skipExtract()Returns if step 1: extract has to be skipped or not- Returns:
- true for skipping, false for no skipping of step 1
-
getSalt
public byte[] getSalt()Returns the salt, or null if the salt should be generated as a byte array of HashLen zeros.- Returns:
- the salt, or null
-