public class EdDSAParameterSpec extends Object implements AlgorithmParameterSpec, Serializable
Constructor and Description |
---|
EdDSAParameterSpec(Curve curve,
String hashAlgo,
ScalarOps sc,
GroupElement B) |
Modifier and Type | Method and 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()
Copyright © 2019. All rights reserved.