Exemple #1
0
        X509Certificate2Collection FindTrustedCerts(X509Certificate2Collection certs, X509Certificate2Collection anchors)
        {
            if (certs == null)
            {
                return null;
            }

            return certs.Where(c => m_certChainValidator.IsTrustedCertificate(c, anchors));
        }