Converts a public or private PEM encoded RSA key to JWK (JSON Web Key)