Expand description
Generic COSE_Sign1 envelope (RFC 9052) for CBOR-serializable payloads.
Crypto-agnostic: signing and verification are supplied as closures, with Ed25519 / P-256 / P-384 convenience implementations behind features.
This module is deliberately self-contained — it knows nothing about Profile 0.2 — so it can be extracted into its own crate the moment a second consumer needs it.
Structs§
- Cose
Signed - Generic COSE_Sign1 signed envelope wrapping a payload
T.
Enums§
- Cose
Error - COSE signing and verification errors.
- Signing
Algorithm - Supported COSE signing algorithms.