java.lang.Object
net.i2p.crypto.eddsa.spec.EdDSAParameterSpec
net.i2p.crypto.eddsa.spec.EdDSANamedCurveSpec
- All Implemented Interfaces:
Serializable, AlgorithmParameterSpec
EdDSA Curve specification that can also be referred to by name.
- See Also:
Field Summary
Constructor Summary
ConstructorsConstructorDescriptionEdDSANamedCurveSpec(String name, Curve curve, String hashAlgo, ScalarOps sc, GroupElement b) Create a named curve specification.Method Summary
Methods inherited from class EdDSAParameterSpec
equals, getB, getCurve, getHashAlgorithm, getScalarOps, hashCodeModifier and TypeMethodDescriptionbooleanCompares this parameter specification to another object for equality.getB()Return the base (generator) point.getCurve()Returns the curve used by this parameter specification.Returns the JCA hash algorithm name.Returns the scalar operations implementation.inthashCode()Returns a hash code for this parameter specification.
Field Details
name
The curve name.
Constructor Details
EdDSANamedCurveSpec
Create a named curve specification.- Parameters:
name- the curve namecurve- the twisted Edwards curve, supplying the finite field and parameter dhashAlgo- the hash algorithmsc- the scalar opsb- the base point
Method Details
getName