Class EdDSAParameterSpec

    • Constructor Detail

      • EdDSAParameterSpec

        public EdDSAParameterSpec​(Curve curve,
                                  String hashAlgo,
                                  ScalarOps sc,
                                  GroupElement B)
        Parameters:
        curve - the curve
        hashAlgo - the JCA string for the hash algorithm
        sc - the parameter L represented as ScalarOps
        B - the parameter 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()
        Returns:
        the base (generator)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
        Since:
        0.9.25
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class Object
        Since:
        0.9.25