public final class PrimeWeierstrassCurveFactory extends Object
The user can choose between various coordinate systems, which are listed in
PrimeCurveCoordinateTypes
. By default a curve using the fastest
coordinate type available will be returned.
Modifier and Type | Method and Description |
---|---|
static EllipticCurve |
getCurve(AbstractPrimeField field,
BigInteger a,
BigInteger b)
The factory method.
|
static EllipticCurve |
getCurve(AbstractPrimeField field,
BigInteger a,
BigInteger b,
BigInteger order)
The factory method.
|
static EllipticCurve |
getCurve(PrimeCurveCoordinateTypes type,
AbstractPrimeField field,
BigInteger a,
BigInteger b)
The factory method.
|
static EllipticCurve |
getCurve(PrimeCurveCoordinateTypes type,
AbstractPrimeField field,
BigInteger a,
BigInteger b,
BigInteger order,
BigInteger beta,
BigInteger lambda)
The factory method.
|
public static EllipticCurve getCurve(AbstractPrimeField field, BigInteger a, BigInteger b) throws InvalidCurveException
field
- the underlying prime fielda
- the first curve parameterb
- the second curve parameterfield
InvalidCurveException
- if the curve is singularpublic static EllipticCurve getCurve(PrimeCurveCoordinateTypes type, AbstractPrimeField field, BigInteger a, BigInteger b) throws InvalidCurveException
type
- the coordinate typefield
- the underlying prime fielda
- the first curve parameterb
- the second curve parameterfield
InvalidCurveException
- if the curve is singularpublic static EllipticCurve getCurve(PrimeCurveCoordinateTypes type, AbstractPrimeField field, BigInteger a, BigInteger b, BigInteger order, BigInteger beta, BigInteger lambda) throws InvalidCurveException
type
- the coordinate typefield
- the underlying prime fielda
- the first curve parameterb
- the second curve parameterorder
- the order of the curve groupbeta
- defines the efficient endomorphism φ, if availablelambda
- the eigen value of φfield
InvalidCurveException
- if the curve is singularpublic static EllipticCurve getCurve(AbstractPrimeField field, BigInteger a, BigInteger b, BigInteger order) throws InvalidCurveException
field
- the underlying prime fielda
- the first curve parameterb
- the second curve parameterorder
- the order of the associated curve groupfield
InvalidCurveException
- if the curve is singularCopyright © 2011–2022 Stiftung SIC. All rights reserved.