Class ECDHKEKGenerator
java.lang.Object
org.bouncycastle.crypto.agreement.kdf.ECDHKEKGenerator
- All Implemented Interfaces:
DerivationFunction,DigestDerivationFunction
X9.63 based key derivation function for ECDH CMS.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgenerateBytes(byte[] out, int outOff, int len) return the message digest used as the basis for the functionvoidinit(DerivationParameters param)
-
Constructor Details
-
ECDHKEKGenerator
-
-
Method Details
-
init
- Specified by:
initin interfaceDerivationFunction
-
getDigest
Description copied from interface:DigestDerivationFunctionreturn the message digest used as the basis for the function- Specified by:
getDigestin interfaceDigestDerivationFunction
-
generateBytes
public int generateBytes(byte[] out, int outOff, int len) throws DataLengthException, IllegalArgumentException - Specified by:
generateBytesin interfaceDerivationFunction- Throws:
DataLengthExceptionIllegalArgumentException
-