class JwtSecurityInitializer {

    public JWK getJwkPublicKey() {
         final RSAKey rsaKey = new RSAKey.Builder((RSAPublicKey) jwtPublicKey).build();
         return rsaKey.toPublicJWK();
    }

}