Save This Page
Home » openjdk-7 » java » security » spec » [javadoc | source]
java.security.spec
public class: ECFieldFp [javadoc | source]
java.lang.Object
   java.security.spec.ECFieldFp

All Implemented Interfaces:
    ECField

This immutable class defines an elliptic curve (EC) prime finite field.
Constructor:
 public ECFieldFp(BigInteger p) 
    Creates an elliptic curve prime finite field with the specified prime p.
    Parameters:
    p - the prime.
    Throws:
    NullPointerException - if p is null.
    IllegalArgumentException - if p is not positive.
    exception: NullPointerException - if p is null.
    exception: IllegalArgumentException - if p is not positive.
Method from java.security.spec.ECFieldFp Summary:
equals,   getFieldSize,   getP,   hashCode
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.security.spec.ECFieldFp Detail:
 public boolean equals(Object obj) 
    Compares this prime finite field for equality with the specified object.
 public int getFieldSize() 
    Returns the field size in bits which is size of prime p for this prime finite field.
 public BigInteger getP() 
    Returns the prime p of this prime finite field.
 public int hashCode() 
    Returns a hash code value for this prime finite field.