Skip to main content

verify_revocation_context

Function verify_revocation_context 

Source
pub async fn verify_revocation_context(
    ctx: &FullContext,
    resolver: &WebResolver,
) -> Result<KeyRevocation, AcdpError>
Expand description

verify_revocation_body for a retrieved FullContext: the content_hash is recomputed over the raw received body (RFC-ACDP-0001 §5.7), so a revocation whose producer spelled a timestamp differently from this crate’s typed rendering still verifies. Prefer this whenever the whole context is at hand.