public class

X9ECParameters

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

Class Overview

ASN.1 def for Elliptic-Curve ECParameters 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
X9ECParameters(ASN1Sequence seq)
X9ECParameters(ECCurve curve, ECPoint g, BigInteger n)
X9ECParameters(ECCurve curve, ECPoint g, BigInteger n, BigInteger h)
X9ECParameters(ECCurve curve, ECPoint g, BigInteger n, BigInteger h, byte[] seed)
Public Methods
ECCurve getCurve()
ECPoint getG()
BigInteger getH()
BigInteger getN()
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 X9ECParameters (ASN1Sequence seq)

public X9ECParameters (ECCurve curve, ECPoint g, BigInteger n)

public X9ECParameters (ECCurve curve, ECPoint g, BigInteger n, BigInteger h)

public X9ECParameters (ECCurve curve, ECPoint g, BigInteger n, BigInteger h, byte[] seed)

Public Methods

public ECCurve getCurve ()

public ECPoint getG ()

public BigInteger getH ()

public BigInteger getN ()

public byte[] getSeed ()

public DERObject toASN1Object ()

Produce an object suitable for an ASN1OutputStream.

  ECParameters ::= SEQUENCE {
      version         INTEGER { ecpVer1(1) } (ecpVer1),
      fieldID         FieldID {{FieldTypes}},
      curve           X9Curve,
      base            X9ECPoint,
      order           INTEGER,
      cofactor        INTEGER OPTIONAL
  }