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
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