public enum MessageTag extends Enum<MessageTag>
| Enum Constant and Description |
|---|
Encrypt |
Encrypt0 |
MAC |
MAC0 |
Sign |
Sign1 |
Unknown |
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
static MessageTag |
FromInt(int i) |
static MessageTag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageTag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageTag Unknown
public static final MessageTag Encrypt0
public static final MessageTag Encrypt
public static final MessageTag Sign1
public static final MessageTag Sign
public static final MessageTag MAC
public static final MessageTag MAC0
public static MessageTag[] values()
for (MessageTag c : MessageTag.values()) System.out.println(c);
public static MessageTag 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 MessageTag FromInt(int i) throws CoseException
CoseExceptionCOSE for Java documentation, generatedin 2016.