public interface WeierstrassCurve extends EllipticCurve
Contains the set of points \((x,y)\) that fulfill the weierstrass equation. In short form, the equation reduces to \(y^2 = x^3 + A4 \cdot x + A6\).
| Modifier and Type | Method and Description |
|---|---|
FieldElement |
getA1()
Returns \(A1\) from the weierstrass equation
\(y^2 + A1 \cdot xy + A3 \cdot y = x^3 + A2 \cdot x^2 + A4 \cdot x + A6\).
|
FieldElement |
getA2()
Returns \(A2\) from the weierstrass equation
\(y^2 + A1 \cdot xy + A3 \cdot y = x^3 + A2 \cdot x^2 + A4 \cdot x + A6\).
|
FieldElement |
getA3()
Returns \(A3\) from the weierstrass equation
\(y^2 + A1 \cdot xy + A3 \cdot y = x^3 + A2 \cdot x^2 + A4 \cdot x + A6\).
|
FieldElement |
getA4()
Returns \(A4\) from the weierstrass equation
\(y^2 + A1 \cdot xy + A3 \cdot y = x^3 + A2 \cdot x^2 + A4 \cdot x + A6\).
|
FieldElement |
getA6()
Returns \(A6\) from the weierstrass equation
\(y^2 + A1 \cdot xy + A3 \cdot y = x^3 + A2 \cdot x^2 + A4 \cdot x + A6\).
|
EllipticCurvePoint |
getElement(FieldElement x,
FieldElement y)
Construct an point on this curve given the x- and y-coordinates.
|
default boolean |
isShortForm() |
getFieldOfDefinition, isCommutativeestimateCostInvPerOp, exp, getGenerator, getNeutralElement, getUniformlyRandomElement, getUniformlyRandomNonNeutral, getUniqueByteLength, hasPrimeSize, implementsOwnExp, implementsOwnMultiExp, multiexp, restoreElement, restoreFromRepresentation, sizegetRepresentationFieldElement getA6()
FieldElement getA4()
FieldElement getA3()
Is zero if the curve is given by a weierstrass equation in short form.
FieldElement getA2()
Is zero if the curve is given by a weierstrass equation in short form.
FieldElement getA1()
Is zero if the curve is given by a weierstrass equation in short form.
EllipticCurvePoint getElement(FieldElement x, FieldElement y)
x - the x-coordinatey - the y-coordinatedefault boolean isShortForm()