|
Bouncy Castle Cryptography 1.11 API Specification: Interface BasicAgreement
org.bouncycastle.crypto
Interface BasicAgreement
- All Known Implementing Classes:
- DHBasicAgreement, ECDHCBasicAgreement, ECDHBasicAgreement
- public interface BasicAgreement
The basic interface that basic Diffie-Hellman implementations
conforms to.
init
public void init(CipherParameters param)
- initialise the agreement engine.
calculateAgreement
public java.math.BigInteger calculateAgreement(CipherParameters pubKey)
- given a public key from a given party calculate the next
message in the agreement sequence.
|