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
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
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: int, ; The amount 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
~~~~~~~~~~
@@ -1801,6 +1811,7 @@ CBOR encoding:
1801
1811
1802
1812
-08
1803
1813
1814
+
* Add CDDL for CBOR StatusList encoding
1804
1815
* Fix cwt typ value to full media type
1805
1816
* Holders may also fetch and verify Status List Tokens
1806
1817
* Update terminology for referenced token and Status List Token
0 commit comments