Class X9Curve

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.x9.X9Curve
All Implemented Interfaces:
ASN1Encodable, X9ObjectIdentifiers, Encodable

public class X9Curve extends ASN1Object implements X9ObjectIdentifiers
ASN.1 def for Elliptic-Curve Curve structure. See X9.62, for further details.
  • Constructor Details

  • Method Details

    • 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.