| 构造器 | 说明 |
|---|---|
ECFieldFp(BigInteger p) |
Creates an elliptic curve prime finite field
with the specified prime
p. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
boolean |
equals(Object obj) |
Compares this prime finite field for equality with the
specified object.
|
int |
getFieldSize() |
Returns the field size in bits which is size of prime p
for this prime finite field.
|
BigInteger |
getP() |
Returns the prime
p of this prime finite field. |
int |
hashCode() |
Returns a hash code value for this prime finite field.
|
public ECFieldFp(BigInteger p)
p.p - the prime.NullPointerException - if p is null.IllegalArgumentException - if p
is not positive.public int getFieldSize()
getFieldSize 在接口中 ECFieldpublic BigInteger getP()
p of this prime finite field.public boolean equals(Object obj)
equals 在类中 Objectobj - the object to be compared.obj is an instance
of ECFieldFp and the prime value match, false otherwise.Object.hashCode(),
HashMappublic int hashCode()
hashCode 在类中 ObjectObject.equals(java.lang.Object),
System.identityHashCode(java.lang.Object)