pub enum RevocationReasonCode {
Unspecified,
KeyCompromise,
CaCompromise,
AffiliationChanged,
Superseded,
CessationOfOperation,
CertificateHold,
PrivilegeWithdrawn,
}Expand description
RFC 5280 §5.3.1 reason codes (subset relevant to Vauban Claims).
Variants§
Unspecified
No specific reason given.
KeyCompromise
Subject’s private key has been compromised.
CaCompromise
CA’s private key has been compromised.
AffiliationChanged
Subject affiliation changed.
Superseded
Replaced by another credential.
CessationOfOperation
Issuing CA / authority no longer operates.
CertificateHold
Temporary hold.
PrivilegeWithdrawn
Subject no longer privileged to hold the credential.
Trait Implementations§
Source§impl Clone for RevocationReasonCode
impl Clone for RevocationReasonCode
Source§fn clone(&self) -> RevocationReasonCode
fn clone(&self) -> RevocationReasonCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RevocationReasonCode
impl Debug for RevocationReasonCode
Source§impl<'de> Deserialize<'de> for RevocationReasonCode
impl<'de> Deserialize<'de> for RevocationReasonCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for RevocationReasonCode
impl Hash for RevocationReasonCode
Source§impl PartialEq for RevocationReasonCode
impl PartialEq for RevocationReasonCode
Source§fn eq(&self, other: &RevocationReasonCode) -> bool
fn eq(&self, other: &RevocationReasonCode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RevocationReasonCode
impl Serialize for RevocationReasonCode
impl Copy for RevocationReasonCode
impl Eq for RevocationReasonCode
impl StructuralPartialEq for RevocationReasonCode
Auto Trait Implementations§
impl Freeze for RevocationReasonCode
impl RefUnwindSafe for RevocationReasonCode
impl Send for RevocationReasonCode
impl Sync for RevocationReasonCode
impl Unpin for RevocationReasonCode
impl UnsafeUnpin for RevocationReasonCode
impl UnwindSafe for RevocationReasonCode
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