public static enum SecurityUtils.KeyId extends java.lang.Enum<SecurityUtils.KeyId> implements DlmsEnumeration
Enum Constant and Description |
---|
AUTHENTICATION_KEY |
GLOBAL_BROADCAST_ENCRYPTION_KEY |
GLOBAL_UNICAST_ENCRYPTION_KEY |
Modifier and Type | Method and Description |
---|---|
long |
getCode() |
int |
keyId() |
java.lang.String |
keyName() |
static SecurityUtils.KeyId |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SecurityUtils.KeyId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityUtils.KeyId GLOBAL_UNICAST_ENCRYPTION_KEY
public static final SecurityUtils.KeyId GLOBAL_BROADCAST_ENCRYPTION_KEY
public static final SecurityUtils.KeyId AUTHENTICATION_KEY
public static SecurityUtils.KeyId[] values()
for (SecurityUtils.KeyId c : SecurityUtils.KeyId.values()) System.out.println(c);
public static SecurityUtils.KeyId 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 keyId()
public java.lang.String keyName()
public long getCode()
getCode
in interface DlmsEnumeration