MdocQueryData

data class MdocQueryData(val id: String?, val multiple: Boolean, val docType: String, val namespaces: List<MdocQueryData.QueryNamespace>, val zkRequested: Boolean = false, val zkRequired: Boolean = false, val zkSystemSpecIds: List<String>? = null, val keyBindingRequired: Boolean = true) : QueryData

Details about query for a particular ISO mdoc-formatted credential in DCQL query.

Parameters

docType

docType of this credential

namespaces

queried claims grouped by their namespaces

zkRequested

whether zero-knowledge proof presentation was requested

zkRequired

whether zero-knowledge proof presentation is required

zkSystemSpecIds

allowed ZK system spec identifiers, or null if unrestricted

keyBindingRequired

whether cryptographic key binding is required

Constructors

Link copied to clipboard
constructor(id: String?, multiple: Boolean, docType: String, namespaces: List<MdocQueryData.QueryNamespace>, zkRequested: Boolean = false, zkRequired: Boolean = false, zkSystemSpecIds: List<String>? = null, keyBindingRequired: Boolean = true)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class QueryClaim(val name: String, val identifier: String?)

Query for a claim

Link copied to clipboard
data class QueryNamespace(val namespace: String, val claims: List<MdocQueryData.QueryClaim>)

List of queried claims for a particular namespace

Properties

Link copied to clipboard

Map of namespace names in the query claims to a map of all the queries in that namespace indexed by the element name.

Link copied to clipboard
Link copied to clipboard
open override val id: String?

id of the query

Link copied to clipboard
Link copied to clipboard
open override val multiple: Boolean

true if multiple credentials of the given type should be returned

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard