java.lang.Object | |
↳ | java.security.spec.ECFieldFp |
The parameters specifying a prime finite field of an elliptic curve.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new prime finite field of an elliptic curve with the specified
prime
p . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns whether the specified object is equal to this finite field.
| |||||||||||
Returns the size of the finite field (in bits).
| |||||||||||
Returns the prime value
p for this finite field. | |||||||||||
Returns the hashcode value for this finite field.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Creates a new prime finite field of an elliptic curve with the specified
prime p
.
p | the prime value p . |
---|
Public Methods
public
boolean
equals
(Object obj)
Since: API Level 1
Returns whether the specified object is equal to this finite field.
Parameters
obj
| the object to compare to this finite field. |
---|
Returns
true
if the specified object is equal to this finite field,
otherwise false
.
public
int
getFieldSize
()
Since: API Level 1
Returns the size of the finite field (in bits).
Returns
the size of the finite field (in bits).
public
BigInteger
getP
()
Since: API Level 1
Returns the prime value
p
for this finite field.
Returns
the prime value p
for this finite field.
public
int
hashCode
()
Since: API Level 1
Returns the hashcode value for this finite field.
Returns
the hashcode value for this finite field.