Expand description
Bounded COSE object parser for the proof-CWT profile.
Parses an untagged COSE object (COSE_Sign1 or COSE_Sign), validates all
protected headers, crit sets, typ, hs_domain, and the signature plan,
then decodes the claims payload.
This parser does not verify cryptographic signatures — it performs the
bounded structural parse and profile-rule validation that must precede
signature verification. Signature verification uses the extracted
ParsedProof fields with the existing hyprstream_crypto COSE primitives.
Structs§
- Parsed
Proof - A parsed and profile-validated proof-CWT, ready for signature verification.
- Parsed
Signature - A single signature entry extracted from the COSE object.
Enums§
- Cose
Structure - Which COSE structure the proof uses.