Enum webpki::RevocationReason
source · pub enum RevocationReason {
Unspecified,
KeyCompromise,
CaCompromise,
AffiliationChanged,
Superseded,
CessationOfOperation,
CertificateHold,
RemoveFromCrl,
PrivilegeWithdrawn,
AaCompromise,
}
Expand description
Identifies the reason a certificate was revoked. See RFC 5280 §5.3.11
Variants§
Unspecified
Unspecified should not be used, and is instead assumed by the absence of a RevocationReason extension.
KeyCompromise
CaCompromise
AffiliationChanged
Superseded
CessationOfOperation
CertificateHold
RemoveFromCrl
RemoveFromCrl only appears in delta CRLs that are unsupported.
PrivilegeWithdrawn
AaCompromise
Trait Implementations§
source§impl Clone for RevocationReason
impl Clone for RevocationReason
source§fn clone(&self) -> RevocationReason
fn clone(&self) -> RevocationReason
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RevocationReason
impl Debug for RevocationReason
source§impl PartialEq<RevocationReason> for RevocationReason
impl PartialEq<RevocationReason> for RevocationReason
source§fn eq(&self, other: &RevocationReason) -> bool
fn eq(&self, other: &RevocationReason) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.