Class X9FieldID

    • Constructor Detail

      • X9FieldID

        public X9FieldID​(java.math.BigInteger primeP)
        Constructor for elliptic curves over prime fields F2.
        Parameters:
        primeP - The prime p defining the prime field.
      • X9FieldID

        public X9FieldID​(int m,
                         int k1)
        Constructor for elliptic curves over binary fields F2m.
        Parameters:
        m - The exponent m of F2m.
        k1 - The integer k1 where xm + xk1 + 1 represents the reduction polynomial f(z).
      • X9FieldID

        public X9FieldID​(int m,
                         int k1,
                         int k2,
                         int k3)
        Constructor for elliptic curves over binary fields F2m.
        Parameters:
        m - The exponent m of F2m.
        k1 - The integer k1 where xm + xk3 + xk2 + xk1 + 1 represents the reduction polynomial f(z).
        k2 - The integer k2 where xm + xk3 + xk2 + xk1 + 1 represents the reduction polynomial f(z).
        k3 - The integer k3 where xm + xk3 + xk2 + xk1 + 1 represents the reduction polynomial f(z)..
    • Method Detail

      • getInstance

        public static X9FieldID getInstance​(java.lang.Object obj)
      • toASN1Primitive

        public ASN1Primitive toASN1Primitive()
        Produce a DER encoding of the following structure.
          FieldID ::= SEQUENCE {
              fieldType       FIELD-ID.&id({IOSet}),
              parameters      FIELD-ID.&Type({IOSet}{@fieldType})
          }
         
        Specified by:
        toASN1Primitive in interface ASN1Encodable
        Specified by:
        toASN1Primitive in class ASN1Object
        Returns:
        a primitive representation of this object.