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, stripLeadingZeroes
public ECDH(ECParameterSpec paramSpec) throws Exception
Exception
public byte[] getE() throws Exception
getE
in class AbstractDH
Exception
protected byte[] calculateK() throws Exception
calculateK
in class AbstractDH
Exception
public void setCurveParameters(ECParameterSpec paramSpec)
public void setF(byte[] f)
setF
in class AbstractDH
public Digest getHash() throws Exception
getHash
in class AbstractDH
Exception
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.