Class ECFieldFp
java.lang.Object
java.security.spec.ECFieldFp
- All Implemented Interfaces:
ECField
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an elliptic curve prime finite field with the specified primep. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares this prime finite field for equality with the specified object.intReturns the field size in bits which is size of prime p for this prime finite field.getP()Returns the primepof this prime finite field.inthashCode()Returns a hash code value for this prime finite field.Methods declared in class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitModifier and TypeMethodDescriptionprotected Objectclone()Creates and returns a copy of this object.protected voidfinalize()Deprecated, for removal: This API element is subject to removal in a future version.Finalization is deprecated and subject to removal in a future release.final Class<?> getClass()Returns the runtime class of thisObject.final voidnotify()Wakes up a single thread that is waiting on this object's monitor.final voidWakes up all threads that are waiting on this object's monitor.toString()Returns a string representation of the object.final voidwait()Causes the current thread to wait until it is awakened, typically by being notified or interrupted.final voidwait(long timeoutMillis) Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.final voidwait(long timeoutMillis, int nanos) Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.
-
Constructor Details
-
ECFieldFp
Creates an elliptic curve prime finite field with the specified primep.- Parameters:
p- the prime.- Throws:
NullPointerException- ifpis null.IllegalArgumentException- ifpis not positive.
-
-
Method Details
-
getFieldSize
public int getFieldSize()Returns the field size in bits which is size of prime p for this prime finite field.- Specified by:
getFieldSizein interfaceECField- Returns:
- the field size in bits.
-
getP
-
equals
-
hashCode
-