public final class BinaryWeierstrassCurveFactory extends Object
The user can choose between various coordinate systems, which are listed in
BinaryCurveCoordinateTypes. By default a curve using the fastest coordindate
type available will be returned.
| Modifier and Type | Method and Description |
|---|---|
static EllipticCurve |
getCurve(BinaryCurveCoordinateTypes type,
BinaryField field,
BigInteger a,
BigInteger b)
The factory method.
|
static EllipticCurve |
getCurve(BinaryCurveCoordinateTypes type,
BinaryField field,
BigInteger a,
BigInteger b,
BigInteger order)
The factory method.
|
static EllipticCurve |
getCurve(BinaryCurveCoordinateTypes type,
BinaryField field,
BigInteger a,
BigInteger b,
BigInteger order,
BigInteger s0,
BigInteger s1)
The factory method.
|
static EllipticCurve |
getCurve(BinaryField field,
BigInteger a,
BigInteger b)
The factory method.
|
static EllipticCurve |
getCurve(BinaryField field,
BigInteger a,
BigInteger b,
BigInteger order)
The factory method.
|
public static EllipticCurve getCurve(BinaryField field, BigInteger a, BigInteger b) throws InvalidCurveException
field - the underlying binary fielda - the first curve parameterb - the second curve parameterfieldInvalidCurveException - if the curve is singularpublic static EllipticCurve getCurve(BinaryCurveCoordinateTypes type, BinaryField field, BigInteger a, BigInteger b) throws InvalidCurveException
type - the coordinate typefield - the underlying binary fielda - the first curve parameterb - the second curve parameterfieldInvalidCurveException - if the curve is singularpublic static EllipticCurve getCurve(BinaryCurveCoordinateTypes type, BinaryField field, BigInteger a, BigInteger b, BigInteger order) throws InvalidCurveException
type - the coordinate typefield - the underlying binary fielda - the first curve parameterb - the second curve parameterorder - the order of the curve groupfieldInvalidCurveException - if the curve is singularpublic static EllipticCurve getCurve(BinaryCurveCoordinateTypes type, BinaryField field, BigInteger a, BigInteger b, BigInteger order, BigInteger s0, BigInteger s1) throws InvalidCurveException
type - the coordinate typefield - the underlying binary fielda - the first curve parameterb - the second curve parameterorder - the order of the curve groups0 - auxiliary value s0 for Koblitz curves1 - auxiliary value s1 for Koblitz curvefieldInvalidCurveException - if the curve is singularpublic static EllipticCurve getCurve(BinaryField field, BigInteger a, BigInteger b, BigInteger order) throws InvalidCurveException
field - the underlying binary fielda - the first curve parameterb - the second curve parameterorder - the order of the associated curve groupfieldInvalidCurveException - if the curve is singularCopyright © 2011–2022 Stiftung SIC. All rights reserved.