public enum PKIStatus extends Enum<PKIStatus>
Enum Constant and Description |
---|
GRANTED
TimeStampToken is present as requested
|
GRANTED_WITH_MODS
TimeStampToken is present with modifications
|
REJECTION
rejected
|
REVOCATION_NOTIFICATION
revoked
|
REVOCATION_WARNING
revocation time comes soon
|
WAITING
waiting
|
Modifier and Type | Method and Description |
---|---|
static PKIStatus |
getInstance(int status) |
int |
getStatus() |
static PKIStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PKIStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PKIStatus GRANTED
public static final PKIStatus GRANTED_WITH_MODS
public static final PKIStatus REJECTION
public static final PKIStatus WAITING
public static final PKIStatus REVOCATION_WARNING
public static final PKIStatus REVOCATION_NOTIFICATION
public static PKIStatus[] values()
for (PKIStatus c : PKIStatus.values()) System.out.println(c);
public static PKIStatus 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 getStatus()
public static PKIStatus getInstance(int status)