public class EdDSAParameterSpec extends Object implements AlgorithmParameterSpec, Serializable
| Constructor and Description |
|---|
EdDSAParameterSpec(Curve curve,
String hashAlgo,
ScalarOps sc,
GroupElement B)Create a new EdDSA parameter specification. |
| Modifier and Type | Method and Description |
|---|---|
boolean | equals(Object o)Compares this parameter specification to another object for equality. |
GroupElement | getB()Return the base (generator) point. |
Curve | getCurve()Returns the curve used by this parameter specification. |
String | getHashAlgorithm()Returns the JCA hash algorithm name. |
ScalarOps | getScalarOps()Returns the scalar operations implementation. |
int | hashCode()Returns a hash code for this parameter specification. |
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 boolean equals(Object o)
public GroupElement getB()
public Curve getCurve()
public String getHashAlgorithm()
public ScalarOps getScalarOps()