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 draft 23: REQUIRED. A non-empty array of Credential Queries as defined in Section 6.1 that specify the requested Verifiable Credentials.

Link copied to clipboard
@SerialName(value = "credential_sets")
val credentialSets: NonEmptyList<DCQLCredentialSetQuery>? = null

OID4VP draft 23: OPTIONAL. A non-empty array of credential set queries as defined in Section 6.2 that specifies additional constraints on which of the requested Verifiable Credentials to return.

Functions

Link copied to clipboard
fun <Credential : Any> execute(    availableCredentials: List<Credential>,     credentialFormatExtractor: (Credential) -> CredentialFormatEnum,     mdocCredentialDoctypeExtractor: (Credential) -> String,     sdJwtCredentialTypeExtractor: (Credential) -> String,     credentialClaimStructureExtractor: (Credential) -> DCQLCredentialClaimStructure): KmmResult<DCQLQueryResult<Credential>>

6.3.1.2. Selecting Credentials