public class java.security.spec
ECFieldFp


Show All Login
Java SE 6
  
Implements: ECField
Details
This immutable class defines an elliptic curve (EC) prime finite field.
version1.4, 11/17/05
since1.5
See also java.security.spec.ECField

Constructors
public ECFieldFp(BigInteger p) Details
Creates an elliptic curve prime finite field with the specified prime p.
pthe prime.
ThrowsNullPointerException: if p is null.
ThrowsIllegalArgumentException: if p is not positive.

Methods
public boolean equals(Object obj) Details
Compares this prime finite field for equality with the specified object.
objthe object to be compared.
returntrue if obj is an instance of ECFieldFp and the prime value match, false otherwise.
public int hashCode() Details
Returns a hash code value for this prime finite field.
returna hash code value.

Properties
public int getFieldSize() Details
Returns the field size in bits which is size of prime p for this prime finite field.
returnthe field size in bits.
public BigInteger getP() Details
Returns the prime p of this prime finite field.
returnthe prime.