diff --git a/CHANGELOG.md b/CHANGELOG.md index 728e5f3..df641d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ - Updated `Crypto.JOSE.JWK.fromX509Certificate` to support Edwards curve key types (Ed25519, Ed448, X25519, X448). +- Added `fromRSAPublic :: RSA.PublicKey -> JWK`. + ## Version 0.11 (2023-10-31) diff --git a/src/Crypto/JOSE/JWK.hs b/src/Crypto/JOSE/JWK.hs index ee673d6..72b59cb 100644 --- a/src/Crypto/JOSE/JWK.hs +++ b/src/Crypto/JOSE/JWK.hs @@ -70,6 +70,7 @@ module Crypto.JOSE.JWK -- * Converting from other key formats , fromKeyMaterial , fromRSA + , fromRSAPublic , fromOctets , fromX509Certificate , fromX509PubKey