COSE decode-only inspection surface (FIP-1253): read an untrusted envelope
into its typed protected header, unprotected header, and recipient list.
See docs/implementation-guide.md, “Wire profile” and “CDDL”.
| Type Alias |
Description |
| Alg |
One of the two content-encryption schemes supported by this package. |
| UnprotectedHeaderMap |
Content unprotected header map. |
| Function |
Description |
| decodeEnvelope |
Decode the envelope at the start of data. Bytes after envelopeLength are untouched detached ciphertext. |
Re-exports CborValue