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

public Class ECDHKEKGenerator

extends Object
implements DigestDerivationFunction
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.DigestDerivationFunction, org.bouncycastle.crypto.DerivationFunction
Imports
java.io.IOException, org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Encoding, .ASN1ObjectIdentifier, .DERNull, .DEROctetString, .DERSequence, .DERTaggedObject, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.crypto.DataLengthException, .DerivationParameters, .Digest, .DigestDerivationFunction, org.bouncycastle.crypto.generators.KDF2BytesGenerator, org.bouncycastle.crypto.params.KDFParameters, org.bouncycastle.util.Pack

X9.63 based key derivation function for ECDH CMS.

Field Summary

Modifier and TypeField and Description
private ASN1ObjectIdentifier
private DigestDerivationFunction
private int
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
getDigest()

Implements org.bouncycastle.crypto.DigestDerivationFunction.getDigest.

return the message digest used as the basis for the function
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

algorithmback to summary
private ASN1ObjectIdentifier algorithm
kdfback to summary
private DigestDerivationFunction kdf
keySizeback to summary
private int keySize
zback to summary
private byte[] z

Constructor Detail

ECDHKEKGeneratorback to summary
public ECDHKEKGenerator(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()

Implements org.bouncycastle.crypto.DigestDerivationFunction.getDigest.

Doc from org.bouncycastle.crypto.DigestDerivationFunction.getDigest.

return the message digest used as the basis for the function

initback to summary
public void init(DerivationParameters param)

Implements org.bouncycastle.crypto.DerivationFunction.init.