org.bouncycastle.crypto.agreement.kdf
Class DHKEKGenerator
java.lang.Object
|
+--org.bouncycastle.crypto.agreement.kdf.DHKEKGenerator
- All Implemented Interfaces:
- DerivationFunction
- public class DHKEKGenerator
- extends java.lang.Object
- implements DerivationFunction
RFC 2631 Diffie-hellman KEK derivation function.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DHKEKGenerator
public DHKEKGenerator(Digest digest)
init
public void init(DerivationParameters param)
- Specified by:
init
in interface DerivationFunction
getDigest
public Digest getDigest()
generateBytes
public int generateBytes(byte[] out,
int outOff,
int len)
throws DataLengthException,
java.lang.IllegalArgumentException
- Specified by:
generateBytes
in interface DerivationFunction