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
Constructors Constructor Description XDHUnifiedAgreement(RawAgreement xAgreement)
-
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 key)
-
-
-
Constructor Detail
-
XDHUnifiedAgreement
public XDHUnifiedAgreement(RawAgreement xAgreement)
-
-
Method Detail
-
init
public void init(CipherParameters key)
- 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
-
-