org.bouncycastle.jce.provider
Class JCEECDHKeyAgreement
public
class
JCEECDHKeyAgreement
extends KeyAgreementSpi
Diffie-Hellman key agreement using elliptic curve keys, ala IEEE P1363
both the simple one, and the simple one with cofactors are supported.
protected Key engineDoPhase(Key key, boolean lastPhase)
protected byte[] engineGenerateSecret()
protected int engineGenerateSecret(byte[] sharedSecret, int offset)
protected SecretKey engineGenerateSecret(String algorithm)
protected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random)
protected void engineInit(Key key, SecureRandom random)