com.entrust.toolkit.security.crypto.ec insteadpublic interface Field
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Deprecated.
Compares two fields for equality.
|
int |
getFieldSize()
Deprecated.
Returns the field size in bits.
|
java.lang.String |
getFieldType()
Deprecated.
Returns the field type.
|
java.math.BigInteger |
getNumberOfElements()
Deprecated.
Returns the number of elements in this field.
|
FieldElement |
getOneElement()
Deprecated.
Returns the One Element.
|
FieldElement |
getZeroElement()
Deprecated.
Returns the Zero Element.
|
ASN1Object |
toASN1Object()
Deprecated.
Returns an ASN.1 structure representing this field.
|
java.lang.String |
toString()
Deprecated.
Returns the string representation.
|
FieldElement getZeroElement()
The Zero Element is the identity element with respect to the additive group in this field.
FieldElement getOneElement()
The One Element is the identity element with respect to the multiplicative group in this field.
java.math.BigInteger getNumberOfElements()
java.lang.String getFieldType()
The field type is a string that describes
the field in human readable form.
StringASN1Object toASN1Object()
Although the ASN.1 encoding is not inherent in the field, this method is quite useful when used with elliptic curve cryptography (ECC) operations.
boolean equals(java.lang.Object obj)
Two fields are equal if their field types and their representations are equal.
equals in class java.lang.Objectobj - the reference field with which to comparetrue if this field is equal to obj,
false otherwisejava.lang.String toString()
toString in class java.lang.Objectint getFieldSize()
Note: For prime finite field Fp, size of prime p in bits is returned. For characteristic 2 finite fields F2m, m is returned.