|
40 | 40 | <para>Ensures that the CBOR data is canonical, as specified in RFC7049 section 3.9.</para> |
41 | 41 | <para>Extends strict conformance with the following requirements:</para> |
42 | 42 | <list type="bullet"> |
43 | | - <item> |
44 | | - <description>Integers must be encoded as small as possible.</description> |
45 | | - </item> |
46 | | - <item> |
47 | | - <description>Maps (major type 5) must contain keys sorted by encoding.</description> |
48 | | - </item> |
49 | | - <item> |
50 | | - <description>Indefinite-length items must be made into definite-length items.</description> |
51 | | - </item> |
| 43 | + <item>Integers must be encoded as small as possible.</item> |
| 44 | + <item>Maps (major type 5) must contain keys sorted by encoding.</item> |
| 45 | + <item>Indefinite-length items must be made into definite-length items.</item> |
52 | 46 | </list> |
53 | 47 | </summary> |
54 | 48 | <remarks>To be added.</remarks> |
|
76 | 70 | <para>Ensures that the CBOR data is canonical, as specified by the CTAP v2.0 standard, section 6.</para> |
77 | 71 | <para>Extends strict conformance with the following requirements:</para> |
78 | 72 | <list type="bullet"> |
79 | | - <item> |
80 | | - <description>Maps (major type 5) must contain keys sorted by encoding.</description> |
81 | | - </item> |
82 | | - <item> |
83 | | - <description>Indefinite-length items must be made into definite-length items.</description> |
84 | | - </item> |
85 | | - <item> |
86 | | - <description>Integers must be encoded as small as possible.</description> |
87 | | - </item> |
88 | | - <item> |
89 | | - <description>The representations of any floating-point values are not changed.</description> |
90 | | - </item> |
91 | | - <item> |
92 | | - <description>CBOR tags (major type 6) are not permitted.</description> |
93 | | - </item> |
| 73 | + <item>Maps (major type 5) must contain keys sorted by encoding.</item> |
| 74 | + <item>Indefinite-length items must be made into definite-length items.</item> |
| 75 | + <item>Integers must be encoded as small as possible.</item> |
| 76 | + <item>The representations of any floating-point values are not changed.</item> |
| 77 | + <item>CBOR tags (major type 6) are not permitted.</item> |
94 | 78 | </list> |
95 | 79 | </summary> |
96 | 80 | <remarks>To be added.</remarks> |
|
140 | 124 | <para>Ensures that the CBOR data adheres to strict mode, as specified in RFC7049 section 3.10.</para> |
141 | 125 | <para>Extends lax conformance with the following requirements:</para> |
142 | 126 | <list type="bullet"> |
143 | | - <item> |
144 | | - <description>Maps (major type 5) must not contain duplicate keys.</description> |
145 | | - </item> |
146 | | - <item> |
147 | | - <description>Simple values (major type 7) must be encoded as small a possible and exclude the reserved values 24-31.</description> |
148 | | - </item> |
149 | | - <item> |
150 | | - <description>UTF-8 string encodings must be valid.</description> |
151 | | - </item> |
| 127 | + <item>Maps (major type 5) must not contain duplicate keys.</item> |
| 128 | + <item>Simple values (major type 7) must be encoded as small a possible and exclude the reserved values 24-31.</item> |
| 129 | + <item>UTF-8 string encodings must be valid.</item> |
152 | 130 | </list> |
153 | 131 | </summary> |
154 | 132 | <remarks>To be added.</remarks> |
|
0 commit comments