org.bitcoin.x6763.crypto.ecdsa.math
Class ECFieldElement
java.lang.Object
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
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ECFieldElement
public ECFieldElement(java.math.BigInteger q,
java.math.BigInteger x)
ECFieldElement
public ECFieldElement(java.math.BigInteger x)
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