verifyVcJws

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

Validates the content of a JWS, expected to contain a Verifiable Credential.

Parameters

input

JWS in compact representation

publicKey

Optionally the local key, to verify VC was issued to correct subject