/third_party/grpc/test/core/security/ |
D | grpc_tls_credentials_options_test.cc | 39 grpc_load_file(CA_CERT_PATH, 1, &ca_slice))); in SetKeyMaterials() 41 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in SetKeyMaterials() 43 grpc_load_file(SERVER_KEY_PATH, 1, &key_slice))); in SetKeyMaterials() 65 grpc_load_file(CA_CERT_PATH, 1, &ca_slice))); in TEST() 67 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in TEST() 69 grpc_load_file(SERVER_KEY_PATH, 1, &key_slice))); in TEST()
|
D | ssl_server_fuzzer.cc | 74 grpc_load_file(CA_CERT_PATH, 1, &ca_slice))); in LLVMFuzzerTestOneInput() 76 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in LLVMFuzzerTestOneInput() 78 "load_file", grpc_load_file(SERVER_KEY_PATH, 1, &key_slice))); in LLVMFuzzerTestOneInput()
|
D | fetch_oauth2.cc | 50 "load_file", grpc_load_file(json_file_path, 1, &sts_options_slice))); in create_sts_creds() 71 grpc_load_file(json_refresh_token_file_path, 1, &refresh_token))); in create_refresh_token_creds()
|
D | tls_security_connector_test.cc | 44 grpc_load_file(CA_CERT_PATH, 1, &ca_slice))); in SetKeyMaterials() 46 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in SetKeyMaterials() 48 grpc_load_file(SERVER_KEY_PATH, 1, &key_slice))); in SetKeyMaterials()
|
D | linux_system_roots_test.cc | 71 grpc_load_file("test/core/security/etc/bundle.pem", 1, &roots_bundle)); in TEST()
|
D | create_jwt.cc | 37 "load_file", grpc_load_file(json_key_file_path, 1, &json_key_data))); in create_jwt()
|
/third_party/grpc/test/core/iomgr/ |
D | load_file_test.cc | 50 error = grpc_load_file(tmp_name, 0, &slice); in test_load_empty_file() 54 error = grpc_load_file(tmp_name, 1, &slice_with_null_term); in test_load_empty_file() 79 error = grpc_load_file(tmp_name, 0, &slice); in test_load_failure() 103 error = grpc_load_file(tmp_name, 0, &slice); in test_load_small_file() 108 error = grpc_load_file(tmp_name, 1, &slice_with_null_term); in test_load_small_file() 140 error = grpc_load_file(tmp_name, 0, &slice); in test_load_big_file()
|
/third_party/grpc/test/core/handshake/ |
D | verify_peer_options.cc | 60 grpc_load_file(SSL_CA_PATH, 1, &ca_slice))); in server_thread() 62 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in server_thread() 64 grpc_load_file(SSL_KEY_PATH, 1, &key_slice))); in server_thread() 132 grpc_load_file(SSL_CA_PATH, 1, &ca_slice))); in verify_peer_options_test() 134 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in verify_peer_options_test() 136 grpc_load_file(SSL_KEY_PATH, 1, &key_slice))); in verify_peer_options_test() 245 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in main()
|
D | server_ssl_common.cc | 108 grpc_load_file(SSL_CA_PATH, 1, &ca_slice))); in server_thread() 110 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in server_thread() 112 grpc_load_file(SSL_KEY_PATH, 1, &key_slice))); in server_thread()
|
D | client_ssl.cc | 246 grpc_load_file(SSL_CA_PATH, 1, &ca_slice))); in client_ssl_test() 248 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in client_ssl_test() 250 grpc_load_file(SSL_KEY_PATH, 1, &key_slice))); in client_ssl_test()
|
/third_party/grpc/test/core/end2end/ |
D | h2_ssl_session_reuse_test.cc | 54 grpc_load_file(CA_CERT_PATH, 1, &ca_slice))); in server_create() 56 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in server_create() 58 grpc_load_file(SERVER_KEY_PATH, 1, &key_slice))); in server_create() 87 grpc_load_file(CA_CERT_PATH, 1, &ca_slice))); in client_create() 89 "load_file", grpc_load_file(CLIENT_CERT_PATH, 1, &cert_slice))); in client_create() 91 grpc_load_file(CLIENT_KEY_PATH, 1, &key_slice))); in client_create()
|
/third_party/grpc/test/core/end2end/fixtures/ |
D | h2_tls.cc | 165 grpc_load_file(CA_CERT_PATH, 1, &ca_slice))); in client_cred_reload_sync() 167 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in client_cred_reload_sync() 169 grpc_load_file(SERVER_KEY_PATH, 1, &key_slice))); in client_cred_reload_sync() 201 grpc_load_file(CA_CERT_PATH, 1, &ca_slice))); in server_cred_reload_sync() 203 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in server_cred_reload_sync() 205 grpc_load_file(SERVER_KEY_PATH, 1, &key_slice))); in server_cred_reload_sync()
|
D | h2_ssl_proxy.cc | 48 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in create_proxy_server() 50 grpc_load_file(SERVER_KEY_PATH, 1, &key_slice))); in create_proxy_server() 183 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in chttp2_init_server_simple_ssl_secure_fullstack() 185 grpc_load_file(SERVER_KEY_PATH, 1, &key_slice))); in chttp2_init_server_simple_ssl_secure_fullstack()
|
D | h2_ssl_cred_reload.cc | 57 grpc_load_file(CA_CERT_PATH, 1, &ca_slice))); in ssl_server_certificate_config_callback() 59 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in ssl_server_certificate_config_callback() 61 "load_file", grpc_load_file(SERVER_KEY_PATH, 1, &key_slice))); in ssl_server_certificate_config_callback()
|
D | h2_oauth2.cc | 162 grpc_load_file(CA_CERT_PATH, 1, &ca_slice))); in chttp2_init_client_simple_ssl_with_oauth2_secure_fullstack() 231 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in chttp2_init_server_simple_ssl_secure_fullstack() 233 grpc_load_file(SERVER_KEY_PATH, 1, &key_slice))); in chttp2_init_server_simple_ssl_secure_fullstack()
|
D | h2_ssl.cc | 156 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in chttp2_init_server_simple_ssl_secure_fullstack() 158 grpc_load_file(SERVER_KEY_PATH, 1, &key_slice))); in chttp2_init_server_simple_ssl_secure_fullstack()
|
/third_party/grpc/test/core/bad_ssl/servers/ |
D | cert.cc | 43 grpc_load_file("src/core/tsi/test_creds/badserver.pem", 1, &cert_slice))); in main() 46 grpc_load_file("src/core/tsi/test_creds/badserver.key", 1, &key_slice))); in main()
|
D | alpn.cc | 61 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in main() 63 grpc_load_file(SERVER_KEY_PATH, 1, &key_slice))); in main()
|
/third_party/grpc/test/core/surface/ |
D | sequential_connectivity_test.cc | 157 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in secure_test_add_port() 159 grpc_load_file(SERVER_KEY_PATH, 1, &key_slice))); in secure_test_add_port() 187 grpc_load_file(CA_CERT_PATH, 1, &ca_slice))); in main()
|
/third_party/grpc/src/core/lib/iomgr/ |
D | load_file.h | 32 grpc_error* grpc_load_file(const char* filename, int add_null_terminator,
|
D | load_file.cc | 33 grpc_error* grpc_load_file(const char* filename, int add_null_terminator, in grpc_load_file() function
|
/third_party/grpc/test/cpp/util/ |
D | cli_credentials.cc | 125 grpc_load_file(FLAGS_ssl_client_cert.c_str(), 1, &cert_slice)); in GetChannelCredentials() 134 grpc_load_file(FLAGS_ssl_client_key.c_str(), 1, &key_slice)); in GetChannelCredentials()
|
/third_party/grpc/test/core/util/ |
D | one_corpus_entry_fuzzer.cc | 41 GRPC_LOG_IF_ERROR("load_file", grpc_load_file(argv[1], 0, &buffer))); in main()
|
/third_party/grpc/src/core/lib/security/credentials/tls/ |
D | grpc_tls_certificate_provider.cc | 260 grpc_load_file(root_cert_full_path.c_str(), 0, &root_slice); in ReadRootCertificatesFromFile() 318 grpc_load_file(private_key_path.c_str(), 0, &key_slice.slice); in ReadIdentityKeyCertPairFromFiles() 326 grpc_load_file(identity_certificate_path.c_str(), 0, &cert_slice.slice); in ReadIdentityKeyCertPairFromFiles()
|
/third_party/grpc/src/core/lib/security/security_connector/ |
D | load_system_roots_linux.cc | 67 grpc_load_file(kLinuxCertFiles[i], 1, &valid_bundle_slice); in GetSystemRootCerts()
|