com.entrust.toolkit.security.crypto.ec insteadpublic class FieldFactory
extends java.lang.Object
FieldFactory factory class offers a method that retrieves an
instance of the Field interface given an ASN1Object
.| Modifier and Type | Field and Description |
|---|---|
static ObjectID |
CHARACTERISTIC_TWO_FIELD_OID
Deprecated.
OID for a field of characteristic 2 as defined in X9.62.
|
static ObjectID |
GN_BASIS_OID
Deprecated.
OID for polynomial fields with Gauss basis as defined in X9.62.
|
static ObjectID |
PP_BASIS_OID
Deprecated.
OID for polynomial fields with pentanomial basis as defined in X9.62.
|
static ObjectID |
PRIME_FIELD_OID
Deprecated.
OID for a prime field as defined in X9.62.
|
static ObjectID |
TP_BASIS_OID
Deprecated.
OID for polynomial fields with trinomial basis as defined in X9.62.
|
| Constructor and Description |
|---|
FieldFactory()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static Field |
getInstance(ASN1Object object)
Deprecated.
Returns the field specified in the ASN.1 object argument.
|
public static ObjectID PRIME_FIELD_OID
public static ObjectID CHARACTERISTIC_TWO_FIELD_OID
public static ObjectID GN_BASIS_OID
public static ObjectID TP_BASIS_OID
public static ObjectID PP_BASIS_OID
public static Field getInstance(ASN1Object object) throws CodingException
object - the ASN.1 representation of the field
Field.Field interface objectCodingException - if problems occur when parsing object (for
example, if object is illformedjava.lang.IllegalArgumentException - if the field is defined with a Gaussian Normal Basis