org.gudy.bouncycastle.asn1.x9
Class X9FieldID

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

public class X9FieldID
extends java.lang.Object
implements DEREncodable, X9ObjectIdentifiers

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


Field Summary
 
Fields inherited from interface org.gudy.bouncycastle.asn1.x9.X9ObjectIdentifiers
ansi_X9_62, characteristic_two_field, dhpublicnumber, ecdsa_with_SHA1, ellipticCurve, gnBasis, id_dsa, id_dsa_with_sha1, id_ecPublicKey, id_ecSigType, id_fieldType, id_publicKeyType, ppBasis, prime_field, prime192v1, prime192v2, prime192v3, prime239v1, prime239v2, prime239v3, prime256v1, primeCurve, tpBasis
 
Constructor Summary
X9FieldID(ASN1Sequence seq)
           
X9FieldID(DERObjectIdentifier id, java.math.BigInteger primeP)
           
 
Method Summary
 DERObject getDERObject()
          Produce a DER encoding of the following structure.
 DERObjectIdentifier getIdentifier()
           
 DERObject getParameters()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X9FieldID

public X9FieldID(DERObjectIdentifier id,
                 java.math.BigInteger primeP)

X9FieldID

public X9FieldID(ASN1Sequence seq)
Method Detail

getIdentifier

public DERObjectIdentifier getIdentifier()

getParameters

public DERObject getParameters()

getDERObject

public DERObject getDERObject()
Produce a DER encoding of the following structure.
  FieldID ::= SEQUENCE {
      fieldType       FIELD-ID.&id({IOSet}),
      parameters      FIELD-ID.&Type({IOSet}{@fieldType})
  }
 

Specified by:
getDERObject in interface DEREncodable