class DittoPublicKeyProvider implements PublicKeyProvider {

    @Override
    public CompletableFuture<Optional<PublicKey>> getPublicKey(final String issuer, final String keyId) {
        argumentNotNull(issuer);
        argumentNotNull(keyId);

        return publicKeyCache.get(PublicKeyIdWithIssuer.of(keyId, issuer));
    }

    private  DittoPublicKeyProvider(final JwtSubjectIssuersConfig jwtSubjectIssuersConfig,
            final HttpClientFacade httpClient,
            final CacheConfig publicKeysConfig,
            final String cacheName);

}