Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

attention to JSON encoding #161

Open
nedmsmith opened this issue Oct 29, 2021 · 2 comments
Open

attention to JSON encoding #161

nedmsmith opened this issue Oct 29, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@nedmsmith
Copy link
Collaborator

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
Copy link
Collaborator Author

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

@nedmsmith
Copy link
Collaborator Author

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

@thomas-fossati thomas-fossati added the enhancement New feature or request label Nov 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants