PresentationRequest

data class PresentationRequest(val docType: String, val attributes: Set<String> = emptySet(), val namespaces: Map<String, Set<String>> = emptyMap())

What a verifier asks for.

namespaces (namespace → element ids) is the precise form and wins when non-empty — use it for any document whose elements span namespaces (e.g. an ISO 23220 credential with its own namespace). Otherwise attributes are requested in the ISO 18013-5 mDL namespace; both empty means the SDK's default mDL element set.

Constructors

Link copied to clipboard
constructor(docType: String, attributes: Set<String> = emptySet(), namespaces: Map<String, Set<String>> = emptyMap())

Properties

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