DcqlQuery
data class DcqlQuery(val credentialQueries: List<DcqlCredentialQuery>, val credentialSetQueries: List<DcqlCredentialSetQuery>)
DCQL (Digital Credentials Query Language) top-level query.
Use Companion.fromJson to construct an instance from JSON and execute to select credentials which satisfy the query.
Reference: OpenID4VP 1.0 Section 6.
Constructors
Link copied to clipboard
constructor(credentialQueries: List<DcqlCredentialQuery>, credentialSetQueries: List<DcqlCredentialSetQuery>)
Properties
Functions
Link copied to clipboard
suspend fun execute(presentmentSource: PresentmentSource, keyAgreementPossible: List<EcCurve> = emptyList()): DcqlResponse
Executes the DCQL query.