Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.crypto.agreement
Class XDHUnifiedAgreement

java.lang.Object
  |
  +--org.bouncycastle.crypto.agreement.XDHUnifiedAgreement
All Implemented Interfaces:
RawAgreement

public class XDHUnifiedAgreement
extends java.lang.Object
implements RawAgreement


Constructor Summary
XDHUnifiedAgreement(RawAgreement xAgreement)
           
 
Method Summary
 void calculateAgreement(CipherParameters publicKey, byte[] buf, int off)
           
 int getAgreementSize()
           
 void init(CipherParameters key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XDHUnifiedAgreement

public XDHUnifiedAgreement(RawAgreement xAgreement)
Method Detail

init

public void init(CipherParameters key)
Specified by:
init in interface RawAgreement

getAgreementSize

public int getAgreementSize()
Specified by:
getAgreementSize in interface RawAgreement

calculateAgreement

public void calculateAgreement(CipherParameters publicKey,
                               byte[] buf,
                               int off)
Specified by:
calculateAgreement in interface RawAgreement

Bouncy Castle Cryptography Library 1.77.0