@Override
    public Optional<Resource> find() throws Exception {
        return Optional.ofNullable(generate());
    }
This is {@link OidcRestfulJsonWebKeystoreGeneratorService}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-oidc-core-api/src/main/java/org/apereo/cas/oidc/jwks/generator/OidcRestfulJsonWebKeystoreGeneratorService.java