private static JsonWebKeySet getJsonWebKeySet(final Resource resource) throws Exception {
        return OidcJsonWebKeystoreGeneratorService.toJsonWebKeyStore(resource);
    }
Handle request for jwk set.

@param request  the request
@param response the response
@param state    the state
@return the jwk set
support/cas-server-support-oidc-core-api/src/main/java/org/apereo/cas/oidc/web/controllers/jwks/OidcJwksEndpointController.java