public enum PrimeCurveCoordinateTypes extends Enum<PrimeCurveCoordinateTypes> implements CoordinateTypes
PrimeWeierstrassCurveFactory
Enum Constant and Description |
---|
AFFINE
Denotes affine coordinates.
|
EXTENDED_JACOBIAN
Denotes extended Jacobian coordinates.
|
EXTENDED_TWISTED_EDWARDS
Extended Twisted Edwards coordinates are especially suited for Ed25519
involving (Twisted) Edwards curves.
|
JACOBIAN
Denotes Jacobian coordinates.
|
PROJECTIVE
Denotes projective coordinates.
|
XZ
XZ coordinates suitabe for Montgomery curves used in X25519 and X448.
|
Modifier and Type | Method and Description |
---|---|
static PrimeCurveCoordinateTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimeCurveCoordinateTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimeCurveCoordinateTypes AFFINE
JACOBIAN
or EXTENDED_JACOBIAN
to
get improved performance.public static final PrimeCurveCoordinateTypes PROJECTIVE
JACOBIAN
or EXTENDED_JACOBIAN
.public static final PrimeCurveCoordinateTypes JACOBIAN
public static final PrimeCurveCoordinateTypes EXTENDED_JACOBIAN
JACOBIAN
coordinates is that more memory is being used to save some field squarings.
Hence, in some situations this type may be beneficial.public static final PrimeCurveCoordinateTypes EXTENDED_TWISTED_EDWARDS
public static final PrimeCurveCoordinateTypes XZ
public static PrimeCurveCoordinateTypes[] values()
for (PrimeCurveCoordinateTypes c : PrimeCurveCoordinateTypes.values()) System.out.println(c);
public static PrimeCurveCoordinateTypes valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2011–2022 Stiftung SIC. All rights reserved.