Save This Page
Home » crypto-143 » org.bouncycastle.crypto » [javadoc | source]
public interface: BasicAgreement [javadoc | source]

All Known Implementing Classes:
    DHBasicAgreement, ECDHBasicAgreement, ECDHCBasicAgreement

The basic interface that basic Diffie-Hellman implementations conforms to.
Method from org.bouncycastle.crypto.BasicAgreement Summary:
calculateAgreement,   init
Method from org.bouncycastle.crypto.BasicAgreement Detail:
 public BigInteger calculateAgreement(CipherParameters pubKey)
    given a public key from a given party calculate the next message in the agreement sequence.
 public  void init(CipherParameters param)
    initialise the agreement engine.