DcApiRequestValidation

data class DcApiRequestValidation(val validationReport: ValidationReport, val preparationState: DcApiPreparationState, val relyingParty: RelyingPartyValidationResult? = null)(source)

The validationReport of a request through the Digital Credentials API, and the preparationState to answer it with, also if the request is rejected, see DcApiHolder.startAuthorizationResponsePreparation.

Constructors

Link copied to clipboard
constructor(validationReport: ValidationReport, preparationState: DcApiPreparationState, relyingParty: RelyingPartyValidationResult? = null)

Properties

Link copied to clipboard

The result of validating the relying party of an OpenID4VP request carrying registration certificates (WRPRCs), or of any Annex C request, with the relying party if accepted, and what its WRPRCs say in any case, see RelyingPartyValidationResult.untrustedRegistrations. Its report is the at.asitplus.wallet.lib.validation.RelyingPartyChecks child of validationReport for an OpenID4VP request, and validationReport itself for an Annex C request. null for an OpenID4VP request without WRPRCs.

Link copied to clipboard