DCQLQuery

@Serializable
data class DCQLQuery(val credentials: DCQLCredentialQueryList<DCQLCredentialQuery>, val credentialSets: NonEmptyList<DCQLCredentialSetQuery>? = null)(source)

Constructors

Link copied to clipboard
constructor(credentials: DCQLCredentialQueryList<DCQLCredentialQuery>, credentialSets: NonEmptyList<DCQLCredentialSetQuery>? = null)

Types

Link copied to clipboard
object Procedures
Link copied to clipboard

Properties

Link copied to clipboard
@SerialName(value = "credentials")
val credentials: DCQLCredentialQueryList<DCQLCredentialQuery>

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
@SerialName(value = "credential_sets")
val credentialSets: NonEmptyList<DCQLCredentialSetQuery>?

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.

Functions

Link copied to clipboard
Link copied to clipboard
fun <Credential : Any> execute(availableCredentials: List<Credential>, credentialFormatExtractor: (Credential) -> CredentialFormatEnum, mdocCredentialDoctypeExtractor: (Credential) -> String, sdJwtCredentialTypeExtractor: (Credential) -> String, jwtVcCredentialTypeExtractor: (Credential) -> List<String>, credentialClaimStructureExtractor: (Credential) -> DCQLCredentialClaimStructure, satisfiesCryptographicHolderBinding: (Credential) -> Boolean, authorityKeyIdentifiers: (Credential) -> Collection<DCQLAuthorityKeyIdentifier>): DCQLQueryMatchingResult
Link copied to clipboard

6.3.1.2. Selecting Credentials