public enum CrlReason extends Enum<CrlReason>
| Enum Constant and Description |
|---|
AA_COMPROMISE
This reason indicates that it is known or suspected that the
certificate subject's private key has been compromised.
|
AFFILIATION_CHANGED
This reason indicates that the subject's name or other information
has changed.
|
CA_COMPROMISE
This reason indicates that it is known or suspected that the
certificate subject's private key has been compromised.
|
CERTIFICATE_HOLD
This reason indicates that the certificate has been put on hold.
|
CESSATION_OF_OPERATION
This reason indicates that the certificate is no longer needed.
|
KEY_COMPROMISE
This reason indicates that it is known or suspected that the
certificate subject's private key has been compromised.
|
PRIVILEGE_WITHDRAWN
This reason indicates that the privileges granted to the subject of
the certificate have been withdrawn.
|
REMOVE_FROM_CRL
This reason indicates that the certificate was previously on hold
and should be removed from the CRL.
|
SUPERSEDED
This reason indicates that the certificate has been superseded.
|
UNSPECIFIED
This reason indicates that it is unspecified as to why the
certificate has been revoked.
|
| Modifier and Type | Field and Description |
|---|---|
static List<CrlReason> |
PERMITTED_CLIENT_CRLREASONS |
| Modifier and Type | Method and Description |
|---|---|
static CrlReason |
forNameOrText(String text) |
static CrlReason |
forReasonCode(int reasonCode) |
static CrlReason |
fromReason(CRLReason reason) |
int |
getCode() |
String |
getDescription() |
static CrlReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CrlReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CrlReason UNSPECIFIED
public static final CrlReason KEY_COMPROMISE
public static final CrlReason CA_COMPROMISE
public static final CrlReason AFFILIATION_CHANGED
public static final CrlReason SUPERSEDED
public static final CrlReason CESSATION_OF_OPERATION
public static final CrlReason CERTIFICATE_HOLD
public static final CrlReason REMOVE_FROM_CRL
public static final CrlReason PRIVILEGE_WITHDRAWN
public static final CrlReason AA_COMPROMISE
public static CrlReason[] values()
for (CrlReason c : CrlReason.values()) System.out.println(c);
public static CrlReason 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 getCode()
public String getDescription()
public static CrlReason forReasonCode(int reasonCode)
Copyright © 2018. All rights reserved.