DCQLQuery
@Serializable
Constructors
Link copied to clipboard
constructor(credentials: DCQLCredentialQueryList<DCQLCredentialQuery>, credentialSets: NonEmptyList<DCQLCredentialSetQuery>? = null)
Types
Properties
Link copied to clipboard
OID4VP 1.0: REQUIRED. A non-empty array of Credential Queries as defined in Section 6.1 that specify the requested credentials.
Link copied to clipboard
OID4VP 1.0: OPTIONAL. A non-empty array of credential set queries as defined in Section 6.2 that specifies additional constraints on which of the requested Credentials to return.
Link copied to clipboard
Functions
Link copied to clipboard
fun checkCredentialSetQueryRequirements(credentialSubmissions: Set<DCQLCredentialQueryIdentifier>): KmmResult<Unit>
Link copied to clipboard
fun <DCQLCredentialQueryResponse : Any> checkSubmissionRequirements(dcqlQueryResponse: DCQLQueryResponse<DCQLCredentialQueryResponse>, parseIsoMdocCredential: (DCQLCredentialQueryResponse) -> DCQLIsoMdocCredential, parseSdJwtCredential: (DCQLCredentialQueryResponse) -> DCQLSdJwtCredential, parseVcJwsCredential: (DCQLCredentialQueryResponse) -> DCQLVcJwsCredential): KmmResult<Unit>
Link copied to clipboard
6.3.1.2. Selecting Credentials
Link copied to clipboard
Renders this DCQL query as an ISO 18013-5 DeviceRequest, to be used for ISO/IEC 18013-7 Annex C flows over the W3C Digital Credentials API.