Package org.dogtagpki.tps.apdu
Enum ExternalAuthenticateAPDU.SecurityLevel
- java.lang.Object
-
- java.lang.Enum<ExternalAuthenticateAPDU.SecurityLevel>
-
- org.dogtagpki.tps.apdu.ExternalAuthenticateAPDU.SecurityLevel
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExternalAuthenticateAPDU.SecurityLevel>
- Enclosing class:
- ExternalAuthenticateAPDU
public static enum ExternalAuthenticateAPDU.SecurityLevel extends java.lang.Enum<ExternalAuthenticateAPDU.SecurityLevel>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SECURE_MSG_ANY
SECURE_MSG_MAC
SECURE_MSG_MAC_ENC
SECURE_MSG_NONE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExternalAuthenticateAPDU.SecurityLevel
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExternalAuthenticateAPDU.SecurityLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SECURE_MSG_ANY
public static final ExternalAuthenticateAPDU.SecurityLevel SECURE_MSG_ANY
-
SECURE_MSG_MAC
public static final ExternalAuthenticateAPDU.SecurityLevel SECURE_MSG_MAC
-
SECURE_MSG_NONE
public static final ExternalAuthenticateAPDU.SecurityLevel SECURE_MSG_NONE
-
SECURE_MSG_MAC_ENC
public static final ExternalAuthenticateAPDU.SecurityLevel SECURE_MSG_MAC_ENC
-
-
Method Detail
-
values
public static ExternalAuthenticateAPDU.SecurityLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ExternalAuthenticateAPDU.SecurityLevel c : ExternalAuthenticateAPDU.SecurityLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExternalAuthenticateAPDU.SecurityLevel valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-