/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 41 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in SetKeyMaterials() 47 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in SetKeyMaterials() 54 grpc_slice_unref(cert_slice); in SetKeyMaterials() 63 grpc_slice ca_slice, cert_slice, key_slice; in TEST() local 67 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in TEST() 73 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in TEST() 80 grpc_slice_unref(cert_slice); in TEST()
|
D | ssl_server_fuzzer.cc | 72 grpc_slice ca_slice, cert_slice, key_slice; in LLVMFuzzerTestOneInput() local 76 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in LLVMFuzzerTestOneInput() 82 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in LLVMFuzzerTestOneInput() 88 grpc_slice_unref(cert_slice); in LLVMFuzzerTestOneInput()
|
D | tls_security_connector_test.cc | 42 grpc_slice ca_slice, cert_slice, key_slice; in SetKeyMaterials() local 46 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in SetKeyMaterials() 52 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in SetKeyMaterials() 59 grpc_slice_unref(cert_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 62 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in server_thread() 70 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in server_thread() 108 grpc_slice_unref(cert_slice); in server_thread() 130 grpc_slice ca_slice, cert_slice, key_slice; in verify_peer_options_test() local 134 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in verify_peer_options_test() 142 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in verify_peer_options_test() 195 grpc_slice_unref(cert_slice); in verify_peer_options_test() 243 grpc_slice cert_slice; in main() local 245 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in main() [all …]
|
D | server_ssl_common.cc | 106 grpc_slice ca_slice, cert_slice, key_slice; in server_thread() local 110 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in server_thread() 118 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in server_thread() 157 grpc_slice_unref(cert_slice); in server_thread()
|
D | client_ssl.cc | 244 grpc_slice ca_slice, cert_slice, key_slice; in client_ssl_test() local 248 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in client_ssl_test() 256 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in client_ssl_test() 302 grpc_slice_unref(cert_slice); in client_ssl_test()
|
/third_party/grpc/test/core/bad_ssl/servers/ |
D | cert.cc | 37 grpc_slice cert_slice, key_slice; in main() local 43 grpc_load_file("src/core/tsi/test_creds/badserver.pem", 1, &cert_slice))); in main() 50 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in main() 58 grpc_slice_unref(cert_slice); in main()
|
D | alpn.cc | 59 grpc_slice cert_slice, key_slice; in main() local 61 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in main() 65 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in main() 80 grpc_slice_unref(cert_slice); in main()
|
/third_party/grpc/test/core/end2end/fixtures/ |
D | h2_ssl_proxy.cc | 46 grpc_slice cert_slice, key_slice; in create_proxy_server() local 48 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in create_proxy_server() 52 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in create_proxy_server() 58 grpc_slice_unref(cert_slice); in create_proxy_server() 181 grpc_slice cert_slice, key_slice; in chttp2_init_server_simple_ssl_secure_fullstack() local 183 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in chttp2_init_server_simple_ssl_secure_fullstack() 187 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in chttp2_init_server_simple_ssl_secure_fullstack() 193 grpc_slice_unref(cert_slice); in chttp2_init_server_simple_ssl_secure_fullstack()
|
D | h2_tls.cc | 163 grpc_slice ca_slice, cert_slice, key_slice; in client_cred_reload_sync() local 167 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in client_cred_reload_sync() 173 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in client_cred_reload_sync() 184 grpc_slice_unref(cert_slice); in client_cred_reload_sync() 199 grpc_slice ca_slice, cert_slice, key_slice; in server_cred_reload_sync() local 203 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in server_cred_reload_sync() 209 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in server_cred_reload_sync() 224 grpc_slice_unref(cert_slice); in server_cred_reload_sync()
|
D | h2_ssl.cc | 154 grpc_slice cert_slice, key_slice; in chttp2_init_server_simple_ssl_secure_fullstack() local 156 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in chttp2_init_server_simple_ssl_secure_fullstack() 160 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in chttp2_init_server_simple_ssl_secure_fullstack() 175 grpc_slice_unref(cert_slice); in chttp2_init_server_simple_ssl_secure_fullstack()
|
D | h2_ssl_cred_reload.cc | 55 grpc_slice ca_slice, cert_slice, key_slice; in ssl_server_certificate_config_callback() local 59 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in ssl_server_certificate_config_callback() 65 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in ssl_server_certificate_config_callback() 71 grpc_slice_unref(cert_slice); in ssl_server_certificate_config_callback()
|
D | h2_oauth2.cc | 229 grpc_slice cert_slice, key_slice; in chttp2_init_server_simple_ssl_secure_fullstack() local 231 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in chttp2_init_server_simple_ssl_secure_fullstack() 235 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in chttp2_init_server_simple_ssl_secure_fullstack() 253 grpc_slice_unref(cert_slice); in chttp2_init_server_simple_ssl_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 56 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in server_create() 62 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in server_create() 77 grpc_slice_unref(cert_slice); in server_create() 85 grpc_slice ca_slice, cert_slice, key_slice; in client_create() local 89 "load_file", grpc_load_file(CLIENT_CERT_PATH, 1, &cert_slice))); in client_create() 95 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in client_create() 123 grpc_slice_unref(cert_slice); in client_create()
|
/third_party/grpc/test/cpp/util/ |
D | cli_credentials.cc | 122 grpc_slice cert_slice = grpc_empty_slice(); in GetChannelCredentials() local 125 grpc_load_file(FLAGS_ssl_client_cert.c_str(), 1, &cert_slice)); in GetChannelCredentials() 127 grpc::StringFromCopiedSlice(cert_slice); in GetChannelCredentials() 128 grpc_slice_unref(cert_slice); in GetChannelCredentials()
|
D | grpc_tool_test.cc | 262 grpc_slice cert_slice, key_slice; in SetUpServer() local 264 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in SetUpServer() 268 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in SetUpServer() 284 grpc_slice_unref(cert_slice); in SetUpServer()
|
/third_party/grpc/test/core/surface/ |
D | sequential_connectivity_test.cc | 155 grpc_slice cert_slice, key_slice; in secure_test_add_port() local 157 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in secure_test_add_port() 161 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in secure_test_add_port() 167 grpc_slice_unref(cert_slice); in secure_test_add_port()
|
/third_party/grpc/src/core/lib/security/credentials/tls/ |
D | grpc_tls_certificate_provider.cc | 316 SliceWrapper key_slice, cert_slice; in ReadIdentityKeyCertPairFromFiles() local 326 grpc_load_file(identity_certificate_path.c_str(), 0, &cert_slice.slice); in ReadIdentityKeyCertPairFromFiles() 334 std::string cert_chain(StringViewFromSlice(cert_slice.slice)); in ReadIdentityKeyCertPairFromFiles()
|