verifySdJwt

fun verifySdJwt(input: String, publicKey: CryptoPublicKey?): Verifier.VerifyCredentialResult

Validates the content of a SD-JWT, expected to contain a VerifiableCredentialSdJwt.

Parameters

input

SD-JWT in compact representation, i.e. $jws~$disclosure1~$disclosure2...

publicKey

Optionally the local key, to verify SD-JWT was issued to correct subject