pub struct NoRevocationCheck;Expand description
A no-op RevocationChecker that accepts all certificates without
consulting OCSP or CRL.
Use this when revocation checking is managed out-of-band, not required for the deployment, or during testing with synthetic certificates.
§Security
This disables all certificate revocation checks. Use only in environments where revocation is verified by other means, or in testing. Never use in production without explicit awareness that revoked certificates will be accepted.
Trait Implementations§
Source§impl Debug for NoRevocationCheck
impl Debug for NoRevocationCheck
Source§impl RevocationChecker for NoRevocationCheck
impl RevocationChecker for NoRevocationCheck
Source§fn check(&self, _cert: &Certificate) -> Result<(), SmimeError>
fn check(&self, _cert: &Certificate) -> Result<(), SmimeError>
Check whether
cert has been revoked. Read moreAuto Trait Implementations§
impl Freeze for NoRevocationCheck
impl RefUnwindSafe for NoRevocationCheck
impl Send for NoRevocationCheck
impl Sync for NoRevocationCheck
impl Unpin for NoRevocationCheck
impl UnsafeUnpin for NoRevocationCheck
impl UnwindSafe for NoRevocationCheck
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