Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
reset cbor files
  • Loading branch information
gewarren committed Mar 4, 2022
commit 153a000049d0ac7499585154c9aabe04c37a1a6c
44 changes: 33 additions & 11 deletions xml/System.Formats.Cbor/CborConformanceMode.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,15 @@
<para>Ensures that the CBOR data is canonical, as specified in RFC7049 section 3.9.</para>
<para>Extends strict conformance with the following requirements:</para>
<list type="bullet">
<item>Integers must be encoded as small as possible.</item>
<item>Maps (major type 5) must contain keys sorted by encoding.</item>
<item>Indefinite-length items must be made into definite-length items.</item>
<item>
<description>Integers must be encoded as small as possible.</description>
</item>
<item>
<description>Maps (major type 5) must contain keys sorted by encoding.</description>
</item>
<item>
<description>Indefinite-length items must be made into definite-length items.</description>
</item>
</list>
</summary>
<remarks>To be added.</remarks>
Expand Down Expand Up @@ -70,11 +76,21 @@
<para>Ensures that the CBOR data is canonical, as specified by the CTAP v2.0 standard, section 6.</para>
<para>Extends strict conformance with the following requirements:</para>
<list type="bullet">
<item>Maps (major type 5) must contain keys sorted by encoding.</item>
<item>Indefinite-length items must be made into definite-length items.</item>
<item>Integers must be encoded as small as possible.</item>
<item>The representations of any floating-point values are not changed.</item>
<item>CBOR tags (major type 6) are not permitted.</item>
<item>
<description>Maps (major type 5) must contain keys sorted by encoding.</description>
</item>
<item>
<description>Indefinite-length items must be made into definite-length items.</description>
</item>
<item>
<description>Integers must be encoded as small as possible.</description>
</item>
<item>
<description>The representations of any floating-point values are not changed.</description>
</item>
<item>
<description>CBOR tags (major type 6) are not permitted.</description>
</item>
</list>
</summary>
<remarks>To be added.</remarks>
Expand Down Expand Up @@ -124,9 +140,15 @@
<para>Ensures that the CBOR data adheres to strict mode, as specified in RFC7049 section 3.10.</para>
<para>Extends lax conformance with the following requirements:</para>
<list type="bullet">
<item>Maps (major type 5) must not contain duplicate keys.</item>
<item>Simple values (major type 7) must be encoded as small a possible and exclude the reserved values 24-31.</item>
<item>UTF-8 string encodings must be valid.</item>
<item>
<description>Maps (major type 5) must not contain duplicate keys.</description>
</item>
<item>
<description>Simple values (major type 7) must be encoded as small a possible and exclude the reserved values 24-31.</description>
</item>
<item>
<description>UTF-8 string encodings must be valid.</description>
</item>
</list>
</summary>
<remarks>To be added.</remarks>
Expand Down
Loading