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

COSE-Sign1-corim payload doesn't use global code point for unsigned-corim-map #114

Open nedmsmith opened 3 years ago

nedmsmith commented 3 years ago

Should payload: bstr .cbor unsigned-corim-map in COSE-Sign1-corim us the global code point for unsigned-corim-map?

E.g., payload: bstr .cbor #6.501(unsigned-corim-map)

thomas-fossati commented 3 years ago

Should payload: bstr .cbor unsigned-corim-map in COSE-Sign1-corim us the global code point for unsigned-corim-map?

Why? I don't see any ambiguity that would justify the extra tagging.

nedmsmith commented 3 years ago

Can a parser that only understands 506 take a hand off from a signed-corim parser that can't parse 506 or unsigned-corim?

thomas-fossati commented 3 years ago

Can a parser that only understands 506 take a hand off from a signed-corim parser that can't parse 506 or unsigned-corim?

yes, I think so: an hypothetical CoRIMParser goes through unsigned-corim-map and finds out 506 in one of the comid.tags. It starts CoMIDParser feeding it with the decap buffer and waits until the result are ready.