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

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

public class ECFieldElement
extends java.lang.Object

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

Constructor Summary
ECFieldElement(java.math.BigInteger x)
           
ECFieldElement(java.math.BigInteger q, java.math.BigInteger x)
           
 
Method Summary
 ECFieldElement add(ECFieldElement b)
           
 ECFieldElement divide(ECFieldElement b)
           
 boolean equals(java.lang.Object other)
           
 int getFieldSize()
           
 java.math.BigInteger getQ()
           
 ECFieldElement invert()
           
 ECFieldElement multiply(ECFieldElement b)
           
 ECFieldElement negate()
           
 ECFieldElement square()
           
 ECFieldElement subtract(ECFieldElement b)
           
 java.math.BigInteger toBigInteger()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ECFieldElement

public ECFieldElement(java.math.BigInteger q,
                      java.math.BigInteger x)

ECFieldElement

public ECFieldElement(java.math.BigInteger x)
Method Detail

toBigInteger

public java.math.BigInteger toBigInteger()

getFieldSize

public int getFieldSize()

getQ

public java.math.BigInteger getQ()

add

public ECFieldElement add(ECFieldElement b)

subtract

public ECFieldElement subtract(ECFieldElement b)

multiply

public ECFieldElement multiply(ECFieldElement b)

divide

public ECFieldElement divide(ECFieldElement b)

negate

public ECFieldElement negate()

square

public ECFieldElement square()

invert

public ECFieldElement invert()

equals

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