VerifierAttestation

class VerifierAttestation(    val attestationJwt: JwsSigned<JsonWebToken>,     val redirectUri: String,     val useDeprecatedClientIdScheme: Boolean = false) : ClientIdScheme(source)

This Client Identifier Scheme allows the Verifier to authenticate using a JWT that is bound to a certain public key. When the Client Identifier Scheme is verifier_attestation, the Client Identifier MUST equal the sub claim value in the Verifier attestation JWT. The request MUST be signed with the private key corresponding to the public key in the cnf claim in the Verifier attestation JWT. This serves as proof of possession of this key. The Verifier attestation JWT MUST be added to the jwt JOSE Header of the request object. The Wallet MUST validate the signature on the Verifier attestation JWT. The iss claim value of the Verifier Attestation JWT MUST identify a party the Wallet trusts for issuing Verifier Attestation JWTs. If the Wallet cannot establish trust, it MUST refuse the request. If the issuer of the Verifier Attestation JWT adds a redirect_uris claim to the attestation, the Wallet MUST ensure the redirect_uri request parameter value exactly matches one of the redirect_uris claim entries. All Verifier metadata other than the public key MUST be obtained from the client_metadata parameter.

Constructors

Link copied to clipboard
constructor(attestationJwt: JwsSigned<JsonWebToken>, redirectUri: String, useDeprecatedClientIdScheme: Boolean = false)

Properties

Link copied to clipboard
val attestationJwt: JwsSigned<JsonWebToken>
Link copied to clipboard
Link copied to clipboard

Value to use for client_id_scheme for OpenID4VP, only when useDeprecatedClientIdScheme = true.

Link copied to clipboard
Link copied to clipboard

Optional parameter, to be used as iss for signed authorization requests

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Whether to use the deprecated client_id_scheme field from OpenID4VP.