Checks the key-binding JWT of a presentation (RFC 9901 sections 4.3 and 7.3), in this order, stopping at the first
failure: the JWT is present, has typ kb+jwt and no header members beyond alg and typ, carries iat, aud,
nonce and sd_hash, is signed by the credential's cnf.jwk, and its sd_hash covers exactly the issuer JWT and
the disclosures received (all HOLDER_BINDING_INVALID); then the nonce (NONCE_MISMATCH; without an expected nonce
any value of at least 22 base64url characters passes and is returned so that the caller can record it), the
audience (AUDIENCE_MISMATCH), an iat more than skewSeconds ahead of now or before notBefore - skewSeconds
(CLOCK_SKEW), and an age above maxAgeSeconds (PRESENTATION_EXPIRED).
Checks the key-binding JWT of a presentation (RFC 9901 sections 4.3 and 7.3), in this order, stopping at the first failure: the JWT is present, has
typkb+jwt and no header members beyondalgandtyp, carriesiat,aud,nonceandsd_hash, is signed by the credential'scnf.jwk, and itssd_hashcovers exactly the issuer JWT and the disclosures received (all HOLDER_BINDING_INVALID); then the nonce (NONCE_MISMATCH; without an expectednonceany value of at least 22 base64url characters passes and is returned so that the caller can record it), the audience (AUDIENCE_MISMATCH), aniatmore thanskewSecondsahead ofnowor beforenotBefore - skewSeconds(CLOCK_SKEW), and an age abovemaxAgeSeconds(PRESENTATION_EXPIRED).