Package com.blackhillsoftware.smf.smf90
Enum CertFailureReason
- All Implemented Interfaces:
Serializable
,Comparable<CertFailureReason>
,java.lang.constant.Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionConstant: 0x07 = 7Constant: 0x06 = 6Constant: 0x03 = 3Constant: 0x05 = 5Constant: 0x04 = 4Constant: 0x02 = 2Constant: 0x01 = 1 -
Method Summary
Modifier and TypeMethodDescriptionstatic CertFailureReason
from
(int value) Get the CertFailureReason for an integer valuestatic CertFailureReason
Returns the enum constant of this type with the specified name.static CertFailureReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NULL
-
NOT_STARTED
Constant: 0x01 = 1 -
EXPIRED
Constant: 0x02 = 2 -
BAD_KEY
Constant: 0x03 = 3 -
BAD_KEY_TYPE
Constant: 0x04 = 4 -
BAD_KEY_ID_LEN
Constant: 0x05 = 5 -
BAD_HASH_TYPE
Constant: 0x06 = 6 -
BAD_HASH_LEN
Constant: 0x07 = 7 -
NOT_DEFINED
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
from
Get the CertFailureReason for an integer value- Parameters:
value
- the integer value- Returns:
- the corresponding CertFailureReason
-