verify

fun verify(issuerKey: EcPublicKey): JsonObject

Verifies a SD-JWT according to Section 7.1 of the SD-JWT specification.

Return

the processed SD-JWT payload.

Parameters

issuerKey

the issuer's key to use for verification.

Throws

if the issuer signature or key-binding signature failed to validate.