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