public enum KeyKeys extends Enum<KeyKeys>
| Enum Constant and Description |
|---|
EC2_Curve |
EC2_D |
EC2_X |
EC2_Y |
KeyType |
Octet_K |
| Modifier and Type | Field and Description |
|---|---|
static com.upokecenter.cbor.CBORObject |
EC2_P256 |
static com.upokecenter.cbor.CBORObject |
EC2_P384 |
static com.upokecenter.cbor.CBORObject |
EC2_P521 |
static com.upokecenter.cbor.CBORObject |
KeyType_EC2 |
static com.upokecenter.cbor.CBORObject |
KeyType_Octet |
| Modifier and Type | Method and Description |
|---|---|
com.upokecenter.cbor.CBORObject |
AsCBOR() |
static KeyKeys |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyKeys[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyKeys KeyType
public static final KeyKeys Octet_K
public static final KeyKeys EC2_Curve
public static final KeyKeys EC2_X
public static final KeyKeys EC2_Y
public static final KeyKeys EC2_D
public static final com.upokecenter.cbor.CBORObject KeyType_EC2
public static final com.upokecenter.cbor.CBORObject KeyType_Octet
public static final com.upokecenter.cbor.CBORObject EC2_P256
public static final com.upokecenter.cbor.CBORObject EC2_P384
public static final com.upokecenter.cbor.CBORObject EC2_P521
public static KeyKeys[] values()
for (KeyKeys c : KeyKeys.values()) System.out.println(c);
public static KeyKeys 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 com.upokecenter.cbor.CBORObject AsCBOR()
COSE for Java documentation, generatedin 2016.