ECField
Modifier and Type | Field and Description |
---|---|
private final BigInteger |
Access | Constructor and Description |
---|---|
public | ECFieldFp(BigInteger
the prime. p)Creates an elliptic curve prime finite field
with the specified prime |
Modifier and Type | Method and Description |
---|---|
public boolean | Returns: true ifobj is an instance
of ECFieldFp and the prime value match, false otherwise.the object to be compared. obj)Overrides java. Compares this prime finite field for equality with the specified object. |
public int | Returns: the field size in bits.Implements java. Returns the field size in bits which is size of prime p for this prime finite field. |
public BigInteger | |
public int | Returns: a hash code value for this prime finite fieldOverrides java. Returns a hash code value for this prime finite field. |
p | back to summary |
---|---|
private final BigInteger p |
ECFieldFp | back to summary |
---|---|
public ECFieldFp(BigInteger p) Creates an elliptic curve prime finite field
with the specified prime
|
equals | back to summary |
---|---|
public boolean equals(Object obj) Overrides java. Compares this prime finite field for equality with the specified object. |
getFieldSize | back to summary |
---|---|
public int getFieldSize() Implements java. Returns the field size in bits which is size of prime p for this prime finite field.
|
getP | back to summary |
---|---|
public BigInteger getP() Returns the prime
|
hashCode | back to summary |
---|---|
public int hashCode() Overrides java. Returns a hash code value for this prime finite field.
|