Home
last modified time | relevance | path

Searched refs:ca_slice (Results 1 – 13 of 13) sorted by relevance

/third_party/grpc/test/core/security/
Dgrpc_tls_credentials_options_test.cc37 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()
Dssl_server_fuzzer.cc72 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()
Dtls_security_connector_test.cc42 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/
Dverify_peer_options.cc58 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()
Dserver_ssl_common.cc106 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()
Dclient_ssl.cc244 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/
Dh2_tls.cc163 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()
Dh2_ssl_cred_reload.cc55 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()
Dh2_oauth2.cc160 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/
Dh2_ssl_session_reuse_test.cc52 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/
Dnum_external_connectivity_watchers_test.cc167 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()
Dsequential_connectivity_test.cc185 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/
Dgrpc_tool_test.cc135 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()