Class X9Curve

    • Constructor Detail

      • X9Curve

        public X9Curve​(ECCurve curve)
      • X9Curve

        public X9Curve​(ECCurve curve,
                       byte[] seed)
      • X9Curve

        public X9Curve​(X9FieldID fieldID,
                       java.math.BigInteger order,
                       java.math.BigInteger cofactor,
                       ASN1Sequence seq)
    • Method Detail

      • getCurve

        public ECCurve getCurve()
      • getSeed

        public byte[] getSeed()
      • toASN1Primitive

        public ASN1Primitive toASN1Primitive()
        Produce an object suitable for an ASN1OutputStream.
          Curve ::= SEQUENCE {
              a               FieldElement,
              b               FieldElement,
              seed            BIT STRING      OPTIONAL
          }
         
        Specified by:
        toASN1Primitive in interface ASN1Encodable
        Specified by:
        toASN1Primitive in class ASN1Object
        Returns:
        a primitive representation of this object.