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