pub enum RevocationStatus {
Unknown,
NotRevoked,
Revoked,
}Expand description
Offline certificate-revocation status, derived from CRLs embedded in the
signature CMS or the document’s /DSS. OCSP/CRL fetching over the network
is out of scope (the project has no network dependency); this checks only
the revocation material already embedded in the file.
Variants§
Unknown
No CRL was available to check against.
NotRevoked
The signer certificate is not listed on any embedded CRL.
Revoked
The signer certificate’s serial appears on an embedded CRL.
Trait Implementations§
Source§impl Clone for RevocationStatus
impl Clone for RevocationStatus
Source§fn clone(&self) -> RevocationStatus
fn clone(&self) -> RevocationStatus
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 moreimpl Copy for RevocationStatus
Source§impl Debug for RevocationStatus
impl Debug for RevocationStatus
impl Eq for RevocationStatus
Source§impl PartialEq for RevocationStatus
impl PartialEq for RevocationStatus
impl StructuralPartialEq for RevocationStatus
Auto Trait Implementations§
impl Freeze for RevocationStatus
impl RefUnwindSafe for RevocationStatus
impl Send for RevocationStatus
impl Sync for RevocationStatus
impl Unpin for RevocationStatus
impl UnsafeUnpin for RevocationStatus
impl UnwindSafe for RevocationStatus
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