Disclosure
data class Disclosure(val salt: String, val claimName: String?, val claimValue: JsonElement, val disclosureString: String)
Represents a parsed SD-JWT disclosure according to RFC 9901 Section 5.1.
A disclosure is either:
An object property disclosure:
[salt, claimName, claimValue]An array element disclosure:
[salt, claimValue]
Properties
Functions
Link copied to clipboard
Calculates the base64url-encoded digest of this disclosure using the given digestAlgorithm.
Link copied to clipboard
Validates the internal structure and contents of this Disclosure according to RFC 9901.