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.
- Since:
- 0.9.15
- Author:
- str4d
- See Also:
-
Constructor Summary
ConstructorDescriptionEdDSAParameterSpec
(Curve curve, String hashAlgo, ScalarOps sc, GroupElement B) -
Method Summary
-
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