|
Bouncy Castle Cryptography Library 1.87 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.crypto.params.KDFParameters
Parameters for the key derivation functions that derive keying material from a shared secret and an optional block of additional input: KDF1 and KDF2 of IEEE P1363a / ISO 18033-2 (KDF2 being the ANSI X9.63 KDF, where the additional input is the SharedInfo), and the NIST SP 800-56A concatenation KDF (where it is the OtherInfo).
For historical reasons the additional input is referred to as the "IV".
| Constructor Summary | |
KDFParameters(byte[] shared,
byte[] iv)
Base constructor. |
|
| Method Summary | |
byte[] |
getIV()
Return the additional input to the key derivation function. |
byte[] |
getSharedSecret()
Return the shared secret the keying material is derived from. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
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.| Method Detail |
public byte[] getSharedSecret()
public byte[] getIV()
|
Bouncy Castle Cryptography Library 1.87 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||