Skip to content

Commit 8b3c09b

Browse files
authored
Merge branch 'main' into status_list_def
2 parents 6a91868 + 233f2ca commit 8b3c09b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

draft-ietf-oauth-status-list.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,16 @@ This section defines the data structure for a CBOR-encoded Status List:
362362
* `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).
363363
* `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.
364364

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+
365375
The following example illustrates the CBOR representation of the Status List in Hex:
366376

367377
~~~~~~~~~~
@@ -1826,6 +1836,7 @@ CBOR encoding:
18261836

18271837
* introduce dedicated section for compressed byte array of the Status List
18281838
* fix Status List definitions
1839+
* Add CDDL for CBOR StatusList encoding
18291840
* add diagram for Status List Aggregation for further explanation
18301841
* rename "chunking" of Status List Tokens (for scalability reasons) into "divide .. up"
18311842

0 commit comments

Comments
 (0)