Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.84
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.bouncycastle.math.ec
Class ECFieldElement

    java.lang.Object
      org.bouncycastle.math.ec.ECFieldElement

All Implemented Interfaces:
  ECConstants

Direct Known Subclasses:
  ECFieldElement.AbstractF2m, ECFieldElement.AbstractFp

public abstract class ECFieldElement
extends java.lang.Object
implements ECConstants

Nested Class Summary
`static class` | `ECFieldElement.AbstractF2m`
`static class` | `ECFieldElement.AbstractFp`
`static class` | `ECFieldElement.F2m` Class representing the Elements of the finite field F 2 m in polynomial basis (PB) representation.
`static class` | `ECFieldElement.Fp`

Field Summary

Fields inherited from interface org.bouncycastle.math.ec.ECConstants
`EIGHT, FOUR, ONE, THREE, TWO, ZERO`

Constructor Summary
`ECFieldElement()`

Method Summary
`abstract ECFieldElement` | `add(ECFieldElement b)`
`abstract ECFieldElement` | `addOne()`
`int` | `bitLength()`
`abstract ECFieldElement` | `divide(ECFieldElement b)`
`void` | `encodeTo(byte[] buf, int off)`
`byte[]` | `getEncoded()`
`int` | `getEncodedLength()`
`abstract java.lang.String` | `getFieldName()`
`abstract int` | `getFieldSize()`
`abstract ECFieldElement` | `invert()`
`boolean` | `isOne()`
`boolean` | `isZero()`
`abstract ECFieldElement` | `multiply(ECFieldElement b)`
`ECFieldElement` | `multiplyMinusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y)`
`ECFieldElement` | `multiplyPlusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y)`
`abstract ECFieldElement` | `negate()`
`abstract ECFieldElement` | `sqrt()`
`abstract ECFieldElement` | `square()`
`ECFieldElement` | `squareMinusProduct(ECFieldElement x, ECFieldElement y)`
`ECFieldElement` | `squarePlusProduct(ECFieldElement x, ECFieldElement y)`
`ECFieldElement` | `squarePow(int pow)`
`abstract ECFieldElement` | `subtract(ECFieldElement b)`
`boolean` | `testBitZero()`
`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)

### addOne

    public abstract ECFieldElement addOne()

### 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()

### bitLength

    public int bitLength()

### isOne

    public boolean isOne()

### isZero

    public boolean isZero()

### multiplyMinusProduct

    public ECFieldElement multiplyMinusProduct(ECFieldElement b,
                                               ECFieldElement x,
                                               ECFieldElement y)

### multiplyPlusProduct

    public ECFieldElement multiplyPlusProduct(ECFieldElement b,
                                              ECFieldElement x,
                                              ECFieldElement y)

### squareMinusProduct

    public ECFieldElement squareMinusProduct(ECFieldElement x,
                                             ECFieldElement y)

### squarePlusProduct

    public ECFieldElement squarePlusProduct(ECFieldElement x,
                                            ECFieldElement y)

### squarePow

    public ECFieldElement squarePow(int pow)

### testBitZero

    public boolean testBitZero()

### toString

    public java.lang.String toString()

### getEncoded

    public byte[] getEncoded()

### getEncodedLength

    public int getEncodedLength()

### encodeTo

    public void encodeTo(byte[] buf,
                         int off)

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.84
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD