public enum COSEKeyOperation extends java.lang.Enum<COSEKeyOperation>
Enum Constant and Description |
---|
DECRYPT |
DERIVE_BITS |
DERIVE_KEY |
ENCRYPT |
MAC_CREATE |
MAC_VERIFY |
SIGN |
UNWRAP_KEY |
VERIFY |
WRAP_KEY |
Modifier and Type | Method and Description |
---|---|
static COSEKeyOperation |
create(int value) |
int |
getValue() |
static COSEKeyOperation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static COSEKeyOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final COSEKeyOperation SIGN
public static final COSEKeyOperation VERIFY
public static final COSEKeyOperation ENCRYPT
public static final COSEKeyOperation DECRYPT
public static final COSEKeyOperation WRAP_KEY
public static final COSEKeyOperation UNWRAP_KEY
public static final COSEKeyOperation DERIVE_KEY
public static final COSEKeyOperation DERIVE_BITS
public static final COSEKeyOperation MAC_CREATE
public static final COSEKeyOperation MAC_VERIFY
public static COSEKeyOperation[] values()
for (COSEKeyOperation c : COSEKeyOperation.values()) System.out.println(c);
public static COSEKeyOperation 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 COSEKeyOperation create(int value)
public int getValue()