Package org.xipki.qa.ocsp
Enum OcspCertStatus
- java.lang.Object
-
- java.lang.Enum<OcspCertStatus>
-
- org.xipki.qa.ocsp.OcspCertStatus
-
- All Implemented Interfaces:
Serializable,Comparable<OcspCertStatus>
public enum OcspCertStatus extends Enum<OcspCertStatus>
OCSP Certstatus enum.- Since:
- 2.0.0
- Author:
- Lijun Liao (xipki)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description aACompromiseaffiliationChangedcACompromisecertificateHoldcessationOfOperationgoodissuerUnknownkeyCompromiseprivilegeWithdrawnremoveFromCRLrev_noreasonsupersededunknownunspecified
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OcspCertStatusforName(String name)static OcspCertStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static OcspCertStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
issuerUnknown
public static final OcspCertStatus issuerUnknown
-
unknown
public static final OcspCertStatus unknown
-
good
public static final OcspCertStatus good
-
rev_noreason
public static final OcspCertStatus rev_noreason
-
unspecified
public static final OcspCertStatus unspecified
-
keyCompromise
public static final OcspCertStatus keyCompromise
-
cACompromise
public static final OcspCertStatus cACompromise
-
affiliationChanged
public static final OcspCertStatus affiliationChanged
-
superseded
public static final OcspCertStatus superseded
-
cessationOfOperation
public static final OcspCertStatus cessationOfOperation
-
certificateHold
public static final OcspCertStatus certificateHold
-
removeFromCRL
public static final OcspCertStatus removeFromCRL
-
privilegeWithdrawn
public static final OcspCertStatus privilegeWithdrawn
-
aACompromise
public static final OcspCertStatus aACompromise
-
-
Method Detail
-
values
public static OcspCertStatus[] 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 (OcspCertStatus c : OcspCertStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OcspCertStatus valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forName
public static OcspCertStatus forName(String name)
-
-