Skip to content

Commit ed86717

Browse files
committed
add cddl for statuslist cbor encoding
1 parent 9459928 commit ed86717

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
@@ -358,6 +358,16 @@ This section defines the data structure for a CBOR-encoded Status List:
358358
* `lst`: REQUIRED. Byte string (Major Type 2) that contains the Status List as specified in [](#status-list).
359359
* `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.
360360

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

363373
~~~~~~~~~~
@@ -1801,6 +1811,7 @@ CBOR encoding:
18011811

18021812
-08
18031813

1814+
* Add CDDL for CBOR StatusList encoding
18041815
* Fix cwt typ value to full media type
18051816
* Holders may also fetch and verify Status List Tokens
18061817
* Update terminology for referenced token and Status List Token

0 commit comments

Comments
 (0)