public enum COSEKeyType extends java.lang.Enum<COSEKeyType>
| Modifier and Type | Method and Description |
|---|---|
static COSEKeyType |
create(int value) |
int |
getValue() |
static COSEKeyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static COSEKeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final COSEKeyType OKP
public static final COSEKeyType EC2
public static final COSEKeyType RSA
public static final COSEKeyType SYMMETRIC
public static final COSEKeyType RESERVED
public static COSEKeyType[] values()
for (COSEKeyType c : COSEKeyType.values()) System.out.println(c);
public static COSEKeyType 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 COSEKeyType create(int value)
public int getValue()