Package net.i2p.crypto.eddsa.spec
Class EdDSAParameterSpec
java.lang.Object
net.i2p.crypto.eddsa.spec.EdDSAParameterSpec
- All Implemented Interfaces:
Serializable
,AlgorithmParameterSpec
- Direct Known Subclasses:
EdDSANamedCurveSpec
Parameter specification for an EdDSA algorithm.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final GroupElement
private final Curve
private final String
private final ScalarOps
private static final long
-
Constructor Summary
ConstructorsConstructorDescriptionEdDSAParameterSpec
(Curve curve, String hashAlgo, ScalarOps sc, GroupElement B) -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
curve
-
hashAlgo
-
sc
-
B
-
-
Constructor Details
-
EdDSAParameterSpec
- Parameters:
curve
- the curvehashAlgo
- the JCA string for the hash algorithmsc
- the parameter L represented as ScalarOpsB
- the parameter B- Throws:
IllegalArgumentException
- if hash algorithm is unsupported or length is wrong
-
-
Method Details