| Modifier and Type | Method and Description |
|---|---|
static Curve |
create(int value) |
java.security.spec.ECParameterSpec |
getECParameterSpec() |
int |
getSize() |
int |
getValue() |
static Curve |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Curve[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Curve SECP256R1
public static final Curve SECP384R1
public static final Curve SECP521R1
public static Curve[] values()
for (Curve c : Curve.values()) System.out.println(c);
public static Curve valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static Curve create(int value)
public int getValue()
public int getSize()
public java.security.spec.ECParameterSpec getECParameterSpec()