Expand description
COSE signature verification for proof CWTs.
After the structural parser validates headers, claims, and plan topology,
this module reconstructs the COSE Sig_structure and verifies each
component signature against the resolved key material:
- Unattributed proofs: keys from the self-asserted
COSE_KeySetin the body protected header (hs_unattributed_key_set). - Authenticated proofs: keys from the credential
cnf-resolved signer-suite record (provided by the caller).
Uses coset’s built-in CoseSign1::verify_detached_signature and
CoseSign::verify_detached_signature for Sig_structure construction.
Structs§
- Verified
Approver - One additional enrolled logical signer that approved this request.
- Verified
Proof - What a successful verification establishes about the proof’s signers.
Functions§
- verify_
proof_ signatures - Verify all component signatures on a parsed request proof.
- verify_
response_ proof - Verify a response proof against the enrolled service identity for the service domain the request was addressed to, and against the exact request it answers.