public class ECDH
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected javax.crypto.KeyAgreement |
agreement |
protected java.security.KeyPairGenerator |
generator |
| Constructor and Description |
|---|
ECDH() |
protected final java.security.KeyPairGenerator generator
protected final javax.crypto.KeyAgreement agreement
protected void init(java.security.spec.AlgorithmParameterSpec params)
throws java.security.GeneralSecurityException
java.security.GeneralSecurityExceptionpublic void computeK(byte[] f)
throws java.security.GeneralSecurityException
java.security.GeneralSecurityExceptionpublic byte[] getE()
public java.math.BigInteger getK()