Home
last modified time | relevance | path

Searched refs:cert_2 (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/content/browser/media/
Dwebrtc_identity_store_unittest.cc148 std::string cert_1, cert_2, key_1, key_2; in TEST_F() local
163 &cert_2, in TEST_F()
168 EXPECT_NE(cert_1, cert_2); in TEST_F()
175 std::string cert_1, cert_2, key_1, key_2; in TEST_F() local
190 &cert_2, in TEST_F()
195 EXPECT_EQ(cert_1, cert_2); in TEST_F()
202 std::string cert_1, cert_2, key_1, key_2; in TEST_F() local
215 base::Bind(&OnRequestCompleted, &completed_2, &cert_2, &key_2)); in TEST_F()
221 EXPECT_EQ(cert_1, cert_2); in TEST_F()
228 std::string cert_1, cert_2, key_1, key_2; in TEST_F() local
[all …]
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/
DX509CertSelectorTest.java452 TestCert cert_2 = new TestCert("other certificate"); in testSetCertificate() local
458 selector.match(cert_1) && selector.match(cert_2)); in testSetCertificate()
463 selector.match(cert_2)); in testSetCertificate()
464 selector.setCertificate(cert_2); in testSetCertificate()
466 selector.match(cert_2)); in testSetCertificate()
476 TestCert cert_2 = new TestCert("other certificate"); in testGetCertificate() local
484 cert_2.equals(selector.getCertificate())); in testGetCertificate()
496 TestCert cert_2 = new TestCert(ser2); in testSetSerialNumber() local
502 selector.match(cert_1) && selector.match(cert_2)); in testSetSerialNumber()
507 selector.match(cert_2)); in testSetSerialNumber()
[all …]
/external/chromium_org/net/ssl/
Dclient_cert_store_unittest-inl.h92 scoped_refptr<X509Certificate> cert_2( in TYPED_TEST_P()
94 ASSERT_TRUE(cert_2.get()); in TYPED_TEST_P()
104 EXPECT_TRUE(cert_2->IsIssuedByEncoded(authority_2)); in TYPED_TEST_P()
105 EXPECT_FALSE(cert_2->IsIssuedByEncoded(authority_1)); in TYPED_TEST_P()
109 certs.push_back(cert_2); in TYPED_TEST_P()
Dclient_cert_store_mac_unittest.cc72 scoped_refptr<X509Certificate> cert_2( in TEST_F() local
74 ASSERT_TRUE(cert_2.get()); in TEST_F()
77 certs.push_back(cert_2); in TEST_F()
86 EXPECT_TRUE(selected_certs[1]->Equals(cert_2.get())); in TEST_F()
Dopenssl_client_key_store_unittest.cc128 scoped_refptr<X509Certificate> cert_2( in TEST_F() local
130 ASSERT_TRUE(cert_2.get()); in TEST_F()
146 EXPECT_TRUE(store_->RecordClientCertPrivateKey(cert_2.get(), in TEST_F()
156 store_->FetchClientCertPrivateKey(cert_2.get()); in TEST_F()
Dclient_cert_store_chromeos_unittest.cc258 scoped_refptr<X509Certificate> cert_2( in TEST_F() local
260 ASSERT_TRUE(cert_2.get()); in TEST_F()
282 EXPECT_TRUE(cert_2->Equals(selected_certs2[0].get())); in TEST_F()
303 scoped_refptr<X509Certificate> cert_2( in TEST_F() local
308 ASSERT_TRUE(cert_2.get()); in TEST_F()
/external/chromium_org/net/cert/
Dnss_profile_filter_chromeos_unittest.cc171 scoped_refptr<X509Certificate> cert_2 = certs_2[0]; in TEST_F() local
188 cert_2->os_cert_handle(), in TEST_F()
202 no_slots_profile_filter_.IsCertAllowed(cert_2->os_cert_handle())); in TEST_F()
208 EXPECT_FALSE(profile_filter_1_.IsCertAllowed(cert_2->os_cert_handle())); in TEST_F()
209 EXPECT_FALSE(profile_filter_1_copy_.IsCertAllowed(cert_2->os_cert_handle())); in TEST_F()
215 EXPECT_TRUE(profile_filter_2_.IsCertAllowed(cert_2->os_cert_handle())); in TEST_F()
Dnss_cert_database_chromeos_unittest.cc294 scoped_refptr<X509Certificate> cert_2( in TEST_F() local
302 EXPECT_TRUE(IsCertInCertificateList(cert_2.get(), certs)); in TEST_F()
312 scoped_refptr<X509Certificate> cert_2( in TEST_F() local
320 EXPECT_FALSE(IsCertInCertificateList(cert_2.get(), certs)); in TEST_F()