Home
last modified time | relevance | path

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

/external/chromium_org/net/ssl/
Dopenssl_client_key_store_unittest.cc48 scoped_refptr<X509Certificate> cert_1( in TEST_F() local
50 ASSERT_TRUE(cert_1.get()); in TEST_F()
55 ASSERT_TRUE(store_->RecordClientCertPrivateKey(cert_1.get(), in TEST_F()
62 crypto::ScopedEVP_PKEY pkey = store_->FetchClientCertPrivateKey(cert_1.get()); in TEST_F()
71 scoped_refptr<X509Certificate> cert_1( in TEST_F() local
73 ASSERT_TRUE(cert_1.get()); in TEST_F()
77 crypto::ScopedEVP_PKEY pkey = store_->FetchClientCertPrivateKey(cert_1.get()); in TEST_F()
90 scoped_refptr<X509Certificate> cert_1( in TEST_F() local
92 ASSERT_TRUE(cert_1.get()); in TEST_F()
99 ASSERT_TRUE(store_->RecordClientCertPrivateKey(cert_1.get(), in TEST_F()
[all …]
Dclient_cert_store_mac_unittest.cc46 scoped_refptr<X509Certificate> cert_1( in TEST_F() local
48 ASSERT_TRUE(cert_1.get()); in TEST_F()
53 EXPECT_FALSE(cert_1->IsIssuedByEncoded(authority_2)); in TEST_F()
61 cert_1, certs, *request.get(), &selected_certs); in TEST_F()
69 scoped_refptr<X509Certificate> cert_1( in TEST_F() local
71 ASSERT_TRUE(cert_1.get()); in TEST_F()
82 cert_1, certs, *request.get(), &selected_certs); in TEST_F()
85 EXPECT_TRUE(selected_certs[0]->Equals(cert_1.get())); in TEST_F()
Dclient_cert_store_chromeos_unittest.cc178 scoped_refptr<X509Certificate> cert_1( in TEST_F() local
180 ASSERT_TRUE(cert_1.get()); in TEST_F()
218 scoped_refptr<X509Certificate> cert_1( in TEST_F() local
220 ASSERT_TRUE(cert_1.get()); in TEST_F()
255 scoped_refptr<X509Certificate> cert_1( in TEST_F() local
257 ASSERT_TRUE(cert_1.get()); in TEST_F()
278 EXPECT_TRUE(cert_1->Equals(selected_certs1[0].get())); in TEST_F()
300 scoped_refptr<X509Certificate> cert_1( in TEST_F() local
302 ASSERT_TRUE(cert_1.get()); in TEST_F()
321 EXPECT_TRUE(cert_1->Equals(selected_certs[0].get())); in TEST_F()
Dclient_cert_store_unittest-inl.h89 scoped_refptr<X509Certificate> cert_1( in TYPED_TEST_P()
91 ASSERT_TRUE(cert_1.get()); in TYPED_TEST_P()
102 EXPECT_TRUE(cert_1->IsIssuedByEncoded(authority_1)); in TYPED_TEST_P()
103 EXPECT_FALSE(cert_1->IsIssuedByEncoded(authority_2)); in TYPED_TEST_P()
108 certs.push_back(cert_1); in TYPED_TEST_P()
118 EXPECT_TRUE(selected_certs[0]->Equals(cert_1.get())); in TYPED_TEST_P()
/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
155 &cert_1, 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
182 &cert_1, 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
208 base::Bind(&OnRequestCompleted, &completed_1, &cert_1, &key_1)); 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.java451 TestCert cert_1 = new TestCert("same certificate"); in testSetCertificate() local
458 selector.match(cert_1) && selector.match(cert_2)); in testSetCertificate()
459 selector.setCertificate(cert_1); in testSetCertificate()
461 selector.match(cert_1)); in testSetCertificate()
475 TestCert cert_1 = new TestCert("same certificate"); in testGetCertificate() local
480 selector.setCertificate(cert_1); in testGetCertificate()
482 cert_1, selector.getCertificate()); in testGetCertificate()
495 TestCert cert_1 = new TestCert(ser1); in testSetSerialNumber() local
502 selector.match(cert_1) && selector.match(cert_2)); in testSetSerialNumber()
505 selector.match(cert_1)); in testSetSerialNumber()
[all …]
/external/chromium_org/net/cert/
Dnss_profile_filter_chromeos_unittest.cc167 scoped_refptr<X509Certificate> cert_1 = certs_[0]; in TEST_F() local
181 cert_1->os_cert_handle(), in TEST_F()
200 no_slots_profile_filter_.IsCertAllowed(cert_1->os_cert_handle())); in TEST_F()
206 EXPECT_TRUE(profile_filter_1_.IsCertAllowed(cert_1->os_cert_handle())); in TEST_F()
207 EXPECT_TRUE(profile_filter_1_copy_.IsCertAllowed(cert_1->os_cert_handle())); in TEST_F()
214 EXPECT_FALSE(profile_filter_2_.IsCertAllowed(cert_1->os_cert_handle())); in TEST_F()
Dnss_cert_database_chromeos_unittest.cc288 scoped_refptr<X509Certificate> cert_1( in TEST_F() local
301 EXPECT_TRUE(IsCertInCertificateList(cert_1.get(), certs)); in TEST_F()
306 scoped_refptr<X509Certificate> cert_1( in TEST_F() local
319 EXPECT_TRUE(IsCertInCertificateList(cert_1.get(), certs)); in TEST_F()