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
@@ -362,6 +362,16 @@ This section defines the data structure for a CBOR-encoded Status List:
362
362
* `lst`: REQUIRED. Byte string (Major Type 2) that contains the status values for all the Referenced Tokens it conveys statuses for. The value MUST be the compressed byte array as specified in [](#status-list-byte-array).
363
363
* `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.
364
364
365
+
The following is the CDDL definition of the StatusList structure:
366
+
367
+
~~~ cddl
368
+
StatusList = {
369
+
bits: 1 / 2 / 4 / 8, ; The number of bits used per Referenced Token
370
+
lst: bstr, ; Byte string that contains the Status List
371
+
? aggregation_uri: tstr, ; link to the Status List Aggregation
372
+
}
373
+
~~~
374
+
365
375
The following example illustrates the CBOR representation of the Status List in Hex:
366
376
367
377
~~~~~~~~~~
@@ -1826,6 +1836,7 @@ CBOR encoding:
1826
1836
1827
1837
* introduce dedicated section for compressed byte array of the Status List
1828
1838
* fix Status List definitions
1839
+
* Add CDDL for CBOR StatusList encoding
1829
1840
* add diagram for Status List Aggregation for further explanation
1830
1841
* rename "chunking" of Status List Tokens (for scalability reasons) into "divide .. up"
0 commit comments