|
IAIK ECC version 2.18 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Extension to the field interface containing prime field specific constants.
Field Summary | |
static int |
PRIME_FIELD_ID
Id of a prime field. |
static java.lang.String |
PRIME_FIELD_OID
Objcet Identifier for a prime field for ASN.1 encoding. |
Method Summary | |
java.math.BigInteger |
getModulus()
The modulus of the prime field. |
void |
half(FieldElement a)
Calculates the half of a prime field value. |
FieldElement |
newElement(java.math.BigInteger v)
Creates a new element over this field. |
Methods inherited from interface iaik.security.ecc.math.field.Field |
add, getFieldFactory, getFieldId, getONEelement, getSize, getZEROelement, invert, multiply, negate, newElement, square, toASN1Object |
Field Detail |
public static final int PRIME_FIELD_ID
Field.getFieldId()
,
Constant Field Valuespublic static final java.lang.String PRIME_FIELD_OID
Method Detail |
public void half(FieldElement a)
a
- the field element to be inverted.public FieldElement newElement(java.math.BigInteger v)
v
- the value of the element to be created
public java.math.BigInteger getModulus()
|
IAIK ECC version 2.18 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |