Class GSKKFDGenerator
java.lang.Object
org.bouncycastle.crypto.agreement.kdf.GSKKFDGenerator
- All Implemented Interfaces:
DerivationFunction
,DigestDerivationFunction
BSI Key Derivation Function for Session Keys (see BSI-TR-03111 Section 4.3.3)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
generateBytes
(byte[] out, int outOff, int len) return the message digest used as the basis for the functionvoid
init
(DerivationParameters param)
-
Constructor Details
-
GSKKFDGenerator
-
-
Method Details
-
getDigest
Description copied from interface:DigestDerivationFunction
return the message digest used as the basis for the function- Specified by:
getDigest
in interfaceDigestDerivationFunction
-
init
- Specified by:
init
in interfaceDerivationFunction
-
generateBytes
public int generateBytes(byte[] out, int outOff, int len) throws DataLengthException, IllegalArgumentException - Specified by:
generateBytes
in interfaceDerivationFunction
- Throws:
DataLengthException
IllegalArgumentException
-