Package org.bouncycastle.math.ec
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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classECFieldElement.F2mClass representing the Elements of the finite fieldF2min polynomial basis (PB) representation.static classECFieldElement.Fp -
Field Summary
-
Constructor Summary
Constructors Constructor Description ECFieldElement() -
Method Summary
Modifier and Type Method Description abstract ECFieldElementadd(ECFieldElement b)abstract ECFieldElementdivide(ECFieldElement b)abstract StringgetFieldName()abstract intgetFieldSize()abstract ECFieldElementinvert()abstract ECFieldElementmultiply(ECFieldElement b)abstract ECFieldElementnegate()abstract ECFieldElementsqrt()abstract ECFieldElementsquare()abstract ECFieldElementsubtract(ECFieldElement b)abstract BigIntegertoBigInteger()StringtoString()Returns a string containing a concise, human-readable description of this object.
-
Constructor Details
-
ECFieldElement
public ECFieldElement()
-
-
Method Details
-
toBigInteger
-
getFieldName
-
getFieldSize
public abstract int getFieldSize() -
add
-
subtract
-
multiply
-
divide
-
negate
-
square
-
invert
-
sqrt
-
toString
Description copied from class:ObjectReturns 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
toStringmethod if you intend implementing your owntoStringmethod.
-