public class KDFParameters extends java.lang.Object implements DerivationParameters
For historical reasons the additional input is referred to as the "IV".
| Constructor and Description |
|---|
KDFParameters(byte[] shared,
byte[] iv)
Base constructor.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getIV()
Return the additional input to the key derivation function.
|
byte[] |
getSharedSecret()
Return the shared secret the keying material is derived from.
|
public KDFParameters(byte[] shared,
byte[] iv)
shared - the shared secret the keying material is derived from.iv - the additional input to the key derivation function, or null if there is none.java.lang.NullPointerException - if shared is null.public byte[] getSharedSecret()
public byte[] getIV()