Class MQVBasicAgreement
java.lang.Object
org.bouncycastle.crypto.agreement.MQVBasicAgreement
- All Implemented Interfaces:
BasicAgreement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalculateAgreement(CipherParameters pubKey) given a public key from a given party calculate the next message in the agreement sequence.intreturn the field size for the agreement algorithm in bytes.voidinit(CipherParameters key) initialise the agreement engine.
-
Constructor Details
-
MQVBasicAgreement
public MQVBasicAgreement()
-
-
Method Details
-
init
Description copied from interface:BasicAgreementinitialise the agreement engine.- Specified by:
initin interfaceBasicAgreement
-
getFieldSize
public int getFieldSize()Description copied from interface:BasicAgreementreturn the field size for the agreement algorithm in bytes.- Specified by:
getFieldSizein interfaceBasicAgreement
-
calculateAgreement
Description copied from interface:BasicAgreementgiven a public key from a given party calculate the next message in the agreement sequence.- Specified by:
calculateAgreementin interfaceBasicAgreement
-