public class EdDSAParameterSpec
extends java.lang.Object
implements java.security.spec.AlgorithmParameterSpec, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private GroupElement |
B |
private Curve |
curve |
private java.lang.String |
hashAlgo |
private ScalarOps |
sc |
private static long |
serialVersionUID |
Constructor and Description |
---|
EdDSAParameterSpec(Curve curve,
java.lang.String hashAlgo,
ScalarOps sc,
GroupElement B) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
GroupElement |
getB() |
Curve |
getCurve() |
java.lang.String |
getHashAlgorithm() |
ScalarOps |
getScalarOps() |
int |
hashCode() |
private static final long serialVersionUID
private final Curve curve
private final java.lang.String hashAlgo
private final ScalarOps sc
private final GroupElement B
public EdDSAParameterSpec(Curve curve, java.lang.String hashAlgo, ScalarOps sc, GroupElement B)
curve
- the curvehashAlgo
- the JCA string for the hash algorithmsc
- the parameter L represented as ScalarOpsB
- the parameter Bjava.lang.IllegalArgumentException
- if hash algorithm is unsupported or length is wrongpublic Curve getCurve()
public java.lang.String getHashAlgorithm()
public ScalarOps getScalarOps()
public GroupElement getB()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object