DcqlCredentialQuery

data class DcqlCredentialQuery(val id: String, val format: String, val meta: JsonObject, val mdocDocType: String? = null, val vctValues: List<String>? = null, val claims: List<RequestedClaim>, val claimSets: List<DcqlClaimSet>, claimIdToClaim: Map<String, RequestedClaim>)

DCQL Credential Query.

Reference: OpenID4VP 1.0 Section 6.1.

Constructors

Link copied to clipboard
constructor(id: String, format: String, meta: JsonObject, mdocDocType: String? = null, vctValues: List<String>? = null, claims: List<RequestedClaim>, claimSets: List<DcqlClaimSet>, claimIdToClaim: Map<String, RequestedClaim>)

Properties

Link copied to clipboard

a list of claims being requested.

Link copied to clipboard

a list of claim sets.

Link copied to clipboard

the requested format of the credential e.g. mso_mdoc or dc+sd-jwt.

Link copied to clipboard
val id: String

the assigned identifier for the Credential Query.

Link copied to clipboard
val mdocDocType: String? = null

the ISO mdoc doctype or null if format isn't mso_mdoc.

Link copied to clipboard
val meta: JsonObject
Link copied to clipboard
val vctValues: List<String>? = null

the array of Verifiable Credential Types or null if format isn't dc+sd-jwt.