Class ECMQVBasicAgreement
java.lang.Object
org.bouncycastle.crypto.agreement.ECMQVBasicAgreement
- All Implemented Interfaces:
BasicAgreement
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncalculateAgreement
(CipherParameters pubKey) given a public key from a given party calculate the next message in the agreement sequence.int
return the field size for the agreement algorithm in bytes.void
init
(CipherParameters key) initialise the agreement engine.
-
Constructor Details
-
ECMQVBasicAgreement
public ECMQVBasicAgreement()
-
-
Method Details
-
init
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
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
-