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
sourceimpl Clone for RevocationReason
impl Clone for RevocationReason
sourcefn clone(&self) -> RevocationReason
fn clone(&self) -> RevocationReason
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RevocationReason
impl Debug for RevocationReason
sourceimpl PartialEq<RevocationReason> for RevocationReason
impl PartialEq<RevocationReason> for RevocationReason
sourcefn eq(&self, other: &RevocationReason) -> bool
fn eq(&self, other: &RevocationReason) -> bool
sourceimpl TryFrom<u8> for RevocationReason
impl TryFrom<u8> for RevocationReason
impl Copy for RevocationReason
impl Eq for RevocationReason
impl StructuralEq for RevocationReason
impl StructuralPartialEq for RevocationReason
Auto Trait Implementations
impl RefUnwindSafe for RevocationReason
impl Send for RevocationReason
impl Sync for RevocationReason
impl Unpin for RevocationReason
impl UnwindSafe for RevocationReason
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more