Skip to main content

ceremony_audit

Function ceremony_audit 

Source
pub fn ceremony_audit(
    transcript: &CeremonyTranscript,
    verifier: &dyn SignatureVerifier,
    log_entry_payload_hash: Option<&[u8; 32]>,
) -> SignatifResult<()>
Expand description

The audit algorithm (audit-algorithm requirement): verify each member participation signature, verify the aggregate threshold signature against the published aggregate key, confirm at least T of N members participated, cross-reference the payload with the transparency log entry, and confirm timestamp consistency.

log_entry_payload_hash is the hash recovered from the referenced transparency-log sequence number.

ยงErrors

Returns SignatifError::Ceremony with a precise reason for every failed audit step.