Expand description
COSE_Sign1 — CBOR-encoded signature wrapper (RFC 8152).
Wraps a single signature in the COSE_Sign1 structure:
COSE_Sign1 = [
protected : bstr .cbor {1: algorithm},
unprotected : {},
payload : bstr,
signature : bstr
]Used in IoT and edge computing for compact binary signatures. The implementation uses a minimal CBOR encoder for the specific COSE_Sign1 structure — no external CBOR dependency.
Modules§
- alg
- Algorithm identifiers (subset of IANA COSE Algorithms registry).
Structs§
- Cose
Sign1 - A COSE_Sign1 structure.
Enums§
- Cose
Error - Errors during COSE operations.
Constants§
- COSE_
ALG_ PARAM - Standard COSE algorithm parameter key.
- COSE_
SIGN1_ TAG - CBOR tag for COSE_Sign1 (RFC 8152 §4.1).