Package 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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
Class representing the Elements of the finite fieldF2m
in polynomial basis (PB) representation.static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract ECFieldElement
abstract ECFieldElement
addOne()
int
abstract ECFieldElement
void
encodeTo
(byte[] buf, int off) byte[]
int
abstract String
abstract int
abstract ECFieldElement
invert()
boolean
isOne()
boolean
isZero()
abstract ECFieldElement
abstract ECFieldElement
negate()
abstract ECFieldElement
sqrt()
abstract ECFieldElement
square()
squarePow
(int pow) abstract ECFieldElement
boolean
abstract BigInteger
toString()
-
Constructor Details
-
ECFieldElement
public ECFieldElement()
-
-
Method Details
-
toBigInteger
-
getFieldName
-
getFieldSize
public abstract int getFieldSize() -
add
-
addOne
-
subtract
-
multiply
-
divide
-
negate
-
square
-
invert
-
sqrt
-
bitLength
public int bitLength() -
isOne
public boolean isOne() -
isZero
public boolean isZero() -
multiplyMinusProduct
-
multiplyPlusProduct
-
squareMinusProduct
-
squarePlusProduct
-
squarePow
-
testBitZero
public boolean testBitZero() -
toString
-
getEncoded
public byte[] getEncoded() -
getEncodedLength
public int getEncodedLength() -
encodeTo
public void encodeTo(byte[] buf, int off)
-