Package com.appliedrec.verid.core2.auth
Enum LicensingException.Code
- java.lang.Object
-
- java.lang.Enum<LicensingException.Code>
-
- com.appliedrec.verid.core2.auth.LicensingException.Code
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LicensingException.Code>
- Enclosing class:
- LicensingException
public static enum LicensingException.Code extends java.lang.Enum<LicensingException.Code>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CERTIFICATE_ERROR
CERTIFICATE_PATH_VALIDATOR_ERROR
INVALID_KEY
INVALID_SIGNATURE
MISSING_ANCHOR_CERTIFICATE
SIGNATURE_VERIFICATION_ERROR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LicensingException.Code
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LicensingException.Code[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALID_SIGNATURE
public static final LicensingException.Code INVALID_SIGNATURE
-
MISSING_ANCHOR_CERTIFICATE
public static final LicensingException.Code MISSING_ANCHOR_CERTIFICATE
-
CERTIFICATE_PATH_VALIDATOR_ERROR
public static final LicensingException.Code CERTIFICATE_PATH_VALIDATOR_ERROR
-
CERTIFICATE_ERROR
public static final LicensingException.Code CERTIFICATE_ERROR
-
INVALID_KEY
public static final LicensingException.Code INVALID_KEY
-
SIGNATURE_VERIFICATION_ERROR
public static final LicensingException.Code SIGNATURE_VERIFICATION_ERROR
-
-
Method Detail
-
values
public static LicensingException.Code[] 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 (LicensingException.Code c : LicensingException.Code.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LicensingException.Code 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
-
-