Class KeyAgreementSpi

java.lang.Object
javax.crypto.KeyAgreementSpi
org.bouncycastle.jcajce.provider.asymmetric.dh.KeyAgreementSpi

public class KeyAgreementSpi
extends KeyAgreementSpi
Diffie-Hellman key agreement. There's actually a better way of doing this if you are using long term public keys, see the light-weight version for details.