public class

X9Curve

extends ASN1Encodable
implements X9ObjectIdentifiers
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.x9.X9Curve

Class Overview

ASN.1 def for Elliptic-Curve Curve structure. See X9.62, for further details.

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
[Expand]
Inherited Fields
From interface org.bouncycastle.asn1.x9.X9ObjectIdentifiers
Public Constructors
X9Curve(ECCurve curve)
X9Curve(ECCurve curve, byte[] seed)
X9Curve(X9FieldID fieldID, ASN1Sequence seq)
Public Methods
ECCurve getCurve()
byte[] getSeed()
DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Public Constructors

public X9Curve (ECCurve curve)

public X9Curve (ECCurve curve, byte[] seed)

public X9Curve (X9FieldID fieldID, ASN1Sequence seq)

Public Methods

public ECCurve getCurve ()

public byte[] getSeed ()

public DERObject toASN1Object ()

Produce an object suitable for an ASN1OutputStream.

  Curve ::= SEQUENCE {
      a               FieldElement,
      b               FieldElement,
      seed            BIT STRING      OPTIONAL
  }