Package org.gudy.bouncycastle.asn1.x509
Class CRLReason
- java.lang.Object
-
- org.gudy.bouncycastle.asn1.ASN1Encodable
-
- org.gudy.bouncycastle.asn1.DERObject
-
- org.gudy.bouncycastle.asn1.ASN1Object
-
- org.gudy.bouncycastle.asn1.DEREnumerated
-
- org.gudy.bouncycastle.asn1.x509.CRLReason
-
- All Implemented Interfaces:
DEREncodable
,DERTags
public class CRLReason extends DEREnumerated
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) }
-
-
Field Summary
Fields Modifier and Type Field Description static int
AA_COMPROMISE
Deprecated.use lower case versionstatic int
aACompromise
static int
AFFILIATION_CHANGED
Deprecated.use lower case versionstatic int
affiliationChanged
static int
CA_COMPROMISE
Deprecated.use lower case versionstatic int
cACompromise
static int
CERTIFICATE_HOLD
Deprecated.use lower case versionstatic int
certificateHold
static int
CESSATION_OF_OPERATION
Deprecated.use lower case versionstatic int
cessationOfOperation
static int
KEY_COMPROMISE
Deprecated.use lower case versionstatic int
keyCompromise
static int
PRIVILEGE_WITHDRAWN
Deprecated.use lower case versionstatic int
privilegeWithdrawn
private static java.lang.String[]
reasonString
static int
REMOVE_FROM_CRL
Deprecated.use lower case versionstatic int
removeFromCRL
static int
superseded
static int
SUPERSEDED
Deprecated.use lower case versionstatic int
unspecified
static int
UNSPECIFIED
Deprecated.use lower case version-
Fields inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
BER, DER
-
Fields inherited from interface org.gudy.bouncycastle.asn1.DERTags
APPLICATION, BIT_STRING, BMP_STRING, BOOLEAN, CONSTRUCTED, ENUMERATED, EXTERNAL, GENERAL_STRING, GENERALIZED_TIME, GRAPHIC_STRING, IA5_STRING, INTEGER, NULL, NUMERIC_STRING, OBJECT_IDENTIFIER, OCTET_STRING, PRINTABLE_STRING, SEQUENCE, SEQUENCE_OF, SET, SET_OF, T61_STRING, TAGGED, UNIVERSAL_STRING, UTC_TIME, UTF8_STRING, VIDEOTEX_STRING, VISIBLE_STRING
-
-
Constructor Summary
Constructors Constructor Description CRLReason(int reason)
CRLReason(DEREnumerated reason)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
Methods inherited from class org.gudy.bouncycastle.asn1.DEREnumerated
getInstance, getInstance, getValue, hashCode
-
Methods inherited from class org.gudy.bouncycastle.asn1.ASN1Object
equals, fromByteArray
-
Methods inherited from class org.gudy.bouncycastle.asn1.DERObject
toASN1Object
-
Methods inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
getDEREncoded, getDERObject, getEncoded, getEncoded
-
-
-
-
Field Detail
-
UNSPECIFIED
public static final int UNSPECIFIED
Deprecated.use lower case version- See Also:
- Constant Field Values
-
KEY_COMPROMISE
public static final int KEY_COMPROMISE
Deprecated.use lower case version- See Also:
- Constant Field Values
-
CA_COMPROMISE
public static final int CA_COMPROMISE
Deprecated.use lower case version- See Also:
- Constant Field Values
-
AFFILIATION_CHANGED
public static final int AFFILIATION_CHANGED
Deprecated.use lower case version- See Also:
- Constant Field Values
-
SUPERSEDED
public static final int SUPERSEDED
Deprecated.use lower case version- See Also:
- Constant Field Values
-
CESSATION_OF_OPERATION
public static final int CESSATION_OF_OPERATION
Deprecated.use lower case version- See Also:
- Constant Field Values
-
CERTIFICATE_HOLD
public static final int CERTIFICATE_HOLD
Deprecated.use lower case version- See Also:
- Constant Field Values
-
REMOVE_FROM_CRL
public static final int REMOVE_FROM_CRL
Deprecated.use lower case version- See Also:
- Constant Field Values
-
PRIVILEGE_WITHDRAWN
public static final int PRIVILEGE_WITHDRAWN
Deprecated.use lower case version- See Also:
- Constant Field Values
-
AA_COMPROMISE
public static final int AA_COMPROMISE
Deprecated.use lower case version- See Also:
- Constant Field Values
-
unspecified
public static final int unspecified
- See Also:
- Constant Field Values
-
keyCompromise
public static final int keyCompromise
- See Also:
- Constant Field Values
-
cACompromise
public static final int cACompromise
- See Also:
- Constant Field Values
-
affiliationChanged
public static final int affiliationChanged
- See Also:
- Constant Field Values
-
superseded
public static final int superseded
- See Also:
- Constant Field Values
-
cessationOfOperation
public static final int cessationOfOperation
- See Also:
- Constant Field Values
-
certificateHold
public static final int certificateHold
- See Also:
- Constant Field Values
-
removeFromCRL
public static final int removeFromCRL
- See Also:
- Constant Field Values
-
privilegeWithdrawn
public static final int privilegeWithdrawn
- See Also:
- Constant Field Values
-
aACompromise
public static final int aACompromise
- See Also:
- Constant Field Values
-
reasonString
private static final java.lang.String[] reasonString
-
-
Constructor Detail
-
CRLReason
public CRLReason(int reason)
-
CRLReason
public CRLReason(DEREnumerated reason)
-
-