Lines Matching refs:certificates
177 const CertificateList& certificates) const { in FindRootInList()
178 DCHECK_GT(certificates.size(), 0U); in FindRootInList()
180 if (certificates.size() == 1) in FindRootInList()
181 return certificates[0].get(); in FindRootInList()
183 X509Certificate* cert0 = certificates[0]; in FindRootInList()
184 X509Certificate* cert1 = certificates[1]; in FindRootInList()
185 X509Certificate* certn_2 = certificates[certificates.size() - 2]; in FindRootInList()
186 X509Certificate* certn_1 = certificates[certificates.size() - 1]; in FindRootInList()
199 bool CertDatabase::ImportCACerts(const CertificateList& certificates, in ImportCACerts() argument
202 X509Certificate* root = FindRootInList(certificates); in ImportCACerts()
203 bool success = psm::ImportCACerts(certificates, root, trust_bits, in ImportCACerts()
211 bool CertDatabase::ImportServerCert(const CertificateList& certificates, in ImportServerCert() argument
213 return psm::ImportServerCert(certificates, not_imported); in ImportServerCert()