veraison / go-cose

go library for CBOR Object Signing and Encryption (COSE)
Mozilla Public License 2.0
50 stars 26 forks source link

Where is the `cty` tag registered #105

Closed OR13 closed 1 year ago

OR13 commented 1 year ago

https://github.com/veraison/go-cose/blob/ebba05d25c1dc9a5eed3acf25446b7931291e1f4/headers_test.go#L31

Not showing up in this list: https://www.iana.org/assignments/cose/cose.xhtml

What is its integer mapping?

qmuntal commented 1 year ago

cty is an abbreviation for content type, which refers to a COSE header parameter with label 3.

OR13 commented 1 year ago

picard-face-palm