public class ECDHBasicAgreement extends Object implements BasicAgreement
| Constructor and Description |
|---|
ECDHBasicAgreement() |
| 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.
|
void |
init(CipherParameters key)
initialise the agreement engine.
|
public void init(CipherParameters key)
BasicAgreementinit in interface BasicAgreementpublic BigInteger calculateAgreement(CipherParameters pubKey)
BasicAgreementcalculateAgreement in interface BasicAgreementCopyright © 2015. All rights reserved.