Serializable
, AlgorithmParameterSpec
EdDSANamedCurveSpec
public class EdDSAParameterSpec extends Object implements AlgorithmParameterSpec, Serializable
Constructor | Description |
---|---|
EdDSAParameterSpec(Curve curve,
String hashAlgo,
ScalarOps sc,
GroupElement B) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object o) |
|
GroupElement |
getB() |
|
Curve |
getCurve() |
|
String |
getHashAlgorithm() |
|
ScalarOps |
getScalarOps() |
|
int |
hashCode() |
public EdDSAParameterSpec(Curve curve, String hashAlgo, ScalarOps sc, GroupElement B)
curve
- the curvehashAlgo
- the JCA string for the hash algorithmsc
- the parameter L represented as ScalarOpsB
- the parameter BIllegalArgumentException
- if hash algorithm is unsupported or length is wrongpublic Curve getCurve()
public String getHashAlgorithm()
public ScalarOps getScalarOps()
public GroupElement getB()