java.lang.Object
net.i2p.crypto.eddsa.spec.EdDSAParameterSpec
net.i2p.crypto.eddsa.spec.EdDSANamedCurveSpec
All Implemented Interfaces:
Serializable, AlgorithmParameterSpec

public class EdDSANamedCurveSpecextends EdDSAParameterSpec
EdDSA Curve specification that can also be referred to by name.
See Also:
  • Field Details

    • name

      private final String name
      The curve name.
  • Constructor Details

    • EdDSANamedCurveSpec

      public EdDSANamedCurveSpec(String name, Curve curve, String hashAlgo, ScalarOps sc, GroupElement b)
      Create a named curve specification.
      Parameters:
      name - the curve name
      curve - the twisted Edwards curve, supplying the finite field and parameter d
      hashAlgo - the hash algorithm
      sc - the scalar ops
      b - the base point
  • Method Details

    • getName

      public String getName()
      Return the curve name.
      Returns:
      the curve name