Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.crypto.agreement
Class ECDHCUnifiedAgreement

java.lang.Object
  |
  +--org.bouncycastle.crypto.agreement.ECDHCUnifiedAgreement

public class ECDHCUnifiedAgreement
extends java.lang.Object

EC Unified static/ephemeral agreement as described in NIST SP 800-56A using EC co-factor Diffie-Hellman.


Constructor Summary
ECDHCUnifiedAgreement()
           
 
Method Summary
 byte[] calculateAgreement(CipherParameters pubKey)
           
 int getFieldSize()
           
 void init(CipherParameters key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ECDHCUnifiedAgreement

public ECDHCUnifiedAgreement()
Method Detail

init

public void init(CipherParameters key)

getFieldSize

public int getFieldSize()

calculateAgreement

public byte[] calculateAgreement(CipherParameters pubKey)

Bouncy Castle Cryptography Library 1.77.0