verifyJwsIsSignedByCertificate

fun verifyJwsIsSignedByCertificate(jwsInput: String, certificateInPEM: String): JwtContext

Verify if the JWS is signed properly by signature & signature is signed by provided certificate.

Return

JwtContext if success

Parameters

jwsInput

string of jws

certificateInPEM

string of certificated formated in PEM