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 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
           
 
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  java.lang.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  java.math.BigInteger toBigInteger()
           
 java.lang.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 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