File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ This document specifies the following new header parameters commonly used alongs
9494Hash_Envelope_Protected_Header = {
9595 ? &(alg : 1) => int,
9696 &(payload_hash_alg: 258) => int
97- &(payload_preimage_content_type: 259) => uint / tstr
97+ ? &(payload_preimage_content_type : 259) => uint / tstr
9898 ? &(payload_location : 260) => tstr
9999 * int / tstr => any
100100}
@@ -115,8 +115,8 @@ Hash_Envelope = #6.18(Hash_Envelope_as_COSE_Sign1)
115115
116116- Label `1` (alg) Cryptographic algorithm to use
117117- Label `258` (payload hash alg) MUST be present in the protected header and MUST NOT be present in the unprotected header.
118- - Label `259` (content type of the preimage of the payload) MAY be present in the protected header or unprotected header.
119- - Label `260` (payload_location) MAY be added to the protected header and MUST NOT be presented in the unprotected header.
118+ - Label `259` (content type of the preimage of the payload) MAY be present in the protected header and MUST NOT be present in the unprotected header.
119+ - Label `260` (payload_location) MAY be present in the protected header and MUST NOT be present in the unprotected header.
120120- Label `3` (content_type) MUST NOT be present in the protected or unprotected headers.
121121
122122Label `3` is easily confused with label `259` payload_preimage_content_type.
You can’t perform that action at this time.
0 commit comments