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
+39-39Lines changed: 39 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,22 +33,22 @@ author:
33
33
email: chris.bormann@gmx.de
34
34
35
35
normative:
36
-
RFC1950:RFC1950
37
-
RFC1951:RFC1951
38
-
RFC2046:RFC2046
39
-
RFC3986:RFC3986
40
-
RFC8126:RFC8126
41
-
RFC6838:RFC6838
42
-
RFC7515:RFC7515
43
-
RFC7519:RFC7519
44
-
RFC8259:RFC8259
45
-
RFC8392:RFC8392
46
-
RFC8725:RFC8725
47
-
RFC8949:RFC8949
48
-
RFC9052:RFC9052
49
-
RFC9110:RFC9110
50
-
RFC5280:RFC5280
51
-
RFC9596:RFC9596
36
+
RFC1950:
37
+
RFC1951:
38
+
RFC2046:
39
+
RFC3986:
40
+
RFC8126:
41
+
RFC6838:
42
+
RFC7515:
43
+
RFC7519:
44
+
RFC8259:
45
+
RFC8392:
46
+
RFC8725:
47
+
RFC8949:
48
+
RFC9052:
49
+
RFC9110:
50
+
RFC5280:
51
+
RFC9596:
52
52
CORS:
53
53
author:
54
54
org: "WHATWG"
@@ -66,14 +66,14 @@ normative:
66
66
date: "13.02.2021"
67
67
68
68
informative:
69
-
RFC6749:RFC6749
70
-
RFC7662:RFC7662
71
-
RFC7800:RFC7800
72
-
RFC8414:RFC8414
73
-
RFC9458:RFC9458
74
-
RFC9901:RFC9901
75
-
SD-JWT.VC: I-D.ietf-oauth-sd-jwt-vc
76
-
SD-CWT: I-D.ietf-spice-sd-cwt
69
+
RFC6749:
70
+
RFC7662:
71
+
RFC7800:
72
+
RFC8414:
73
+
RFC9458:
74
+
RFC9901:
75
+
I-D.ietf-oauth-sd-jwt-vc:
76
+
I-D.ietf-spice-sd-cwt:
77
77
IANA.MediaTypes:
78
78
author:
79
79
org: "IANA"
@@ -136,7 +136,7 @@ This specification defines a status mechanism called Token Status List (TSL), da
136
136
137
137
# Introduction
138
138
139
-
Token formats secured by JOSE {{RFC7515}} or COSE {{RFC9052}}, such as JWTs {{RFC7519}}, SD-JWTs {{RFC9901}}, SD-JWT VCs {{SD-JWT.VC}}, CWTs {{RFC8392}}, SD-CWTs {{SD-CWT}} and ISO mdoc {{ISO.mdoc}}, have vast possible applications. Some of these applications can involve issuing a token whereby certain semantics about the token or its validity may change over time. Communicating these changes to relying parties in an interoperable manner, such as whether the token is considered invalidated or suspended by its issuer is important for many of these applications.
139
+
Token formats secured by JOSE {{RFC7515}} or COSE {{RFC9052}}, such as JWTs {{RFC7519}}, SD-JWTs {{RFC9901}}, SD-JWT VCs {{I-D.ietf-oauth-sd-jwt-vc}}, CWTs {{RFC8392}}, SD-CWTs {{ I-D.ietf-spice-sd-cwt}} and ISO mdoc {{ISO.mdoc}}, have vast possible applications. Some of these applications can involve issuing a token whereby certain semantics about the token or its validity may change over time. Communicating these changes to relying parties in an interoperable manner, such as whether the token is considered invalidated or suspended by its issuer is important for many of these applications.
140
140
141
141
This document defines a Status List data structure that describes the individual statuses of multiple Referenced Tokens. A Referenced Token may be of any format, but is most commonly a data structure secured by JOSE or COSE. The Referenced Token is referenced by the Status List, which describes the status of the Referenced Token. The statuses of all Referenced Tokens are conveyed via a bit array in the Status List. Each Referenced Token is allocated an index during issuance that represents its position within this bit array. The value of the bit(s) at this index corresponds to the Referenced Token's status. A Status List is provided within a Status List Token protected by cryptographic signature or MAC and this document defines its representations in JWT and CWT format.
142
142
@@ -425,7 +425,7 @@ byte array:
425
425
426
426
encoded (hex):
427
427
428
-
~~~ hex
428
+
~~~
429
429
a2646269747301636c73744a78dadbb918000217015d
430
430
~~~
431
431
@@ -478,7 +478,7 @@ The following additional rules apply:
478
478
479
479
The following is a non-normative example of a Status List Token in JWT format (in the form header.payload):
480
480
481
-
~~~ jwt
481
+
~~~
482
482
{
483
483
"alg": "ES256",
484
484
"kid": "12",
@@ -525,7 +525,7 @@ The following additional rules apply:
525
525
526
526
The following is a non-normative example of a Status List Token in CWT format in Hex:
@@ -572,7 +572,7 @@ By including a "status" claim in a Referenced Token, the Issuer is referencing a
572
572
573
573
## Referenced Token in JOSE {#referenced-token-jose}
574
574
575
-
The Referenced Token MAY be encoded as a "JSON Web Token (JWT)" according to {{RFC7519}}, as an SD-JWT {{RFC9901}}, as an SD-JWT VC {{SD-JWT.VC}} or other formats based on JOSE.
575
+
The Referenced Token MAY be encoded as a "JSON Web Token (JWT)" according to {{RFC7519}}, as an SD-JWT {{RFC9901}}, as an SD-JWT VC {{I-D.ietf-oauth-sd-jwt-vc}} or other formats based on JOSE.
576
576
577
577
The following content applies to the JWT Claims Set:
578
578
@@ -585,7 +585,7 @@ Application of additional restrictions and policies are at the discretion of the
585
585
586
586
The following is a non-normative example of a decoded header and payload of a Referenced Token:
587
587
588
-
~~~ jwt
588
+
~~~
589
589
{
590
590
"alg": "ES256",
591
591
"kid": "11"
@@ -603,7 +603,7 @@ The following is a non-normative example of a decoded header and payload of a Re
603
603
604
604
The following is a non-normative example of a Referenced Token in SD-JWT serialized form as received from an Issuer:
@@ -647,7 +647,7 @@ The resulting payload of the example above:
647
647
648
648
## Referenced Token in COSE {#referenced-token-cose}
649
649
650
-
The Referenced Token MAY be encoded as a "CBOR Web Token (CWT)" object according to {{RFC8392}}, as an SD-CWTs {{SD-CWT}} or as an ISO mdoc according to {{ISO.mdoc}} or other formats based on COSE. Referenced Tokens in CBOR SHOULD share the same core data structure for a status list reference:
650
+
The Referenced Token MAY be encoded as a "CBOR Web Token (CWT)" object according to {{RFC8392}}, as an SD-CWTs {{ I-D.ietf-spice-sd-cwt}} or as an ISO mdoc according to {{ISO.mdoc}} or other formats based on COSE. Referenced Tokens in CBOR SHOULD share the same core data structure for a status list reference:
651
651
652
652
* The `Status` CBOR structure is a Map that MUST include at least one data item that refers to a status mechanism. Each data item in the `Status` CBOR structure comprises a key-value pair, where the key MUST be a CBOR text string (major type 3) specifying the identifier of the status mechanism and the corresponding value defines its contents.
653
653
* `status_list` (status list): REQUIRED when the status mechanism defined in this specification is used. It has the same definition as the `status_list` claim in [](#referenced-token-jose) but MUST be encoded as a `StatusListInfo` CBOR structure with the following fields:
@@ -662,7 +662,7 @@ Application of additional restrictions and policies are at the discretion of the
662
662
663
663
The following is a non-normative example of a Referenced Token in CWT format in Hex:
@@ -1540,7 +1540,7 @@ for their valuable contributions, discussions and feedback to this specification
1540
1540
1541
1541
The following module adheres to ASN.1 specifications {{X.680}} and {{X.690}}. It defines the OID used for OAuth Status Mechanism Key Extended Key Usage.
0 commit comments