Skip to main content

verify_proof_signatures

Function verify_proof_signatures 

Source
pub fn verify_proof_signatures(
    proof: &ParsedProof,
    cnf_ed25519_key: Option<&VerifyingKey>,
    resolver: Option<&dyn EnrollmentResolver>,
    now: u64,
) -> Result<VerifiedProof>
Expand description

Verify all component signatures on a parsed request proof.

For unattributed proofs, the public keys come from the proof’s body-protected hs_unattributed_key_set — self-asserted material that proves only internal consistency. For authenticated proofs, every logical signer group resolves through resolver to an enrolled signer-suite record that pins its exact suite, ordered component keys, principal, and epoch; a component verifying under any unpinned key denies.

A missing credential key or a missing resolver is Rejected; neither downgrades to the unattributed branch.