Disclosure

@Serializable
data class Disclosure(val queryID: String, val credentialID: String, val claims: List<List<PathElement>>, val alwaysDisclosed: List<List<PathElement>> = emptyList(), val retained: List<List<PathElement>> = emptyList())(source)

What a selection would disclose from one credential.

Constructors

Link copied to clipboard
constructor(queryID: String, credentialID: String, claims: List<List<PathElement>>, alwaysDisclosed: List<List<PathElement>> = emptyList(), retained: List<List<PathElement>> = emptyList())

Properties

Link copied to clipboard
@SerialName(value = "always_disclosed")
val alwaysDisclosed: List<List<PathElement>>

An SD-JWT VC's claims its issuer didn't make selectively disclosable: the Verifier receives them whatever the selection. Show them with claims.

Link copied to clipboard

The claims it would disclose, as paths.

Link copied to clipboard
@SerialName(value = "credential_id")
val credentialID: String

The credential.

Link copied to clipboard
@SerialName(value = "query_id")
val queryID: String

The query it answers.

Link copied to clipboard

The claims the Verifier says it will keep (an mdoc query's intent_to_retain): show that with them.