public static enum MifareSam.ProtectionMode extends java.lang.Enum<MifareSam.ProtectionMode>
Enum Constant and Description |
---|
FULL
Full protection (MACing and encryption).
|
MAC
MAC protection.
|
PLAIN
No protection
|
Modifier and Type | Method and Description |
---|---|
static MifareSam.ProtectionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MifareSam.ProtectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MifareSam.ProtectionMode PLAIN
public static final MifareSam.ProtectionMode MAC
public static final MifareSam.ProtectionMode FULL
public static MifareSam.ProtectionMode[] values()
for (MifareSam.ProtectionMode c : MifareSam.ProtectionMode.values()) System.out.println(c);
public static MifareSam.ProtectionMode 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 null