File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -89,26 +89,26 @@ This document specifies the following new header parameters commonly used alongs
8989# Hash Envelope CDDL
9090
9191~~~ cddl
92+ Hash_Envelope = # 6.18(Hash_Envelope_as_COSE_Sign1)
93+
94+ Hash_Envelope_as_COSE_Sign1 = [
95+ protected : bstr .cbor Hash_Envelope_Protected_Header,
96+ unprotected : Hash_Envelope_Unprotected_Header,
97+ payload : bstr / nil,
98+ signature : bstr
99+ ]
100+
92101Hash_Envelope_Protected_Header = {
93102 ? &(alg : 1) => int,
94103 &(payload_hash_alg: 258) => int
95104 ? &(payload_preimage_content_type : 259) => uint / tstr
96105 ? &(payload_location : 260) => tstr
97- * int / tstr => any
106+ * ( int / tstr) => any
98107}
99108
100109Hash_Envelope_Unprotected_Header = {
101- * int / tstr => any
110+ * ( int / tstr) => any
102111}
103-
104- Hash_Envelope_as_COSE_Sign1 = [
105- protected : bstr .cbor Hash_Envelope_Protected_Header,
106- unprotected : Hash_Envelope_Unprotected_Header,
107- payload : bstr / nil,
108- signature : bstr
109- ]
110-
111- Hash_Envelope = # 6.18(Hash_Envelope_as_COSE_Sign1)
112112~~~
113113
114114- Label `1` (alg) Cryptographic algorithm to use
You can’t perform that action at this time.
0 commit comments