public enum EllipticCurve extends Enum<EllipticCurve>
Modifier and Type | Field and Description |
---|---|
static EllipticCurve |
DEFAULT
The default Absio curve is P384.
|
Modifier and Type | Method and Description |
---|---|
String |
getStandardName()
Get the standard name of the curve.
|
static EllipticCurve |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EllipticCurve[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EllipticCurve P256
public static final EllipticCurve P384
public static final EllipticCurve DEFAULT
public static EllipticCurve[] values()
for (EllipticCurve c : EllipticCurve.values()) System.out.println(c);
public static EllipticCurve 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 nullpublic String getStandardName()
Copyright © 2021. All rights reserved.