pub trait RevocationCheckpointAuthority {
// Required method
fn verify_current_complete(
&self,
grant: &ConsentGrant,
checkpoint: &RevocationCheckpoint,
receipts: &[RevocationReceipt],
current_time_unix: u64,
) -> Result<(), RevocationSnapshotError>;
}Expand description
External trusted store/ledger checkpoint verifier. It must authenticate the checkpoint, prove snapshot completeness (including absence), enforce freshness against persisted anti-rollback state, and fail closed if any part is unknown.
Required Methods§
fn verify_current_complete( &self, grant: &ConsentGrant, checkpoint: &RevocationCheckpoint, receipts: &[RevocationReceipt], current_time_unix: u64, ) -> Result<(), RevocationSnapshotError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".