You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. MUST reject any encoded major type 7 values other than `false`, `true`, `null`, and the floating point values.
181
188
{:start="2"}
182
189
190
+
## Strings
191
+
192
+
dCBOR encoders:
193
+
194
+
1. MUST only emit text strings that are in Unicode Normalization Form C (NFC) {{UNICODE-NORM}}.
195
+
196
+
dCBOR decoders:
197
+
198
+
2. MUST reject any encoded text strings that are not in NFC.
199
+
183
200
# CDDL support, Declarative Tag
184
201
185
202
Similar to the CDDL {{-CDDL}} support in CDE {{CDE}}, this specification adds two CDDL control operators that can be used to specify that the data items should be encoded in CBOR Common Deterministic Encoding (CDE), with the dCBOR application profile applied as well.
@@ -251,7 +268,7 @@ Vulnerabilities regarding dCBOR will revolve around whether an attacker can find
251
268
252
269
RFC Editor: please replace RFCXXXX with the RFC number of this RFC and remove this note.
253
270
254
-
This document requests IANA to register the following CBOR tag in the "CBOR Tags" registry of {{IANACBORTAGS}}:
271
+
IANA has registered the following CBOR tag in the "CBOR Tags" registry of {{IANACBORTAGS}}:
255
272
256
273
| Tag | Data Item | Semantics | Reference |
257
274
|:----|:----------|:----------|:----------|
@@ -266,9 +283,77 @@ This document requests IANA to register the contents of Table 1 into the registr
266
283
| .dcborseq | \[RFCXXXX\] |
267
284
{: title="CDDL Control Operators for dCBOR"}
268
285
286
+
# Appendix A: dCBOR Numeric Test Vectors
287
+
288
+
The following tables provide common and edge-case numeric test vectors for dCBOR encoders and decoders, and are intended to exercise the requirements of this specification.
0 commit comments