loadPublicKeyJwk method
Loads an RSA public key from a JSON Web Key (RFC 7517).
Accepts a private JWK too, ignoring the private parameters, so one key file can produce both halves — the private key to sign with and the public key to verify with.
Implementation
EvpPkey loadPublicKeyJwk(Map<String, Object?> jwk) =>
loadPublicKeyDer(rsaPublicKeyDerFromJwk(jwk));