Class MQVBasicAgreement
- java.lang.Object
-
- org.bouncycastle.crypto.agreement.MQVBasicAgreement
-
- All Implemented Interfaces:
BasicAgreement
public class MQVBasicAgreement extends java.lang.Object implements BasicAgreement
-
-
Constructor Summary
Constructors Constructor Description MQVBasicAgreement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigInteger
calculateAgreement(CipherParameters pubKey)
given a public key from a given party calculate the next message in the agreement sequence.int
getFieldSize()
return the field size for the agreement algorithm in bytes.void
init(CipherParameters key)
initialise the agreement engine.
-
-
-
Method Detail
-
init
public void init(CipherParameters key)
Description copied from interface:BasicAgreement
initialise the agreement engine.- Specified by:
init
in interfaceBasicAgreement
-
getFieldSize
public int getFieldSize()
Description copied from interface:BasicAgreement
return the field size for the agreement algorithm in bytes.- Specified by:
getFieldSize
in interfaceBasicAgreement
-
calculateAgreement
public java.math.BigInteger calculateAgreement(CipherParameters pubKey)
Description copied from interface:BasicAgreement
given a public key from a given party calculate the next message in the agreement sequence.- Specified by:
calculateAgreement
in interfaceBasicAgreement
-
-