Class X9Curve

java.lang.Object
org.gudy.bouncycastle.asn1.x9.X9Curve
All Implemented Interfaces:
DEREncodable, X9ObjectIdentifiers

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

    • curve

      private ECCurve curve
    • seed

      private byte[] seed
  • Constructor Details

  • Method Details

    • getCurve

      public ECCurve getCurve()
    • getSeed

      public byte[] getSeed()
    • getDERObject

      public DERObject getDERObject()
      Produce an object suitable for an ASN1OutputStream.
        Curve ::= SEQUENCE {
            a               FieldElement,
            b               FieldElement,
            seed            BIT STRING      OPTIONAL
        }
       
      Specified by:
      getDERObject in interface DEREncodable