DCQLCredentialSetQuery

@Serializable
data class DCQLCredentialSetQuery(val options: NonEmptyList<List<DCQLCredentialQueryIdentifier>>, val required: Boolean = true)(source)

6.2. Credential Set Query

A Credential Set Query is an object representing a request for one or more Credentials to satisfy a particular use case with the Verifier.

Constructors

Link copied to clipboard
constructor(options: NonEmptyList<List<DCQLCredentialQueryIdentifier>>, required: Boolean = true)

Properties

Link copied to clipboard
@SerialName(value = "options")
val options: NonEmptyList<List<DCQLCredentialQueryIdentifier>>

REQUIRED. A non-empty array, where each value in the array is a list of Credential Query identifiers representing one set of Credentials that satisfies the use case. The value of each element in the options array is a non-empty array of identifiers which reference elements in credentials.

Link copied to clipboard
@SerialName(value = "required")
val required: Boolean

OPTIONAL. A boolean which indicates whether this set of Credentials is required to satisfy the particular use case at the Verifier. If omitted, the default value is true.

Functions

Link copied to clipboard
fun checkSubmissionRequirements(credentialSubmissions: Set<DCQLCredentialQueryIdentifier>): KmmResult<Unit>