status-list only.Expand description
The IETF Token Status List (draft-ietf-oauth-status-list-21): the status claim of a
referenced token, the status list and the status list token.
Section numbers below are those of draft 21. The module implements its JSON and JWT
formats. It does not implement the CBOR and CWT formats (§4.3, §5.2, §6.3), historical
resolution (§8.4), following an aggregation_uri (§9, though StatusList carries
one), caching by ttl (§13.7, though StatusListToken carries it) or the X.509
extended key usage (§10).
The draft defines the status claim for any JWT (§6.1), so the module serves every
credential format of the crate: SD-JWT VCs and VCDM 2.0 credentials secured with SD-JWT
(sd_jwt_vc, feature sd-jwt) as much as JWT credentials of either
profile (vc). The validators of both hand the claim to a
StatusCheck as
CredentialStatus::StatusClaim.
Statusis the claim,StatusListRefitsstatus_listmechanism andStatusMechanismone mechanism of it.StatusListis the list (§4): oneStatusTypeof 1, 2, 4 or 8 bits per referenced token, ZLIB-compressed in itslstmember.StatusListTokenis the signed list (§5.1), issued withsignand read withstatus_of.StatusListCheck(featuredid-webas well) is theStatusCheckthat fetches the token a reference names over anHttpClientand verifies it (§8).
Structs§
- Status
- The
statusclaim of a referenced token: at least one status mechanism,status_listbeing the one this crate implements. - Status
List - A status list (Token Status List §4): one status of
bitsbits per referenced token, packed into a byte array from the least significant bit up, ZLIB-compressed and base64url-encoded aslstin JSON. - Status
List Check did-web - A
StatusCheckfor the Token Status List: for thestatusclaim of an SD-JWT credential or of a JWT credential (CredentialStatus::StatusClaim), fetches the status list token from the referenced URI with anHttpClient, verifies it was signed by the key its header names (KeyReference::from_jwswith the token’siss), resolved forKeyRole::Issuer, and reads the status at the referenced index (Token Status List §8). - Status
List Ref - A reference to a status list token (
status.status_list): the token’s URI and the index of the referenced token in its list. - Status
List Token - The claims of a status list token in JWT format (Token Status List §5.1).
- Status
Type - A status type value (Token Status List §7): a number in
0..=255, with the registered meanings as constants.
Enums§
- Status
List Error - Why a status list or status list token could not be used.
- Status
Mechanism - One mechanism of a
Statusclaim.