public class

X9FieldID

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

Class Overview

ASN.1 def for Elliptic-Curve Field ID 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
X9FieldID(BigInteger primeP)
Constructor for elliptic curves over prime fields F2.
X9FieldID(int m, int k1, int k2, int k3)
Constructor for elliptic curves over binary fields F2m.
X9FieldID(ASN1Sequence seq)
Public Methods
DERObjectIdentifier getIdentifier()
DERObject getParameters()
DERObject toASN1Object()
Produce a DER encoding of the following structure.
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Public Constructors

public X9FieldID (BigInteger primeP)

Constructor for elliptic curves over prime fields F2.

Parameters
primeP The prime p defining the prime field.

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

public X9FieldID (ASN1Sequence seq)

Public Methods

public DERObjectIdentifier getIdentifier ()

public DERObject getParameters ()

public DERObject toASN1Object ()

Produce a DER encoding of the following structure.

  FieldID ::= SEQUENCE {
      fieldType       FIELD-ID.&id({IOSet}),
      parameters      FIELD-ID.&Type({IOSet}{@fieldType})
  }