/third_party/grpc/test/core/security/ |
D | grpc_tls_credentials_options_test.cc | 37 grpc_slice ca_slice, cert_slice, key_slice; in SetKeyMaterials() local 39 grpc_load_file(CA_CERT_PATH, 1, &ca_slice))); in SetKeyMaterials() 45 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(ca_slice); in SetKeyMaterials() 56 grpc_slice_unref(ca_slice); in SetKeyMaterials() 63 grpc_slice ca_slice, cert_slice, key_slice; in TEST() local 65 grpc_load_file(CA_CERT_PATH, 1, &ca_slice))); in TEST() 71 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(ca_slice); in TEST() 82 grpc_slice_unref(ca_slice); in TEST()
|
D | ssl_server_fuzzer.cc | 72 grpc_slice ca_slice, cert_slice, key_slice; in LLVMFuzzerTestOneInput() local 74 grpc_load_file(CA_CERT_PATH, 1, &ca_slice))); in LLVMFuzzerTestOneInput() 80 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(ca_slice); in LLVMFuzzerTestOneInput() 90 grpc_slice_unref(ca_slice); in LLVMFuzzerTestOneInput()
|
D | tls_security_connector_test.cc | 42 grpc_slice ca_slice, cert_slice, key_slice; in SetKeyMaterials() local 44 grpc_load_file(CA_CERT_PATH, 1, &ca_slice))); in SetKeyMaterials() 50 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(ca_slice); in SetKeyMaterials() 61 grpc_slice_unref(ca_slice); in SetKeyMaterials()
|
/third_party/grpc/test/core/handshake/ |
D | verify_peer_options.cc | 58 grpc_slice ca_slice, cert_slice, key_slice; in server_thread() local 60 grpc_load_file(SSL_CA_PATH, 1, &ca_slice))); in server_thread() 66 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(ca_slice); in server_thread() 110 grpc_slice_unref(ca_slice); in server_thread() 130 grpc_slice ca_slice, cert_slice, key_slice; in verify_peer_options_test() local 132 grpc_load_file(SSL_CA_PATH, 1, &ca_slice))); in verify_peer_options_test() 138 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(ca_slice); in verify_peer_options_test() 197 grpc_slice_unref(ca_slice); in verify_peer_options_test()
|
D | server_ssl_common.cc | 106 grpc_slice ca_slice, cert_slice, key_slice; in server_thread() local 108 grpc_load_file(SSL_CA_PATH, 1, &ca_slice))); in server_thread() 114 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(ca_slice); in server_thread() 159 grpc_slice_unref(ca_slice); in server_thread()
|
D | client_ssl.cc | 244 grpc_slice ca_slice, cert_slice, key_slice; in client_ssl_test() local 246 grpc_load_file(SSL_CA_PATH, 1, &ca_slice))); in client_ssl_test() 252 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(ca_slice); in client_ssl_test() 304 grpc_slice_unref(ca_slice); in client_ssl_test()
|
/third_party/grpc/test/core/end2end/fixtures/ |
D | h2_tls.cc | 163 grpc_slice ca_slice, cert_slice, key_slice; in client_cred_reload_sync() local 165 grpc_load_file(CA_CERT_PATH, 1, &ca_slice))); in client_cred_reload_sync() 171 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(ca_slice); in client_cred_reload_sync() 186 grpc_slice_unref(ca_slice); in client_cred_reload_sync() 199 grpc_slice ca_slice, cert_slice, key_slice; in server_cred_reload_sync() local 201 grpc_load_file(CA_CERT_PATH, 1, &ca_slice))); in server_cred_reload_sync() 207 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(ca_slice); in server_cred_reload_sync() 226 grpc_slice_unref(ca_slice); in server_cred_reload_sync()
|
D | h2_ssl_cred_reload.cc | 55 grpc_slice ca_slice, cert_slice, key_slice; in ssl_server_certificate_config_callback() local 57 grpc_load_file(CA_CERT_PATH, 1, &ca_slice))); in ssl_server_certificate_config_callback() 63 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(ca_slice); in ssl_server_certificate_config_callback() 73 grpc_slice_unref(ca_slice); in ssl_server_certificate_config_callback()
|
D | h2_oauth2.cc | 160 grpc_slice ca_slice; in chttp2_init_client_simple_ssl_with_oauth2_secure_fullstack() local 162 grpc_load_file(CA_CERT_PATH, 1, &ca_slice))); in chttp2_init_client_simple_ssl_with_oauth2_secure_fullstack() 164 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(ca_slice); in chttp2_init_client_simple_ssl_with_oauth2_secure_fullstack() 191 grpc_slice_unref(ca_slice); in chttp2_init_client_simple_ssl_with_oauth2_secure_fullstack()
|
/third_party/grpc/test/core/end2end/ |
D | h2_ssl_session_reuse_test.cc | 52 grpc_slice ca_slice, cert_slice, key_slice; in server_create() local 54 grpc_load_file(CA_CERT_PATH, 1, &ca_slice))); in server_create() 60 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(ca_slice); in server_create() 79 grpc_slice_unref(ca_slice); in server_create() 85 grpc_slice ca_slice, cert_slice, key_slice; in client_create() local 87 grpc_load_file(CA_CERT_PATH, 1, &ca_slice))); in client_create() 93 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(ca_slice); in client_create() 125 grpc_slice_unref(ca_slice); in client_create()
|
/third_party/grpc/test/core/surface/ |
D | num_external_connectivity_watchers_test.cc | 167 grpc_slice ca_slice; in secure_test_create_channel() local 169 grpc_load_file(CA_CERT_PATH, 1, &ca_slice))); in secure_test_create_channel() 171 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(ca_slice); in secure_test_create_channel() 174 grpc_slice_unref(ca_slice); in secure_test_create_channel()
|
D | sequential_connectivity_test.cc | 185 grpc_slice ca_slice; in main() local 187 grpc_load_file(CA_CERT_PATH, 1, &ca_slice))); in main() 189 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(ca_slice); in main() 192 grpc_slice_unref(ca_slice); in main()
|
/third_party/grpc/test/cpp/util/ |
D | grpc_tool_test.cc | 135 grpc_slice ca_slice; in GetChannelCredentials() local 137 grpc_load_file(CA_CERT_PATH, 1, &ca_slice))); in GetChannelCredentials() 139 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(ca_slice); in GetChannelCredentials() 143 grpc_slice_unref(ca_slice); in GetChannelCredentials()
|