Skip to main content

RevocationSource

Trait RevocationSource 

Source
pub trait RevocationSource {
    // Required method
    fn status(&self, grant_id: &str, path: &str) -> RevocationStatus;
}
Expand description

Resolves revocation-at-signing-time for a grant. Implementations back onto Concordium, the Treeship Hub, or a signed url_json list (spec §9 step 4). The embedded mandate.revocation.revoked_at is NOT an authority for non-revocation, so verification defaults to NoRevocationSource, which reports Unknown and drives an honest Unverified verdict.

Required Methods§

Source

fn status(&self, grant_id: &str, path: &str) -> RevocationStatus

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§