Allow JWKParser to be used without BouncyCastle dependency for RSA key scenarios

I would like to use Keycloak’s JWKParser RSA key parsing without pulling BouncyCastle dependency into my application. Currently, using JWKParser without BC dependency throws NoClassDefFoundError. I would like to move the BC related code of JWKParser into a helper class that can be loaded without BC dependency so that JWKParser can be used without BC dependency for RSA key scenarios. Could I create a PR for this change?
Thank you.
Aki

1 Like