Searched refs:cert1 (Results 1 – 4 of 4) sorted by relevance
/external/chromium/net/base/ |
D | ssl_client_auth_cache_unittest.cc | 20 scoped_refptr<X509Certificate> cert1( in TEST() local 37 cache.Add(server1, cert1); in TEST() 40 EXPECT_EQ(cert1, cached_cert); in TEST() 46 EXPECT_EQ(cert1, cached_cert.get()); in TEST() 86 scoped_refptr<X509Certificate> cert1( in TEST() local 93 cache.Add(server1, cert1.get()); in TEST() 98 EXPECT_EQ(cert1.get(), cached_cert); in TEST() 111 scoped_refptr<X509Certificate> cert1( in TEST() local 116 scoped_refptr<X509Certificate> cached_cert(cert1); in TEST() 128 cache.Add(server1, cert1); in TEST() [all …]
|
D | x509_certificate_unittest.cc | 624 scoped_refptr<X509Certificate> cert1(X509Certificate::CreateFromHandle( in TEST() local 638 EXPECT_EQ(cert1, cert2); in TEST() 649 EXPECT_NE(cert1, cert3); in TEST() 765 scoped_refptr<X509Certificate> cert1; in TEST() local 766 cert1 = X509Certificate::CreateFromHandle( in TEST() 768 EXPECT_TRUE(cert1->HasIntermediateCertificates(intermediates1)); in TEST() 769 EXPECT_FALSE(cert1->HasIntermediateCertificate( in TEST() 781 EXPECT_NE(cert1, cert2); in TEST()
|
D | cert_database_nss.cc | 184 X509Certificate* cert1 = certificates[1]; in FindRootInList() local 188 if (CERT_CompareName(&cert1->os_cert_handle()->issuer, in FindRootInList()
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/cert/ |
D | X509CRLImplTest.java | 345 X509CertImpl cert1 = new X509CertImpl( in testGetRevokedCertificate1() local 374 crl.getRevokedCertificate(cert1)); in testGetRevokedCertificate1() 492 X509CertImpl cert1 = new X509CertImpl( in testIsRevoked() local 521 crl.isRevoked(cert1)); in testIsRevoked()
|