fi.hut.tcm.tessa.ECInterfaces
Interface ECPoint


public abstract interface ECPoint

ECPoint

See Also:
ECDSAParams

Method Summary
 ECPoint add(ECPoint P)
           
 Object clone()
           
 ECDSAParams getParams()
           
 BigInteger getX()
           
 BigInteger getY()
           
 boolean isInfinity()
           
 ECPoint multiply(BigInteger k)
           
 ECPoint subtract(ECPoint P)
           
 

Method Detail

getX

public BigInteger getX()
Returns:
the x-coordinate of the point, x.

getY

public BigInteger getY()
Returns:
the y-coordinate of the point, y.

isInfinity

public boolean isInfinity()
Returns:
true, if the point is at infinity.

getParams

public ECDSAParams getParams()
Returns:
the ECDSA-specific key parameters.
See Also:
ECDSAParams

add

public ECPoint add(ECPoint P)
Returns:
the sum of this point and point P.

subtract

public ECPoint subtract(ECPoint P)
Returns:
the difference of this point and point p.

multiply

public ECPoint multiply(BigInteger k)
Returns:
the product of this point and BigInteger k.

clone

public Object clone()
Returns:
a clone of this object.
Overrides:
clone in class Object