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
Constructors Constructor Description X25519Agreement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
calculateAgreement(CipherParameters publicKey, byte[] buf, int off)
int
getAgreementSize()
void
init(CipherParameters parameters)
-
-
-
Method Detail
-
init
public void init(CipherParameters parameters)
- Specified by:
init
in interfaceRawAgreement
-
getAgreementSize
public int getAgreementSize()
- Specified by:
getAgreementSize
in interfaceRawAgreement
-
calculateAgreement
public void calculateAgreement(CipherParameters publicKey, byte[] buf, int off)
- Specified by:
calculateAgreement
in interfaceRawAgreement
-
-