net.i2p.crypto.eddsa.spec
Class EdDSAParameterSpec

java.lang.Object
  extended by net.i2p.crypto.eddsa.spec.EdDSAParameterSpec
All Implemented Interfaces:
Serializable, AlgorithmParameterSpec
Direct Known Subclasses:
EdDSANamedCurveSpec

public class EdDSAParameterSpec
extends Object
implements AlgorithmParameterSpec, Serializable

Parameter specification for an EdDSA algorithm.

Since:
0.9.15
Author:
str4d
See Also:
Serialized Form

Constructor Summary
EdDSAParameterSpec(Curve curve, String hashAlgo, ScalarOps sc, GroupElement B)
           
 
Method Summary
 GroupElement getB()
           
 Curve getCurve()
           
 String getHashAlgorithm()
           
 ScalarOps getScalarOps()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EdDSAParameterSpec

public EdDSAParameterSpec(Curve curve,
                          String hashAlgo,
                          ScalarOps sc,
                          GroupElement B)
Throws:
IllegalArgumentException - if hash algorithm is unsupported or length is wrong
Method Detail

getCurve

public Curve getCurve()

getHashAlgorithm

public String getHashAlgorithm()

getScalarOps

public ScalarOps getScalarOps()

getB

public GroupElement getB()