Home
last modified time | relevance | path

Searched refs:certs_dir (Results 1 – 6 of 6) 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/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()