public enum PKIFailureInfo extends Enum<PKIFailureInfo>
Enum Constant and Description |
---|
ADD_INFO_NOT_AVAILABLE
The requested additional info is not available
|
BAD_ALG
Unrecognized algorithm ID
|
BAD_DATA_FORMAT
Data format is wrong
|
BAD_REQUEST
Transaction is not supported
|
SYSTEM_FAILURE
System failure has occured
|
TIME_NOT_AVAILABLE
TSA cannot use the time source
|
UNACCEPTED_EXTENSION
The extension is not supported
|
UNACCEPTED_POLICY
The policy is not supported
|
Modifier and Type | Method and Description |
---|---|
static PKIFailureInfo |
getInstance(int value) |
static int |
getMaxValue() |
int |
getValue() |
static PKIFailureInfo |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PKIFailureInfo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PKIFailureInfo BAD_ALG
public static final PKIFailureInfo BAD_REQUEST
public static final PKIFailureInfo BAD_DATA_FORMAT
public static final PKIFailureInfo TIME_NOT_AVAILABLE
public static final PKIFailureInfo UNACCEPTED_POLICY
public static final PKIFailureInfo UNACCEPTED_EXTENSION
public static final PKIFailureInfo ADD_INFO_NOT_AVAILABLE
public static final PKIFailureInfo SYSTEM_FAILURE
public static PKIFailureInfo[] values()
for (PKIFailureInfo c : PKIFailureInfo.values()) System.out.println(c);
public static PKIFailureInfo 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 getValue()
public static int getMaxValue()
public static PKIFailureInfo getInstance(int value)
value
-