DcApiVerifier
Implements a verifier for the Digital Credentials API, similar to OpenId4VpVerifier for OpenID4VP.
This class creates the request for the Digital Credentials API in createAuthnRequest (see at.asitplus.dcapi.request.verifier.CredentialRequestOptions), which the relying party's frontend needs to pass to the browser (navigator.credentials.get()). The browser forwards it to the holder (see OpenId4VpHolder), which will create the Authentication Response, which will be verified here in validateAuthnResponse.
Constructors
Properties
Creates the at.asitplus.openid.RelyingPartyMetadata, without encryption (see metadataWithEncryption)
Creates the RelyingPartyMetadata, but with parameters set to request encryption of pushed authentication responses, see RelyingPartyMetadata.encryptedResponseEncValues.
Verifies the holder's response against our identifier from clientIdScheme.
Functions
Creates a new authentication request for the W3C Digital Credentials API, i.e. the object that the relying party's frontend needs to pass to the browser in navigator.credentials.get().
Validates an Authentication Response from the Wallet, where input is a signed or unsigned DC API response.