public abstract class AbstractEllipticCurvePoint extends java.lang.Object implements EllipticCurvePoint
| Constructor and Description |
|---|
AbstractEllipticCurvePoint(WeierstrassCurve curve,
FieldElement x,
FieldElement y,
FieldElement z) |
AbstractEllipticCurvePoint(WeierstrassCurve curve,
Representation repr) |
| Modifier and Type | Method and Description |
|---|---|
Field |
getFieldOfDefinition()
Returns the base field over which the elliptic curve this point belongs to is defined.
|
Representation |
getRepresentation()
The representation of this object.
|
WeierstrassCurve |
getStructure()
Retrieves the group this element belongs to.
|
FieldElement |
getX() |
FieldElement |
getY() |
FieldElement |
getZ() |
int |
hashCode() |
boolean |
isNeutralElement()
Returns true iff this is the neutral element of the group.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitadd, computeLine, isNormalized, normalize, opinv, pow, squaregetUniqueByteRepresentation, updateAccumulatorpublic AbstractEllipticCurvePoint(WeierstrassCurve curve, FieldElement x, FieldElement y, FieldElement z)
public AbstractEllipticCurvePoint(WeierstrassCurve curve, Representation repr)
public Field getFieldOfDefinition()
EllipticCurvePointgetFieldOfDefinition in interface EllipticCurvePointpublic FieldElement getX()
public FieldElement getY()
public FieldElement getZ()
public WeierstrassCurve getStructure()
GroupElementImplgetStructure in interface GroupElementImplpublic Representation getRepresentation()
RepresentableReprUtilgetRepresentation in interface RepresentableRepresentationpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean isNeutralElement()
GroupElementImplisNeutralElement in interface GroupElementImpl