public class ECMQVBasicAgreement extends Object implements BasicAgreement
Constructor and Description |
---|
ECMQVBasicAgreement() |
Modifier and Type | Method and Description |
---|---|
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 key)
initialise the agreement engine.
|
public void init(CipherParameters key)
BasicAgreement
init
in interface BasicAgreement
public int getFieldSize()
BasicAgreement
getFieldSize
in interface BasicAgreement
public BigInteger calculateAgreement(CipherParameters pubKey)
BasicAgreement
calculateAgreement
in interface BasicAgreement
Copyright © 2016 BouncyCastle.org. All rights reserved.