pub enum OcspRevokeReason {
Unspecified,
KeyCompromise,
CaCompromise,
AffiliationChanged,
Superseded,
CessationOfOperation,
CertificateHold,
RemoveFromCrl,
PrivilegeWithdrawn,
AaCompromise,
Other(i32),
}Expand description
CRL revocation reason codes (RFC 5280 §5.3.1).
Carried inside OcspSingleStatus and SingleRespStatus when the
certificate status is OcspCertStatus::Revoked. A value of None means
no reason extension was present in the response (OpenSSL returns
OCSP_REVOKED_STATUS_NOSTATUS, i.e. -1).
Variants§
Unspecified
unspecified (0).
KeyCompromise
keyCompromise (1).
CaCompromise
cACompromise (2).
AffiliationChanged
affiliationChanged (3).
Superseded
superseded (4).
CessationOfOperation
cessationOfOperation (5).
CertificateHold
certificateHold (6).
RemoveFromCrl
removeFromCRL (8).
PrivilegeWithdrawn
privilegeWithdrawn (9).
AaCompromise
aACompromise (10).
Other(i32)
Any other numeric reason code (forward-compatibility guard).
Trait Implementations§
Source§impl Clone for OcspRevokeReason
impl Clone for OcspRevokeReason
Source§fn clone(&self) -> OcspRevokeReason
fn clone(&self) -> OcspRevokeReason
Returns a duplicate 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 OcspRevokeReason
impl Debug for OcspRevokeReason
Source§impl PartialEq for OcspRevokeReason
impl PartialEq for OcspRevokeReason
impl Copy for OcspRevokeReason
impl Eq for OcspRevokeReason
impl StructuralPartialEq for OcspRevokeReason
Auto Trait Implementations§
impl Freeze for OcspRevokeReason
impl RefUnwindSafe for OcspRevokeReason
impl Send for OcspRevokeReason
impl Sync for OcspRevokeReason
impl Unpin for OcspRevokeReason
impl UnwindSafe for OcspRevokeReason
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