Skip to main content

RevocationCheck

Trait RevocationCheck 

Source
pub trait RevocationCheck {
    // Required method
    fn is_revoked(
        &self,
        checkpoint: &PicPcaPayload,
        exact_pca_bytes: &[u8],
    ) -> bool;
}
Expand description

Revocation state lookup. The default accepts everything; deployments enable it per the PIC Revocation Specification.

Required Methods§

Source

fn is_revoked(&self, checkpoint: &PicPcaPayload, exact_pca_bytes: &[u8]) -> bool

true when the continuity state rooted at this checkpoint is revoked.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§