DcqlProcessedResponse

Helper object that organizes verified presentation response, so that presentation documents and claims can be accessed in terms of DCQL ids.

TODO: currently id mapping for ISO 18013 protocols is built based on docType/VCT. Once/if docRequestId is generally available, this can be improved.

Parameters

dcql

DCQL that was used to generate the request

presentations

a list of verified credential presentations generated in the response

Constructors

Link copied to clipboard
constructor(dcql: String, presentations: List<VerifiedPresentation>)

Types

Link copied to clipboard

Container object that contains original credential presentation as VerifiedPresentation and the mapping from DCQL claim ids to the Claim in the presentation.

Properties

Link copied to clipboard

Mapping of DCQL credential query id to the verified credential presentation returned for that query.