public class ECDH extends AbstractDH
k| Constructor and Description |
|---|
ECDH() |
ECDH(ECCurves curve) |
ECDH(ECParameterSpec paramSpec) |
ECDH(String curveName) |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
calculateK() |
byte[] |
getE() |
Digest |
getHash() |
void |
setCurveParameters(ECParameterSpec paramSpec) |
void |
setF(byte[] f) |
getK, stripLeadingZeroespublic ECDH(ECParameterSpec paramSpec) throws Exception
Exceptionpublic byte[] getE()
throws Exception
getE in class AbstractDHExceptionprotected byte[] calculateK()
throws Exception
calculateK in class AbstractDHExceptionpublic void setCurveParameters(ECParameterSpec paramSpec)
public void setF(byte[] f)
setF in class AbstractDHpublic Digest getHash() throws Exception
getHash in class AbstractDHExceptionCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.