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 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
|
ECFieldElement
public ECFieldElement()
toBigInteger
public abstract BigInteger toBigInteger()
getFieldName
public abstract 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 String toString()
- Overrides:
toString
in class Object