verifyJws

Verify a JWS signature over signingInput for the given alg using the PEM public key. For ES256 the signature is the raw 64-byte R||S form (RFC 7518 §3.4), converted to DER before handing to OpenSSL.

package @safe @trusted
bool
verifyJws
(
string alg
,
const(ubyte)[] signingInput
,
const(ubyte)[] sig
,)