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