public static enum SecuritySuite.EncryptionMechanism extends java.lang.Enum<SecuritySuite.EncryptionMechanism> implements DlmsEnumeration
Enum Constant and Description |
---|
AES_GMC_128
Use AES-128.
|
NONE
Do not encrypt transport.
|
Modifier and Type | Method and Description |
---|---|
long |
getCode() |
static SecuritySuite.EncryptionMechanism |
getInstance(long id)
Returns the EncryptionMechanism that corresponds to the given ID.
|
static SecuritySuite.EncryptionMechanism |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SecuritySuite.EncryptionMechanism[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecuritySuite.EncryptionMechanism NONE
public static final SecuritySuite.EncryptionMechanism AES_GMC_128
public static SecuritySuite.EncryptionMechanism[] values()
for (SecuritySuite.EncryptionMechanism c : SecuritySuite.EncryptionMechanism.values()) System.out.println(c);
public static SecuritySuite.EncryptionMechanism 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 long getCode()
getCode
in interface DlmsEnumeration
public static SecuritySuite.EncryptionMechanism getInstance(long id)
id
- the ID