Commit 65b3554
committed
feat: add jwk and jwk-set key codecs
Adds the JSON sister of the cose-key family from #400. Uses single-byte
codes adjacent to that block so JWK-based identifiers do not pay an
extra prefix byte forever.
* jwk (0x44): JSON-encoded JWK per RFC 7517 section 4
* jwk-set (0x45): JSON-encoded JWK Set per RFC 7517 section 5
The existing jwk_jcs-pub (0xeb51) and jwk_jcs-priv (0x1316) entries
remain; they are a strict canonical-JCS subset suited to stable peer
IDs. The new entries cover full RFC 7517 JWK as a self-describing
container; choose jwk_jcs-* when deterministic encoding matters and
jwk/jwk-set when interoperating with arbitrary RFC 7517 producers.1 parent 45c88b8 commit 65b3554
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
0 commit comments