|
IAIK ECC version 2.18 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Adds some binary field specific constants and methods to the field interface. This interface assumes polynomial base representation of the finite field elements. At the moment there is no interface for GNB representations.
Field Summary | |
static int |
BINARY_FIELD_ID
Id of a binary field |
static java.lang.String |
BINARY_FIELD_OID
Objcet Identifier for a binary field for ASN.1 encoding. |
static java.lang.String |
CHARACTERISTIC_TWO_gnBASIS
Object Identifiers for the gaussian normal basis |
static java.lang.String |
CHARACTERISTIC_TWO_ppBASIS
Object Identifiers for the pentamonial basis |
static java.lang.String |
CHARACTERISTIC_TWO_tpBASIS
Object Identifiers for the trinomial basis |
Method Summary | |
int[] |
getIrreduciblePolynomial()
In polynomial base representation the field elements are represented modulo a irreducible polynom. |
int |
getOrder()
|
FieldElement |
newElement(int[] 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 BINARY_FIELD_ID
Field.getFieldId()
,
Constant Field Valuespublic static final java.lang.String BINARY_FIELD_OID
public static final java.lang.String CHARACTERISTIC_TWO_gnBASIS
public static final java.lang.String CHARACTERISTIC_TWO_ppBASIS
public static final java.lang.String CHARACTERISTIC_TWO_tpBASIS
Method Detail |
public int[] getIrreduciblePolynomial()
public int getOrder()
public FieldElement newElement(int[] v)
v
- the value of the element to be created
|
IAIK ECC version 2.18 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |