Searched defs:cert1 (Results 1 - 4 of 4) sorted by relevance

/external/chromium/net/base/
H A Dcert_database_nss.cc184 X509Certificate* cert1 = certificates[1]; local
188 if (CERT_CompareName(&cert1->os_cert_handle()->issuer,
H A Dx509_certificate_unittest.cc624 scoped_refptr<X509Certificate> cert1(X509Certificate::CreateFromHandle(
630 // should return the cached certificate (cert1).
638 EXPECT_EQ(cert1, cert2);
641 // cached certificate (cert1) and return a new certificate.
649 EXPECT_NE(cert1, cert3);
765 scoped_refptr<X509Certificate> cert1; local
766 cert1 = X509Certificate::CreateFromHandle(
768 EXPECT_TRUE(cert1->HasIntermediateCertificates(intermediates1));
769 EXPECT_FALSE(cert1->HasIntermediateCertificate(
781 EXPECT_NE(cert1, cert
[all...]
/external/chromium_org/net/cert/
H A Dnss_cert_database.cc146 X509Certificate* cert1 = certificates[1].get(); local
150 if (CERT_CompareName(&cert1->os_cert_handle()->issuer,
H A Dx509_certificate_unittest.cc468 scoped_refptr<X509Certificate> cert1(X509Certificate::CreateFromHandle(
480 EXPECT_NE(cert1.get(), cert2.get());
482 EXPECT_EQ(cert1->os_cert_handle(), cert2->os_cert_handle());
483 EXPECT_EQ(0u, cert1->GetIntermediateCertificates().size());
502 EXPECT_EQ(cert1->os_cert_handle(), cert3->os_cert_handle());
504 EXPECT_NE(cert1->GetIntermediateCertificates().size(),
665 scoped_refptr<X509Certificate> cert1; local
666 cert1 = X509Certificate::CreateFromHandle(google_handle, intermediates1);
667 EXPECT_EQ(0u, cert1->GetIntermediateCertificates().size());

Completed in 132 milliseconds