VerifiedCertChainCache cache = new DefaultCacheImpl(getFakeTimeSource());
WaveCertPathValidator validator;
if (disableSignerVerification) {
validator = new DisabledCertPathValidator();
} else {
validator = new CachedCertPathValidator(
cache, getFakeTimeSource(), getTrustRootsProvider());
}
return new WaveSignatureVerifier(validator, store);
}