Top Fields Constructors Methods
org.bouncycastle.crypto.agreement

public Class MQVBasicAgreement

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.DHMQVPrivateParameters, .DHMQVPublicParameters, .DHParameters, .DHPrivateKeyParameters, .DHPublicKeyParameters

Field Summary

Modifier and TypeField and Description
private static final BigInteger
pack-priv DHMQVPrivateParameters

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 BigInteger
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

ONEback to summary
private static final BigInteger ONE
privParamsback to summary
pack-priv DHMQVPrivateParameters privParams

Constructor Detail

MQVBasicAgreementback to summary
public MQVBasicAgreement()

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.

calculateDHMQVAgreementback to summary
private BigInteger calculateDHMQVAgreement(DHParameters parameters, DHPrivateKeyParameters xA, DHPublicKeyParameters yB, DHPrivateKeyParameters rA, DHPublicKeyParameters tA, DHPublicKeyParameters tB)
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.