org.openmuc.jmbus
public enum EncryptionMode extends java.lang.Enum<EncryptionMode>
Enum Constant and Description |
---|
AES_CBC_IV |
DES_CBC |
DES_CBC_IV |
NONE |
RESERVED_01 |
RESERVED_04 |
RESERVED_06 |
RESERVED_07 |
RESERVED_08 |
RESERVED_09 |
RESERVED_10 |
RESERVED_11 |
RESERVED_12 |
RESERVED_13 |
RESERVED_14 |
RESERVED_15 |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
static EncryptionMode |
newEncryptionMode(int code) |
static EncryptionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EncryptionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncryptionMode NONE
public static final EncryptionMode RESERVED_01
public static final EncryptionMode DES_CBC
public static final EncryptionMode DES_CBC_IV
public static final EncryptionMode RESERVED_04
public static final EncryptionMode AES_CBC_IV
public static final EncryptionMode RESERVED_06
public static final EncryptionMode RESERVED_07
public static final EncryptionMode RESERVED_08
public static final EncryptionMode RESERVED_09
public static final EncryptionMode RESERVED_10
public static final EncryptionMode RESERVED_11
public static final EncryptionMode RESERVED_12
public static final EncryptionMode RESERVED_13
public static final EncryptionMode RESERVED_14
public static final EncryptionMode RESERVED_15
public static EncryptionMode[] values()
for (EncryptionMode c : EncryptionMode.values()) System.out.println(c);
public static EncryptionMode 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 int getCode()
public static EncryptionMode newEncryptionMode(int code)