org.bouncycastle.math.ec

Class ECPoint


public abstract class ECPoint
extends java.lang.Object

base class for points on elliptic curves.

Nested Class Summary

static class
ECPoint.F2m
Elliptic curve points over Fp
static class
ECPoint.Fp
Elliptic curve points over Fp

Constructor Summary

ECPoint(ECCurve curve, ECFieldElement x, ECFieldElement y)

Method Summary

ECPoint
add(ECPoint b)
boolean
equals(Object other)
ECCurve
getCurve()
byte[]
getEncoded()
ECFieldElement
getX()
ECFieldElement
getY()
ECPoint
multiply(BigInteger b)
ECPoint
subtract(ECPoint b)
ECPoint
twice()

Constructor Details

ECPoint

protected ECPoint(ECCurve curve,
                  ECFieldElement x,
                  ECFieldElement y)

Method Details

add

public ECPoint add(ECPoint b)


equals

public boolean equals(Object other)


getCurve

public ECCurve getCurve()


getEncoded

public byte[] getEncoded()


getX

public ECFieldElement getX()


getY

public ECFieldElement getY()


multiply

public ECPoint multiply(BigInteger b)


subtract

public ECPoint subtract(ECPoint b)


twice

public ECPoint twice()