Class DHBasicAgreement

java.lang.Object
org.bouncycastle.crypto.agreement.DHBasicAgreement
All Implemented Interfaces:
BasicAgreement

public class DHBasicAgreement extends Object implements BasicAgreement
a Diffie-Hellman key agreement class.

note: This is only the basic algorithm, it doesn't take advantage of long term public keys if they are available. See the DHAgreement class for a "better" implementation.