pub enum Reason {
Unspecified,
KeyCompromise,
AuthorityCompromise,
AffiliationChanged,
Superseded,
CessationOfOperation,
CertificateHold,
RemoveFromCrl,
PrivilegeWithdrawn,
AttributeAuthorityCompromise,
}Expand description
RFC 5280 §5.3.1 reasonCode values. Enumeration numbers differ from
ReasonFlags bit positions for privilegeWithdrawn and aACompromise.
Variants§
Unspecified
No more specific reason was stated.
KeyCompromise
Subject private key compromise.
AuthorityCompromise
Certification authority private key compromise.
AffiliationChanged
Subject affiliation changed.
Superseded
Certificate replaced.
CessationOfOperation
The certified operation ceased.
CertificateHold
Temporary suspension.
RemoveFromCrl
Delta CRL removes a prior hold or expired entry; not a new revocation.
PrivilegeWithdrawn
Privilege withdrawn (enumeration 9, reason flag 7).
AttributeAuthorityCompromise
Attribute authority compromise (enumeration 10, reason flag 8).
Trait Implementations§
impl Copy for Reason
impl Eq for Reason
impl StructuralPartialEq for Reason
Auto Trait Implementations§
impl Freeze for Reason
impl RefUnwindSafe for Reason
impl Send for Reason
impl Sync for Reason
impl Unpin for Reason
impl UnsafeUnpin for Reason
impl UnwindSafe for Reason
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more