Class DHKEKGenerator
java.lang.Object
org.bouncycastle.crypto.agreement.kdf.DHKEKGenerator
- All Implemented Interfaces:
DerivationFunction
RFC 2631 Diffie-hellman KEK derivation function.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
generateBytes
(byte[] out, int outOff, int len) void
init
(DerivationParameters param)
-
Constructor Details
-
DHKEKGenerator
-
-
Method Details
-
init
- Specified by:
init
in interfaceDerivationFunction
-
getDigest
-
generateBytes
public int generateBytes(byte[] out, int outOff, int len) throws DataLengthException, IllegalArgumentException - Specified by:
generateBytes
in interfaceDerivationFunction
- Throws:
DataLengthException
IllegalArgumentException
-