Class ECDHCStagedAgreement
java.lang.Object
org.bouncycastle.crypto.agreement.ECDHCStagedAgreement
- All Implemented Interfaces:
BasicAgreement,StagedAgreement
-
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.calculateStage(CipherParameters pubKey) intreturn the field size for the agreement algorithm in bytes.voidinit(CipherParameters key) initialise the agreement engine.
-
Constructor Details
-
ECDHCStagedAgreement
public ECDHCStagedAgreement()
-
-
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
-
calculateStage
- Specified by:
calculateStagein interfaceStagedAgreement
-
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
-