Top Fields Constructors Methods
org.bouncycastle.crypto.agreement

public Class ECMQVBasicAgreement

extends Object
implements BasicAgreement
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.BasicAgreement
Imports
java.math.BigInteger, org.bouncycastle.crypto.BasicAgreement, .CipherParameters, .CryptoServicesRegistrar, org.bouncycastle.crypto.params.ECDomainParameters, .ECPrivateKeyParameters, .ECPublicKeyParameters, .MQVPrivateParameters, .MQVPublicParameters, org.bouncycastle.math.ec.ECAlgorithms, .ECConstants, .ECCurve, .ECPoint, org.bouncycastle.util.Properties

Field Summary

Modifier and TypeField and Description
pack-priv MQVPrivateParameters

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public BigInteger
calculateAgreement(CipherParameters pubKey)

Implements org.bouncycastle.crypto.BasicAgreement.calculateAgreement.

given a public key from a given party calculate the next message in the agreement sequence.

private ECPoint
public int
getFieldSize()

Implements org.bouncycastle.crypto.BasicAgreement.getFieldSize.

return the field size for the agreement algorithm in bytes.

public void
init(CipherParameters key)

Implements org.bouncycastle.crypto.BasicAgreement.init.

initialise the agreement engine.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

privParamsback to summary
pack-priv MQVPrivateParameters privParams

Constructor Detail

ECMQVBasicAgreementback to summary
public ECMQVBasicAgreement()

Method Detail

calculateAgreementback to summary
public BigInteger calculateAgreement(CipherParameters pubKey)

Implements org.bouncycastle.crypto.BasicAgreement.calculateAgreement.

Doc from org.bouncycastle.crypto.BasicAgreement.calculateAgreement.

given a public key from a given party calculate the next message in the agreement sequence.

calculateMqvAgreementback to summary
private ECPoint calculateMqvAgreement(ECDomainParameters parameters, ECPrivateKeyParameters d1U, ECPrivateKeyParameters d2U, ECPublicKeyParameters Q2U, ECPublicKeyParameters Q1V, ECPublicKeyParameters Q2V)
getFieldSizeback to summary
public int getFieldSize()

Implements org.bouncycastle.crypto.BasicAgreement.getFieldSize.

Doc from org.bouncycastle.crypto.BasicAgreement.getFieldSize.

return the field size for the agreement algorithm in bytes.

initback to summary
public void init(CipherParameters key)

Implements org.bouncycastle.crypto.BasicAgreement.init.

Doc from org.bouncycastle.crypto.BasicAgreement.init.

initialise the agreement engine.