Class EdDSAParameterSpec
java.lang.Object
org.mariadb.jdbc.plugin.authentication.standard.ed25519.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 GroupElementprivate final Curveprivate final Stringprivate final ScalarOpsprivate 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
-
getCurve
-
getHashAlgorithm
-
getScalarOps
-
getB
- Returns:
- the base (generator)
-
hashCode
-
equals
-