Verifies a status list token and returns the list. The checks run in this order and the first failure decides:
ES256 signature by one of keys with typstatuslist+jwt (the header kid selects the key; without one every key
is tried), well-formed claims, sub === expectedUri, iat not after now + skew, age now - iat not above
maxAgeSeconds (an age equal to it passes), exp not reached (now >= exp + skew is stale), then bits and an
lst that inflates within the size limit. All token problems are reported as STATUS_LIST_INVALID except the two
freshness rules, which are STATUS_LIST_STALE. A list found in cache skips the signature check and the inflation
but goes through the same sub, iat, age and exp checks. Errors that are not about the token (an unavailable
crypto backend) and non-finite now, maxAgeSeconds or skewSeconds are thrown.
Verifies a status list token and returns the list. The checks run in this order and the first failure decides: ES256 signature by one of
keyswithtypstatuslist+jwt(the headerkidselects the key; without one every key is tried), well-formed claims,sub === expectedUri,iatnot afternow + skew, agenow - iatnot abovemaxAgeSeconds(an age equal to it passes),expnot reached (now >= exp + skewis stale), thenbitsand anlstthat inflates within the size limit. All token problems are reported as STATUS_LIST_INVALID except the two freshness rules, which are STATUS_LIST_STALE. A list found incacheskips the signature check and the inflation but goes through the samesub,iat, age andexpchecks. Errors that are not about the token (an unavailable crypto backend) and non-finitenow,maxAgeSecondsorskewSecondsare thrown.