org.gudy.bouncycastle.math.ec
Class ECFieldElement

java.lang.Object
  extended by 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
           
 
Field Summary
 
Fields inherited from interface org.gudy.bouncycastle.math.ec.ECConstants
FOUR, ONE, THREE, TWO, ZERO
 
Constructor Summary
ECFieldElement()
           
 
Method Summary
abstract  ECFieldElement add(ECFieldElement b)
           
abstract  ECFieldElement divide(ECFieldElement b)
           
abstract  String getFieldName()
           
abstract  int getFieldSize()
           
abstract  ECFieldElement invert()
           
abstract  ECFieldElement multiply(ECFieldElement b)
           
abstract  ECFieldElement negate()
           
abstract  ECFieldElement sqrt()
           
abstract  ECFieldElement square()
           
abstract  ECFieldElement subtract(ECFieldElement b)
           
abstract  BigInteger toBigInteger()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ECFieldElement

public ECFieldElement()
Method Detail

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