public enum KeyRoleType extends Enum<KeyRoleType>
| Enum Constant and Description |
|---|
BDK |
CVK |
DEK |
DUKPT |
IV |
KEK |
MAC16609 |
MAC97971 |
MAC97972 |
MAC97973 |
MAC97974 |
MAC97975 |
MKAC |
MKCP |
MKDAC |
MKDN |
MKOTH |
MKSMC |
MKSMI |
PVKIBM |
PVKOTH |
PVKPVV |
TRKBK |
ZPK |
| Modifier and Type | Method and Description |
|---|---|
static KeyRoleType |
from(int code) |
static KeyRoleType |
from(String name) |
int |
getCode() |
String |
toString() |
static KeyRoleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyRoleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyRoleType BDK
public static final KeyRoleType CVK
public static final KeyRoleType DEK
public static final KeyRoleType MKAC
public static final KeyRoleType MKSMC
public static final KeyRoleType MKSMI
public static final KeyRoleType MKDAC
public static final KeyRoleType MKDN
public static final KeyRoleType MKCP
public static final KeyRoleType MKOTH
public static final KeyRoleType KEK
public static final KeyRoleType MAC16609
public static final KeyRoleType MAC97971
public static final KeyRoleType MAC97972
public static final KeyRoleType MAC97973
public static final KeyRoleType MAC97974
public static final KeyRoleType MAC97975
public static final KeyRoleType ZPK
public static final KeyRoleType PVKIBM
public static final KeyRoleType PVKPVV
public static final KeyRoleType PVKOTH
public static final KeyRoleType DUKPT
public static final KeyRoleType IV
public static final KeyRoleType TRKBK
public static KeyRoleType[] values()
for (KeyRoleType c : KeyRoleType.values()) System.out.println(c);
public static KeyRoleType 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 int getCode()
public String toString()
toString in class Enum<KeyRoleType>public static KeyRoleType from(String name) throws IllegalArgumentException
IllegalArgumentExceptionpublic static KeyRoleType from(int code) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2023. All rights reserved.