DisclosureMetadata

constructor(claimNames: List<String> = emptyList(), arrayDisclosures: List<DisclosureMetadata.ArrayDisclosure> = emptyList(), discloseAll: Boolean = false)

Parameters

claimNames

is the list of claimNames that should be Selectively Disclosable.

arrayDisclosures

is used to allow the individual elements of an array to be Selectively Disclosable. This is in addition to allowing the entire claim to be .

discloseAll

is a convenience to make all claimNames and all array elements individually disclosable.