public static enum KeyShape.CurveId extends Enum<KeyShape.CurveId> implements BmcEnum
Supported curve IDs for ECDSA keys.
Enum Constant and Description |
---|
NistP256 |
NistP384 |
NistP521 |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static KeyShape.CurveId |
create(String key) |
String |
getValue() |
static KeyShape.CurveId |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyShape.CurveId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyShape.CurveId NistP256
public static final KeyShape.CurveId NistP384
public static final KeyShape.CurveId NistP521
public static final KeyShape.CurveId UnknownEnumValue
public static KeyShape.CurveId[] values()
for (KeyShape.CurveId c : KeyShape.CurveId.values()) System.out.println(c);
public static KeyShape.CurveId 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 static KeyShape.CurveId create(String key)
Copyright © 2016–2024. All rights reserved.