Build 1.0_r1(from source)

java.security.spec
Class EllipticCurve

java.lang.Object
  extended by java.security.spec.EllipticCurve

public class EllipticCurve
extends Object


Constructor Summary
EllipticCurve(ECField field, BigInteger a, BigInteger b)
           
EllipticCurve(ECField field, BigInteger a, BigInteger b, byte[] seed)
           
 
Method Summary
 boolean equals(Object other)
          Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison.
 BigInteger getA()
           
 BigInteger getB()
           
 ECField getField()
           
 byte[] getSeed()
           
 int hashCode()
          Returns an integer hash code for the receiver.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EllipticCurve

public EllipticCurve(ECField field,
                     BigInteger a,
                     BigInteger b,
                     byte[] seed)

EllipticCurve

public EllipticCurve(ECField field,
                     BigInteger a,
                     BigInteger b)
Method Detail

getA

public BigInteger getA()

getB

public BigInteger getB()

getField

public ECField getField()

getSeed

public byte[] getSeed()

equals

public boolean equals(Object other)
Description copied from class: Object
Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison. The implementation in Object returns true only if the argument is the exact same object as the receiver (==).

Overrides:
equals in class Object
Parameters:
other - Object the object to compare with this object.
Returns:
boolean true if the object is the same as this object false if it is different from this object.
See Also:
Object.hashCode()

hashCode

public int hashCode()
Description copied from class: Object
Returns an integer hash code for the receiver. Any two objects which answer true when passed to .equals must answer the same value for this method.

Overrides:
hashCode in class Object
Returns:
int the receiver's hash.
See Also:
Object.equals(java.lang.Object)

Build 1.0_r1(from source)

Please submit a feedback, bug or feature