ProofValidator
Validates the proofs of possession in credential requests of OID4VCI, see validateProofs.
Implemented from OpenID for Verifiable Credential Issuance 1.0 from 2025-09-16.
Constructors
Functions
Provides a fresh nonce to the clients, for incorporating them into the credential proofs.
Validates the proofs in params with validateProofs under the checks they have always been validated with, and returns the keys to bind credentials to, failing with the first rejection of a proof.
Validates every proof of possession in params under policy, see JwtProofChecks and KeyAttestationChecks: a jwt proof (OpenID4VCI 1.0, F.1, F.4), with its key attestation as a child, or an attestation proof (F.3). The nonces of all proofs are consumed only if every proof is accepted, so they are not usable again. The clock is read once, all checks use that time.
Valid proof types for SupportedCredentialFormat.supportedProofTypes.