DHBasicAgreement
, ECDHBasicAgreement
, ECDHCBasicAgreement
, ECMQVBasicAgreement
public interface BasicAgreement
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 param) |
initialise the agreement engine.
|
void init(CipherParameters param)
int getFieldSize()
java.math.BigInteger calculateAgreement(CipherParameters pubKey)