Home
last modified time | relevance | path

Searched refs:certs_dir (Results 1 – 21 of 21) sorted by relevance

/external/chromium/net/base/
Dcert_test_util.cc15 FilePath certs_dir; in GetTestCertsDirectory() local
16 PathService::Get(base::DIR_SOURCE_ROOT, &certs_dir); in GetTestCertsDirectory()
17 certs_dir = certs_dir.AppendASCII("net"); in GetTestCertsDirectory()
18 certs_dir = certs_dir.AppendASCII("data"); in GetTestCertsDirectory()
19 certs_dir = certs_dir.AppendASCII("ssl"); in GetTestCertsDirectory()
20 certs_dir = certs_dir.AppendASCII("certificates"); in GetTestCertsDirectory()
21 return certs_dir; in GetTestCertsDirectory()
25 const FilePath& certs_dir, in ImportCertFromFile() argument
27 FilePath cert_path = certs_dir.AppendASCII(cert_file); in ImportCertFromFile()
Dcert_verifier_unittest.cc46 FilePath certs_dir = GetTestCertsDirectory(); in TEST_F() local
48 ImportCertFromFile(certs_dir, "google.single.der")); in TEST_F()
84 FilePath certs_dir = GetTestCertsDirectory(); in TEST_F() local
86 ImportCertFromFile(certs_dir, "google.single.der")); in TEST_F()
121 FilePath certs_dir = GetTestCertsDirectory(); in TEST_F() local
123 ImportCertFromFile(certs_dir, "google.single.der")); in TEST_F()
175 FilePath certs_dir = GetTestCertsDirectory(); in TEST_F() local
177 ImportCertFromFile(certs_dir, "google.single.der")); in TEST_F()
230 FilePath certs_dir = GetTestCertsDirectory(); in TEST_F() local
232 ImportCertFromFile(certs_dir, "google.single.der")); in TEST_F()
[all …]
Dx509_certificate_unittest.cc173 const FilePath& certs_dir, in CreateCertificateListFromFile() argument
176 FilePath cert_path = certs_dir.AppendASCII(cert_file); in CreateCertificateListFromFile()
408 FilePath certs_dir = GetTestCertsDirectory(); in TEST() local
410 ImportCertFromFile(certs_dir, "unosoft_hu_cert.der")); in TEST()
458 FilePath certs_dir = GetTestCertsDirectory(); in TEST() local
461 ImportCertFromFile(certs_dir, "www_us_army_mil_cert.der"); in TEST()
467 ImportCertFromFile(certs_dir, "dod_ca_17_cert.der"); in TEST()
470 FilePath root_cert_path = certs_dir.AppendASCII("dod_root_ca_2_cert.der"); in TEST()
490 FilePath certs_dir = GetTestCertsDirectory(); in TEST() local
492 ImportCertFromFile(certs_dir, "nist.der"); in TEST()
[all …]
Dcert_database_nss_unittest.cc39 FilePath certs_dir; in GetTestCertsDirectory() local
40 PathService::Get(base::DIR_SOURCE_ROOT, &certs_dir); in GetTestCertsDirectory()
41 certs_dir = certs_dir.AppendASCII("net"); in GetTestCertsDirectory()
42 certs_dir = certs_dir.AppendASCII("data"); in GetTestCertsDirectory()
43 certs_dir = certs_dir.AppendASCII("ssl"); in GetTestCertsDirectory()
44 certs_dir = certs_dir.AppendASCII("certificates"); in GetTestCertsDirectory()
45 return certs_dir; in GetTestCertsDirectory()
Dcert_test_util.h27 scoped_refptr<X509Certificate> ImportCertFromFile(const FilePath& certs_dir,
/external/chromium_org/net/test/
Dcert_test_util.cc17 const base::FilePath& certs_dir, in CreateCertificateListFromFile() argument
20 base::FilePath cert_path = certs_dir.AppendASCII(cert_file); in CreateCertificateListFromFile()
30 const base::FilePath& certs_dir, in CreateCertificateChainFromFile() argument
34 certs_dir, cert_file, format); in CreateCertificateChainFromFile()
48 const base::FilePath& certs_dir, in ImportCertFromFile() argument
50 base::FilePath cert_path = certs_dir.AppendASCII(cert_file); in ImportCertFromFile()
Dcert_test_util.h24 CertificateList CreateCertificateListFromFile(const base::FilePath& certs_dir,
33 const base::FilePath& certs_dir,
41 scoped_refptr<X509Certificate> ImportCertFromFile(const base::FilePath& certs_dir,
/external/chromium_org/net/cert/
Dcert_verify_proc_unittest.cc220 base::FilePath certs_dir = GetTestCertsDirectory(); in TEST_F() local
223 certs_dir, "explicit-policy-chain.pem", in TEST_F()
259 base::FilePath certs_dir = GetTestCertsDirectory(); in TEST_F() local
262 ImportCertFromFile(certs_dir, "2029_globalsign_com_cert.pem"); in TEST_F()
266 ImportCertFromFile(certs_dir, "globalsign_ev_sha256_ca_cert.pem"); in TEST_F()
293 base::FilePath certs_dir = GetTestCertsDirectory(); in TEST_F() local
296 ImportCertFromFile(certs_dir, in TEST_F()
324 base::FilePath certs_dir = GetTestCertsDirectory(); in TEST_F() local
346 ImportCertFromFile(certs_dir, "2048-rsa-root.pem"); in TEST_F()
359 ImportCertFromFile(certs_dir, basename); in TEST_F()
[all …]
Dmulti_threaded_cert_verifier_unittest.cc79 base::FilePath certs_dir = GetTestCertsDirectory(); in TEST_F() local
81 ImportCertFromFile(certs_dir, "ok_cert.pem")); in TEST_F()
128 base::FilePath certs_dir = GetTestCertsDirectory(); in TEST_F() local
131 ImportCertFromFile(certs_dir, "salesforce_com_test.pem"); in TEST_F()
135 ImportCertFromFile(certs_dir, "verisign_intermediate_ca_2011.pem"); in TEST_F()
139 ImportCertFromFile(certs_dir, "verisign_intermediate_ca_2016.pem"); in TEST_F()
196 base::FilePath certs_dir = GetTestCertsDirectory(); in TEST_F() local
198 ImportCertFromFile(certs_dir, "ok_cert.pem")); in TEST_F()
240 base::FilePath certs_dir = GetTestCertsDirectory(); in TEST_F() local
242 ImportCertFromFile(certs_dir, "ok_cert.pem")); in TEST_F()
[all …]
Dx509_certificate_unittest.cc253 base::FilePath certs_dir = GetTestCertsDirectory(); in TEST() local
256 ImportCertFromFile(certs_dir, "multivalue_rdn.pem"); in TEST()
277 base::FilePath certs_dir = GetTestCertsDirectory(); in TEST() local
280 ImportCertFromFile(certs_dir, "unescaped.pem"); in TEST()
327 base::FilePath certs_dir = GetTestCertsDirectory(); in TEST() local
330 ImportCertFromFile(certs_dir, "salesforce_com_test.pem"); in TEST()
334 ImportCertFromFile(certs_dir, "verisign_intermediate_ca_2011.pem"); in TEST()
338 ImportCertFromFile(certs_dir, "verisign_intermediate_ca_2016.pem"); in TEST()
381 base::FilePath certs_dir = GetTestCertsDirectory(); in TEST() local
384 ImportCertFromFile(certs_dir, "subjectAltName_sanity_check.pem"); in TEST()
[all …]
/external/chromium/net/socket/
Dssl_server_socket_unittest.cc222 FilePath certs_dir; in Initialize() local
223 PathService::Get(base::DIR_SOURCE_ROOT, &certs_dir); in Initialize()
224 certs_dir = certs_dir.AppendASCII("net"); in Initialize()
225 certs_dir = certs_dir.AppendASCII("data"); in Initialize()
226 certs_dir = certs_dir.AppendASCII("ssl"); in Initialize()
227 certs_dir = certs_dir.AppendASCII("certificates"); in Initialize()
229 FilePath cert_path = certs_dir.AppendASCII("unittest.selfsigned.der"); in Initialize()
236 FilePath key_path = certs_dir.AppendASCII("unittest.key.bin"); in Initialize()
/external/chromium_org/chrome/browser/ssl/
Dssl_client_certificate_selector_test.cc37 base::FilePath certs_dir = net::GetTestCertsDirectory(); in SetUpInProcessBrowserTestFixture() local
39 mit_davidben_cert_ = net::ImportCertFromFile(certs_dir, "mit.davidben.der"); in SetUpInProcessBrowserTestFixture()
43 certs_dir, "foaf.me.chromium-test-cert.der"); in SetUpInProcessBrowserTestFixture()
/external/chromium_org/net/socket/
Dssl_client_socket_openssl_unittest.cc259 base::FilePath certs_dir = GetTestCertsDirectory(); in TEST_F() local
279 base::FilePath certs_dir = GetTestCertsDirectory(); in TEST_F() local
301 base::FilePath certs_dir = GetTestCertsDirectory(); in TEST_F() local
304 ssl_config.client_cert = ImportCertFromFile(certs_dir, "client_1.pem"); in TEST_F()
309 ASSERT_TRUE(LoadPrivateKeyOpenSSL(certs_dir.AppendASCII("client_1.key"), in TEST_F()
Dssl_server_socket_unittest.cc313 base::FilePath certs_dir(GetTestCertsDirectory()); in Initialize() local
315 base::FilePath cert_path = certs_dir.AppendASCII("unittest.selfsigned.der"); in Initialize()
322 base::FilePath key_path = certs_dir.AppendASCII("unittest.key.bin"); in Initialize()
/external/chromium_org/remoting/protocol/
Dauthenticator_test_base.cc47 base::FilePath certs_dir(net::GetTestCertsDirectory()); in SetUp() local
49 base::FilePath cert_path = certs_dir.AppendASCII("unittest.selfsigned.der"); in SetUp()
52 base::FilePath key_path = certs_dir.AppendASCII("unittest.key.bin"); in SetUp()
Dssl_hmac_channel_authenticator_unittest.cc58 base::FilePath certs_dir(net::GetTestCertsDirectory()); in SetUp() local
60 base::FilePath cert_path = certs_dir.AppendASCII("unittest.selfsigned.der"); in SetUp()
63 base::FilePath key_path = certs_dir.AppendASCII("unittest.key.bin"); in SetUp()
/external/chromium_org/chrome/browser/ui/views/
Dssl_client_certificate_selector_browsertest.cc46 base::FilePath certs_dir = net::GetTestCertsDirectory(); in SetUpInProcessBrowserTestFixture() local
48 mit_davidben_cert_ = net::ImportCertFromFile(certs_dir, "mit.davidben.der"); in SetUpInProcessBrowserTestFixture()
52 certs_dir, "foaf.me.chromium-test-cert.der"); in SetUpInProcessBrowserTestFixture()
/external/chromium_org/net/android/
Dkeystore_unittest.cc118 base::FilePath certs_dir = GetTestCertsDirectory(); in ImportPrivateKeyFile() local
119 base::FilePath file_path = certs_dir.AppendASCII(filename); in ImportPrivateKeyFile()
167 base::FilePath certs_dir = GetTestCertsDirectory(); in ImportPublicKeyFile() local
168 base::FilePath file_path = certs_dir.AppendASCII(filename); in ImportPublicKeyFile()
/external/chromium_org/net/quic/crypto/
Dproof_test.cc159 base::FilePath certs_dir = GetTestCertsDirectory(); in PEMCertFileToDER() local
161 ImportCertFromFile(certs_dir, file_name); in PEMCertFileToDER()
/external/chromium_org/net/spdy/
Dspdy_session_unittest.cc1977 base::FilePath certs_dir = GetTestCertsDirectory(); in TEST_P() local
1979 ImportCertFromFile(certs_dir, "spdy_pooling.pem")); in TEST_P()
2019 base::FilePath certs_dir = GetTestCertsDirectory(); in TEST_P() local
2021 ImportCertFromFile(certs_dir, "spdy_pooling.pem")); in TEST_P()
/external/chromium_org/net/http/
Dhttp_network_transaction_unittest.cc11200 base::FilePath certs_dir = GetTestCertsDirectory(); in TEST_P() local
11202 ImportCertFromFile(certs_dir, "ok_cert.pem")); in TEST_P()