Class ECDHCUnifiedAgreement
- java.lang.Object
-
- org.bouncycastle.crypto.agreement.ECDHCUnifiedAgreement
-
public class ECDHCUnifiedAgreement extends java.lang.Object
EC Unified static/ephemeral agreement as described in NIST SP 800-56A using EC co-factor Diffie-Hellman.
-
-
Constructor Summary
Constructors Constructor Description ECDHCUnifiedAgreement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
calculateAgreement(CipherParameters pubKey)
int
getFieldSize()
void
init(CipherParameters key)
-
-
-
Method Detail
-
init
public void init(CipherParameters key)
-
getFieldSize
public int getFieldSize()
-
calculateAgreement
public byte[] calculateAgreement(CipherParameters pubKey)
-
-