Class ECFieldElement

java.lang.Object
org.bouncycastle.math.ec.ECFieldElement
All Implemented Interfaces:
ECConstants
Direct Known Subclasses:
ECFieldElement.F2m, ECFieldElement.Fp

public abstract class ECFieldElement
extends Object
implements ECConstants
  • Constructor Details

    • ECFieldElement

      public ECFieldElement()
  • Method Details

    • 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()
      Description copied from class: Object
      Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
         getClass().getName() + '@' + Integer.toHexString(hashCode())

      See Writing a useful toString method if you intend implementing your own toString method.

      Overrides:
      toString in class Object
      Returns:
      a printable representation of this object.