public enum CurveTypes extends Enum<CurveTypes>
Enum Constant and Description |
---|
MONTGOMERY
Denotes a Montgomery curve
|
TWISTED_EDWARDS
Denotes a twisted Edwards curve (over a prime field).
|
WEIERSTRASS
Denotes a Weierstrass curve.
|
Modifier and Type | Method and Description |
---|---|
static CurveTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CurveTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CurveTypes WEIERSTRASS
public static final CurveTypes TWISTED_EDWARDS
public static final CurveTypes MONTGOMERY
public static CurveTypes[] values()
for (CurveTypes c : CurveTypes.values()) System.out.println(c);
public static CurveTypes 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.