ietf-rats / ietf-corim-cddl

This repository is abandoned. The adopted I-D can be found at:
https://github.com/ietf-rats-wg/draft-ietf-rats-corim/
2 stars 0 forks source link

attention to JSON encoding #161

Open nedmsmith opened 2 years ago

nedmsmith commented 2 years ago

The current corim doesn't anticipate cases where a JSON encoding might be the CDDL output. For example bit fields &(bit : 1, bit : 2 ...) might have a JSON encoding of {"bit1" / "bit2" / ...}. While it may be possible for a CBOR to JSON converter to reasonably infer the JSON. Such a tool / standard hasn't been defined.

Applying this to corim would also align with IETF RATS conventions for specifications involving CDDL, JSON and CBOR encodings.

nedmsmith commented 2 years ago

Note that the TCG endorsement specification also defines string equivalents whenever there is a numeric code point definition.

nedmsmith commented 2 years ago

two aspects to consider (a) defining JSON signature format and global tagging (b) internal code point definition and how to handle binary values.