Home
last modified time | relevance | path

Searched refs:grpc_load_file (Results 1 – 25 of 37) sorted by relevance

12

/third_party/grpc/test/core/security/
Dgrpc_tls_credentials_options_test.cc39 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()
Dssl_server_fuzzer.cc74 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()
Dfetch_oauth2.cc50 "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()
Dtls_security_connector_test.cc44 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()
Dlinux_system_roots_test.cc71 grpc_load_file("test/core/security/etc/bundle.pem", 1, &roots_bundle)); in TEST()
Dcreate_jwt.cc37 "load_file", grpc_load_file(json_key_file_path, 1, &json_key_data))); in create_jwt()
/third_party/grpc/test/core/iomgr/
Dload_file_test.cc50 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/
Dverify_peer_options.cc60 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()
Dserver_ssl_common.cc108 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()
Dclient_ssl.cc246 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/
Dh2_ssl_session_reuse_test.cc54 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/
Dh2_tls.cc165 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()
Dh2_ssl_proxy.cc48 "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()
Dh2_ssl_cred_reload.cc57 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()
Dh2_oauth2.cc162 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()
Dh2_ssl.cc156 "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/
Dcert.cc43 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()
Dalpn.cc61 "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/
Dsequential_connectivity_test.cc157 "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/
Dload_file.h32 grpc_error* grpc_load_file(const char* filename, int add_null_terminator,
Dload_file.cc33 grpc_error* grpc_load_file(const char* filename, int add_null_terminator, in grpc_load_file() function
/third_party/grpc/test/cpp/util/
Dcli_credentials.cc125 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/
Done_corpus_entry_fuzzer.cc41 GRPC_LOG_IF_ERROR("load_file", grpc_load_file(argv[1], 0, &buffer))); in main()
/third_party/grpc/src/core/lib/security/credentials/tls/
Dgrpc_tls_certificate_provider.cc260 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/
Dload_system_roots_linux.cc67 grpc_load_file(kLinuxCertFiles[i], 1, &valid_bundle_slice); in GetSystemRootCerts()

12