/external/chromium/net/base/ |
D | cert_test_util.cc | 15 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()
|
D | cert_verifier_unittest.cc | 46 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 …]
|
D | x509_certificate_unittest.cc | 173 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 …]
|
D | cert_database_nss_unittest.cc | 39 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()
|
D | cert_test_util.h | 27 scoped_refptr<X509Certificate> ImportCertFromFile(const FilePath& certs_dir,
|
/external/chromium_org/net/test/ |
D | cert_test_util.cc | 17 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()
|
D | cert_test_util.h | 24 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/ |
D | cert_verify_proc_unittest.cc | 220 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 …]
|
D | multi_threaded_cert_verifier_unittest.cc | 79 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 …]
|
D | x509_certificate_unittest.cc | 253 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/ |
D | ssl_server_socket_unittest.cc | 222 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/ |
D | ssl_client_certificate_selector_test.cc | 37 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/ |
D | ssl_client_socket_openssl_unittest.cc | 259 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()
|
D | ssl_server_socket_unittest.cc | 313 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/ |
D | authenticator_test_base.cc | 47 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()
|
D | ssl_hmac_channel_authenticator_unittest.cc | 58 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/ |
D | ssl_client_certificate_selector_browsertest.cc | 46 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/ |
D | keystore_unittest.cc | 118 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/ |
D | proof_test.cc | 159 base::FilePath certs_dir = GetTestCertsDirectory(); in PEMCertFileToDER() local 161 ImportCertFromFile(certs_dir, file_name); in PEMCertFileToDER()
|
/external/chromium_org/net/spdy/ |
D | spdy_session_unittest.cc | 1977 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/ |
D | http_network_transaction_unittest.cc | 11200 base::FilePath certs_dir = GetTestCertsDirectory(); in TEST_P() local 11202 ImportCertFromFile(certs_dir, "ok_cert.pem")); in TEST_P()
|