public CachedCertPathValidator(VerifiedCertChainCache certPathCache, TimeSource timeSource, TrustRootsProvider trustRootsProvider) { this.certPathCache = certPathCache; this.timeSource = timeSource; this.trustRoots = getTrustRoots(trustRootsProvider); }