FileDocCategorySizeDatePackage
ECPoint.javaAPI DocAzureus 3.0.3.43746Tue Jun 08 05:12:56 BST 2004org.bouncycastle.math.ec

ECPoint

public abstract class ECPoint extends Object
base class for points on elliptic curves.

Fields Summary
ECCurve
curve
ECFieldElement
x
ECFieldElement
y
Constructors Summary
protected ECPoint(ECCurve curve, ECFieldElement x, ECFieldElement y)

        this.curve = curve;
		this.x = x;
		this.y = y;
	
Methods Summary
public abstract org.bouncycastle.math.ec.ECPointadd(org.bouncycastle.math.ec.ECPoint b)

public booleanequals(java.lang.Object other)

        if ( other == this )
            return true;

        if ( !(other instanceof ECPoint) )
            return false;

        ECPoint o = (ECPoint)other;

        return x.equals(o.x) && y.equals(o.y);
    
public abstract byte[]getEncoded()

public ECFieldElementgetX()

		return x;
	
public ECFieldElementgetY()

		return y;
	
public abstract org.bouncycastle.math.ec.ECPointmultiply(java.math.BigInteger b)

public abstract org.bouncycastle.math.ec.ECPointsubtract(org.bouncycastle.math.ec.ECPoint b)

public abstract org.bouncycastle.math.ec.ECPointtwice()