Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.crypto.agreement
Class X25519Agreement

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

public final class X25519Agreement
extends java.lang.Object
implements RawAgreement


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

Constructor Detail

X25519Agreement

public X25519Agreement()
Method Detail

init

public void init(CipherParameters parameters)
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