LOG.info("Signer info prefetch success for " + signerInfo.getDomain());
countDown.run();
}
};
for (ByteStringMessage<ProtocolAppliedWaveletDelta> appliedDelta : appliedDeltas) {
ProtocolSignedDelta toVerify = appliedDelta.getMessage().getSignedOriginalDelta();
HashedVersion deltaEndVersion;
try {
deltaEndVersion = AppliedDeltaUtil.calculateResultingHashedVersion(appliedDelta);
} catch (InvalidProtocolBufferException e) {
LOG.warning("Skipping illformed applied delta " + appliedDelta, e);
continue;
}
for (ProtocolSignature sig : toVerify.getSignatureList()) {
if (certificateManager.retrieveSignerInfo(sig.getSignerId()) == null) {
LOG.info("Fetching signer info " + Base64.encodeBase64(sig.getSignerId().toByteArray()));
numSignerInfoPrefetched.incrementAndGet();
certificateManager.prefetchDeltaSignerInfo(federationProvider, sig.getSignerId(),
getWaveletName(), deltaEndVersion, prefetchListener);