org.bitcoin.x6763.crypto.ecdsa.math
Class ECPoint

java.lang.Object
  extended by org.bitcoin.x6763.crypto.ecdsa.math.ECPoint

public class ECPoint
extends java.lang.Object

Author:
Bouncy Castle contributors - http://www.bouncycastle.org/contributors.html, x6763

Constructor Summary
ECPoint(ECCurve curve, ECFieldElement x, ECFieldElement y)
           
ECPoint(ECFieldElement x, ECFieldElement y)
           
 
Method Summary
 ECPoint add(ECPoint b)
           
 boolean equals(java.lang.Object other)
           
 ECCurve getCurve()
           
 ECFieldElement getX()
           
 ECFieldElement getY()
           
 boolean isInfinity()
           
 ECPoint multiply(java.math.BigInteger k)
           
 ECPoint negate()
           
 ECPoint subtract(ECPoint b)
           
 ECPoint twice()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ECPoint

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

ECPoint

public ECPoint(ECFieldElement x,
               ECFieldElement y)
Method Detail

getCurve

public ECCurve getCurve()

getX

public ECFieldElement getX()

getY

public ECFieldElement getY()

isInfinity

public boolean isInfinity()

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

multiply

public ECPoint multiply(java.math.BigInteger k)

add

public ECPoint add(ECPoint b)

twice

public ECPoint twice()

subtract

public ECPoint subtract(ECPoint b)

negate

public ECPoint negate()