org.gudy.bouncycastle.math.ec
Class ECFieldElement
java.lang.Object
org.gudy.bouncycastle.math.ec.ECFieldElement
- All Implemented Interfaces:
- ECConstants
- Direct Known Subclasses:
- ECFieldElement.F2m, ECFieldElement.Fp
public abstract class ECFieldElement
- extends java.lang.Object
- implements ECConstants
Nested Class Summary |
static class |
ECFieldElement.F2m
Class representing the Elements of the finite field
F2m in polynomial basis (PB)
representation. |
static class |
ECFieldElement.Fp
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ECFieldElement
public ECFieldElement()
toBigInteger
public abstract java.math.BigInteger toBigInteger()
getFieldName
public abstract java.lang.String getFieldName()
getFieldSize
public abstract int getFieldSize()
add
public abstract ECFieldElement add(ECFieldElement b)
subtract
public abstract ECFieldElement subtract(ECFieldElement b)
multiply
public abstract ECFieldElement multiply(ECFieldElement b)
divide
public abstract ECFieldElement divide(ECFieldElement b)
negate
public abstract ECFieldElement negate()
square
public abstract ECFieldElement square()
invert
public abstract ECFieldElement invert()
sqrt
public abstract ECFieldElement sqrt()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object