Top Description Fields Constructors Methods
org.bouncycastle.crypto.agreement.kdf

public Class DHKEKGenerator

extends Object
implements DerivationFunction
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.DerivationFunction
Imports
java.io.IOException, org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Encoding, .ASN1ObjectIdentifier, .DEROctetString, .DERSequence, .DERTaggedObject, org.bouncycastle.crypto.DataLengthException, .DerivationFunction, .DerivationParameters, .Digest, .OutputLengthException, org.bouncycastle.util.Pack

RFC 2631 Diffie-hellman KEK derivation function.

Field Summary

Modifier and TypeField and Description
private ASN1ObjectIdentifier
private final Digest
private int
private byte[]
private byte[]
z

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
generateBytes(byte[] out, int outOff, int len)

Implements org.bouncycastle.crypto.DerivationFunction.generateBytes.

public Digest
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

algorithmback to summary
private ASN1ObjectIdentifier algorithm
digestback to summary
private final Digest digest
keySizeback to summary
private int keySize
partyAInfoback to summary
private byte[] partyAInfo
zback to summary
private byte[] z

Constructor Detail

DHKEKGeneratorback to summary
public DHKEKGenerator(Digest digest)

Method Detail

generateBytesback to summary
public int generateBytes(byte[] out, int outOff, int len) throws DataLengthException, IllegalArgumentException

Implements org.bouncycastle.crypto.DerivationFunction.generateBytes.

getDigestback to summary
public Digest getDigest()
initback to summary
public void init(DerivationParameters param)

Implements org.bouncycastle.crypto.DerivationFunction.init.