Lines Matching refs:cert_list
50 CERTCertList* cert_list = PK11_ListCertsInSlot(slot);
51 for (CERTCertListNode* node = CERT_LIST_HEAD(cert_list);
52 !CERT_LIST_END(node, cert_list);
60 CERT_DestroyCertList(cert_list);
171 CertificateList cert_list = ListCertsInSlot(slot_->os_module_handle());
172 ASSERT_EQ(1U, cert_list.size());
173 scoped_refptr<X509Certificate> cert(cert_list[0]);
180 EXPECT_EQ(1, cert_db_.ExportToPKCS12(cert_list, ASCIIToUTF16("exportpw"),
202 CertificateList cert_list = ListCertsInSlot(slot_->os_module_handle());
203 ASSERT_EQ(1U, cert_list.size());
204 scoped_refptr<X509Certificate> cert(cert_list[0]);
234 CertificateList cert_list = ListCertsInSlot(slot_->os_module_handle());
235 ASSERT_EQ(1U, cert_list.size());
236 scoped_refptr<X509Certificate> cert(cert_list[0]);
265 CertificateList cert_list = ListCertsInSlot(slot_->os_module_handle());
266 ASSERT_EQ(1U, cert_list.size());
267 scoped_refptr<X509Certificate> cert(cert_list[0]);
323 CertificateList cert_list = ListCertsInSlot(slot_->os_module_handle());
324 ASSERT_EQ(2U, cert_list.size());
325 EXPECT_EQ("DoD Root CA 2", cert_list[0]->subject().common_name);
326 EXPECT_EQ("DOD CA-17", cert_list[1]->subject().common_name);
340 CertificateList cert_list = ListCertsInSlot(slot_->os_module_handle());
341 ASSERT_EQ(1U, cert_list.size());
342 EXPECT_EQ("DoD Root CA 2", cert_list[0]->subject().common_name);
360 cert_list = ListCertsInSlot(slot_->os_module_handle());
361 ASSERT_EQ(2U, cert_list.size());
362 EXPECT_EQ("DoD Root CA 2", cert_list[0]->subject().common_name);
363 EXPECT_EQ("DOD CA-17", cert_list[1]->subject().common_name);
381 CertificateList cert_list = ListCertsInSlot(slot_->os_module_handle());
382 ASSERT_EQ(1U, cert_list.size());
383 EXPECT_EQ("DoD Root CA 2", cert_list[0]->subject().common_name);
400 CertificateList cert_list = ListCertsInSlot(slot_->os_module_handle());
401 ASSERT_EQ(3U, cert_list.size());
402 EXPECT_EQ("DOD CA-13", cert_list[0]->subject().common_name);
403 EXPECT_EQ("DoD Root CA 2", cert_list[1]->subject().common_name);
404 EXPECT_EQ("DOD CA-17", cert_list[2]->subject().common_name);
430 CertificateList cert_list = ListCertsInSlot(slot_->os_module_handle());
431 ASSERT_EQ(1U, cert_list.size());
432 EXPECT_EQ("Test CA", cert_list[0]->subject().common_name);
450 CertificateList cert_list = ListCertsInSlot(slot_->os_module_handle());
451 ASSERT_EQ(2U, cert_list.size());
452 scoped_refptr<X509Certificate> goog_cert(cert_list[0]);
453 scoped_refptr<X509Certificate> thawte_cert(cert_list[1]);
478 CertificateList cert_list = ListCertsInSlot(slot_->os_module_handle());
479 ASSERT_EQ(1U, cert_list.size());
480 scoped_refptr<X509Certificate> puny_cert(cert_list[0]);