code: func (p *Provider) getUncheckedDomains(ctx context.Context, domainsToCheck []string, checkConfigurationDomains bool) []string {
  	p.resolvingDomainsMutex.RLock()
  	defer p.resolvingDomainsMutex.RUnlock()
  
  	log.FromContext(ctx).Debugf("Looking for provided certificate(s) to validate %q...", domainsToCheck)
  
  	allDomains := p.tlsManager.GetStore("default").GetAllDomains()
  
  	// Get ACME certificates
  	for _, cert := range p.certificates {
  		allDomains = append(allDomains, strings.Join(cert.Domain.ToStrArray(), ","))
  	}
  
  	// Get currently resolved domains
  	for domain := range p.resolvingDomains {
  		allDomains = append(allDomains, domain)
  	}
  
  	// Get Configuration Domains
  	if checkConfigurationDomains {
  		for i := 0; i < len(p.Domains); i++ {
  			allDomains = append(allDomains, strings.Join(p.Domains[i].ToStrArray(), ","))
  		}
  	}
  
  	return searchUncheckedDomains(ctx, domainsToCheck, allDomains)
  }
docs: // Get provided certificate which check a domains list (Main and SANs)
  // from static and dynamic provided certificates