private Optional<Resource> whenKeystoreResourceExists() {
        return FunctionUtils.doUnchecked(generatorService::find);
    }
This is {@link OidcDefaultJsonWebKeystoreRotationService}.

@author Misagh Moayyed
@since 6.5.0
support/cas-server-support-oidc-core-api/src/main/java/org/apereo/cas/oidc/jwks/rotation/OidcDefaultJsonWebKeystoreRotationService.java