Package eu.europa.esig.dss.enumerations
Enum RevocationReason
- java.lang.Object
-
- java.lang.Enum<RevocationReason>
-
- eu.europa.esig.dss.enumerations.RevocationReason
-
- All Implemented Interfaces:
UriBasedEnum,Serializable,Comparable<RevocationReason>
public enum RevocationReason extends Enum<RevocationReason> implements UriBasedEnum
This enum is used to get String value of CRLReason The CRLReason enumeration.CRLReason ::= ENUMERATED { unspecified (0), keyCompromise (1), cACompromise (2), affiliationChanged (3), superseded (4), cessationOfOperation (5), certificateHold (6), removeFromCRL (8), privilegeWithdrawn (9), aACompromise (10) }
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AA_COMPROMISEAFFILIATION_CHANGEDCA_COMPROMISECERTIFICATE_HOLDCESSATION_OF_OPERATIONKEY_COMPROMISEPRIVILEGE_WITHDRAWNREMOVE_FROM_CRLSUPERSEDEDUNSPECIFIED
-
Method Summary
Modifier and Type Method Description static RevocationReasonfromInt(int value)StringgetShortName()StringgetUri()intgetValue()static RevocationReasonvalueOf(String name)Returns the enum constant of this type with the specified name.static RevocationReason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final RevocationReason UNSPECIFIED
-
KEY_COMPROMISE
public static final RevocationReason KEY_COMPROMISE
-
CA_COMPROMISE
public static final RevocationReason CA_COMPROMISE
-
AFFILIATION_CHANGED
public static final RevocationReason AFFILIATION_CHANGED
-
SUPERSEDED
public static final RevocationReason SUPERSEDED
-
CESSATION_OF_OPERATION
public static final RevocationReason CESSATION_OF_OPERATION
-
CERTIFICATE_HOLD
public static final RevocationReason CERTIFICATE_HOLD
-
REMOVE_FROM_CRL
public static final RevocationReason REMOVE_FROM_CRL
-
PRIVILEGE_WITHDRAWN
public static final RevocationReason PRIVILEGE_WITHDRAWN
-
AA_COMPROMISE
public static final RevocationReason AA_COMPROMISE
-
-
Method Detail
-
values
public static RevocationReason[] 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
public static RevocationReason 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
-
getShortName
public String getShortName()
-
getUri
public String getUri()
- Specified by:
getUriin interfaceUriBasedEnum
-
getValue
public int getValue()
-
fromInt
public static RevocationReason fromInt(int value)
-
-