putClaimDisclosureDigests

suspend fun JsonObjectBuilder.putClaimDisclosureDigests(disclosures: List<JsonArray>, digestAlgorithm: Algorithm): JsonObjectBuilder

Creates and inserts the digests for selectively disclosable object properties into a JSON Object as defined SD-JWT 4.2.4.1.

Receiver

the JsonObjectBuilder to insert the digest clai into.

Return

the JsonObjectBuilder.

Parameters

disclosures

the list of JsonArrays representing the disclosures.

digestAlgorithm

the digest algorithm to use.