Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.crypto.agreement
Class DHUnifiedAgreement

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

public class DHUnifiedAgreement
extends java.lang.Object

FFC Unified static/ephemeral agreement as described in NIST SP 800-56A.


Constructor Summary
DHUnifiedAgreement()
           
 
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

DHUnifiedAgreement

public DHUnifiedAgreement()
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