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.
-
-
Constructor Summary
Constructors Constructor Description DHKEKGenerator(Digest digest)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
generateBytes(byte[] out, int outOff, int len)
Digest
getDigest()
void
init(DerivationParameters param)
-
-
-
Constructor Detail
-
DHKEKGenerator
public DHKEKGenerator(Digest digest)
-
-
Method Detail
-
init
public void init(DerivationParameters param)
- Specified by:
init
in interfaceDerivationFunction
-
getDigest
public Digest getDigest()
-
generateBytes
public int generateBytes(byte[] out, int outOff, int len) throws DataLengthException, java.lang.IllegalArgumentException
- Specified by:
generateBytes
in interfaceDerivationFunction
- Throws:
DataLengthException
java.lang.IllegalArgumentException
-
-