Android
java.security.spec
public class

java.security.spec.EllipticCurve

java.lang.Object
java.security.spec.EllipticCurve

Summary

Public Constructors

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

Public Methods

          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

Details

Public Constructors

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

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

Public Methods

public boolean equals(Object other)

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 (==).

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.

public BigInteger getA()

public BigInteger getB()

public ECField getField()

public byte[] getSeed()

public int hashCode()

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.

Returns

  • int the receiver's hash.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56