public final class ReasonCode extends ExtensionValue
id-ce-cRLReason OBJECT IDENTIFIER ::= { id-ce 21 }
-- reasonCode ::= { CRLReason }
CRLReason ::= ENUMERATED {
unspecified (0),
keyCompromise (1),
cACompromise (2),
affiliationChanged (3),
superseded (4),
cessationOfOperation (5),
certificateHold (6),
removeFromCRL (8),
privilegeWithdrawn (9),
aACompromise (10)
}
(as specified in RFC 3280 http://www.ietf.org/rfc/rfc3280.txt)| Modifier and Type | Field and Description |
|---|---|
static byte |
AA_COMPROMISE |
static byte |
AFFILIATION_CHANGED |
static ASN1Type |
ASN1
ASN.1 Encoder/Decoder.
|
static byte |
CA_COMPROMISE |
static byte |
CERTIFICATE_HOLD |
static byte |
CESSATION_OF_OPERATION |
static byte |
KEY_COMPROMISE |
static byte |
PRIVILEGE_WITHDRAWN |
static byte |
REMOVE_FROM_CRL |
static byte |
SUPERSEDED |
static byte |
UNSPECIFIED |
encoding| Constructor and Description |
|---|
ReasonCode(byte[] encoding) |
| Modifier and Type | Method and Description |
|---|---|
void |
dumpValue(StringBuilder sb,
String prefix) |
byte[] |
getEncoded()
Returns encoded form of the object.
|
CRLReason |
getReason() |
dumpValuepublic static final byte UNSPECIFIED
public static final byte KEY_COMPROMISE
public static final byte CA_COMPROMISE
public static final byte AFFILIATION_CHANGED
public static final byte SUPERSEDED
public static final byte CESSATION_OF_OPERATION
public static final byte CERTIFICATE_HOLD
public static final byte REMOVE_FROM_CRL
public static final byte PRIVILEGE_WITHDRAWN
public static final byte AA_COMPROMISE
public static final ASN1Type ASN1
public ReasonCode(byte[] encoding)
throws IOException
IOExceptionpublic byte[] getEncoded()
ExtensionValuegetEncoded in class ExtensionValuepublic CRLReason getReason()
public void dumpValue(StringBuilder sb, String prefix)
dumpValue in class ExtensionValue