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
Copy file name to clipboardExpand all lines: draft-ietf-oauth-status-list.md
+11
Original file line number
Diff line number
Diff line change
@@ -358,6 +358,16 @@ This section defines the data structure for a CBOR-encoded Status List:
358
358
* `lst`: REQUIRED. Byte string (Major Type 2) that contains the Status List as specified in [](#status-list).
359
359
* `aggregation_uri`: OPTIONAL. Text string (Major Type 3) that contains a URI to retrieve the Status List Aggregation for this type of Referenced Token. See section [](#aggregation) for further detail.
360
360
361
+
The following is the CDDL definition of the StatusList structure:
362
+
363
+
~~~ cddl
364
+
StatusList = {
365
+
bits: 1 / 2 / 4 / 8, ; The number of bits used per Referenced Token
366
+
lst: bstr, ; Byte string that contains the Status List
367
+
? aggregation_uri: tstr, ; link to the Status List Aggregation
368
+
}
369
+
~~~
370
+
361
371
The following example illustrates the CBOR representation of the Status List in Hex:
362
372
363
373
~~~~~~~~~~
@@ -1820,6 +1830,7 @@ CBOR encoding:
1820
1830
1821
1831
-09
1822
1832
1833
+
* Add CDDL for CBOR StatusList encoding
1823
1834
* add diagram for Status List Aggregation for further explanation
1824
1835
* rename "chunking" of Status List Tokens (for scalability reasons) into "divide .. up"
0 commit comments