DCQLQuery
@Serializable
Constructors
Link copied to clipboard
constructor(credentials: DCQLCredentialQueryList<DCQLCredentialQuery>, credentialSets: NonEmptyList<DCQLCredentialSetQuery>? = null)
Types
Properties
Link copied to clipboard
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")
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.
Link copied to clipboard
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