pub enum RevocationReason {
Unspecified = 0,
KeyCompromise = 1,
CaCompromise = 2,
AffiliationChanged = 3,
Superseded = 4,
CessationOfOperation = 5,
CertificateHold = 6,
RemoveFromCrl = 8,
PrivilegeWithdrawn = 9,
AaCompromise = 10,
}展开描述
指明证书被吊销的原因。 参见 RFC 5280 §5.3.1
变体§
Unspecified = 0
KeyCompromise = 1
CaCompromise = 2
AffiliationChanged = 3
Superseded = 4
CessationOfOperation = 5
CertificateHold = 6
RemoveFromCrl = 8
PrivilegeWithdrawn = 9
AaCompromise = 10
Trait 实现§
Source§impl Clone for RevocationReason
impl Clone for RevocationReason
Source§fn clone(&self) -> RevocationReason
fn clone(&self) -> RevocationReason
返回值的副本。 更多信息
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. 更多信息Source§impl Debug for RevocationReason
impl Debug for RevocationReason
Source§impl PartialEq for RevocationReason
impl PartialEq for RevocationReason
impl Copy for RevocationReason
impl Eq for RevocationReason
impl StructuralPartialEq for RevocationReason
自动 Trait 实现§
impl Freeze for RevocationReason
impl RefUnwindSafe for RevocationReason
impl Send for RevocationReason
impl Sync for RevocationReason
impl Unpin for RevocationReason
impl UnsafeUnpin for RevocationReason
impl UnwindSafe for RevocationReason
Blanket 实现§
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. 更多信息