Skip to main content

RevocationView

Trait RevocationView 

Source
pub trait RevocationView {
    // Required methods
    fn authority_status(&self, id: &str, now: DateTime<Utc>) -> RevocationStatus;
    fn max_crl_age(&self, now: DateTime<Utc>) -> Duration;
}
Expand description

The offline-verifier revocation lens.

Required Methods§

Source

fn authority_status(&self, id: &str, now: DateTime<Utc>) -> RevocationStatus

Status of the authority identified by id at time now.

Source

fn max_crl_age(&self, now: DateTime<Utc>) -> Duration

Age of the freshest CRL consulted (zero when none exist).

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§