class DataStore implements DataCacheProvider, RolesProvider {

    public String getPublicKey(String domain, String service, String keyId) {

        String publicKeyName = generateServiceKeyName(domain, service, keyId);
        String publicKey;
        
        try {
            pkeyRLock.lock();
            publicKey = publicKeyCache.get(publicKeyName);
        } finally {
            pkeyRLock.unlock();
        }

        ///CLOVER:OFF
        if (publicKey == null && LOGGER.isDebugEnabled()) {
            LOGGER.debug("Public key: " + publicKeyName + " not available");
        }
        ///CLOVER:ON
        
        return publicKey;
    }

    public  DataStore(ChangeLogStore clogStore, CloudStore cloudStore);

}