/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/ssl/ |
D | ssl_credentials.cc | 48 const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pair, in grpc_ssl_credentials() argument 51 build_config(pem_root_certs, pem_key_cert_pair, verify_options); in grpc_ssl_credentials() 56 grpc_tsi_ssl_pem_key_cert_pairs_destroy(config_.pem_key_cert_pair, 1); in ~grpc_ssl_credentials() 96 const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pair, in build_config() argument 99 if (pem_key_cert_pair != nullptr) { in build_config() 100 GPR_ASSERT(pem_key_cert_pair->private_key != nullptr); in build_config() 101 GPR_ASSERT(pem_key_cert_pair->cert_chain != nullptr); in build_config() 102 config_.pem_key_cert_pair = static_cast<tsi_ssl_pem_key_cert_pair*>( in build_config() 104 config_.pem_key_cert_pair->cert_chain = in build_config() 105 gpr_strdup(pem_key_cert_pair->cert_chain); in build_config() [all …]
|
D | ssl_credentials.h | 30 grpc_ssl_pem_key_cert_pair* pem_key_cert_pair, 48 grpc_ssl_pem_key_cert_pair* pem_key_cert_pair,
|
/external/grpc-grpc/src/core/lib/security/credentials/ssl/ |
D | ssl_credentials.cc | 50 grpc_tsi_ssl_pem_key_cert_pairs_destroy(c->config.pem_key_cert_pair, 1); in ssl_destruct() 93 grpc_ssl_pem_key_cert_pair* pem_key_cert_pair, in ssl_build_config() argument 99 if (pem_key_cert_pair != nullptr) { in ssl_build_config() 100 GPR_ASSERT(pem_key_cert_pair->private_key != nullptr); in ssl_build_config() 101 GPR_ASSERT(pem_key_cert_pair->cert_chain != nullptr); in ssl_build_config() 102 config->pem_key_cert_pair = static_cast<tsi_ssl_pem_key_cert_pair*>( in ssl_build_config() 104 config->pem_key_cert_pair->cert_chain = in ssl_build_config() 105 gpr_strdup(pem_key_cert_pair->cert_chain); in ssl_build_config() 106 config->pem_key_cert_pair->private_key = in ssl_build_config() 107 gpr_strdup(pem_key_cert_pair->private_key); in ssl_build_config() [all …]
|
/external/grpc-grpc/src/php/ext/grpc/ |
D | channel_credentials.c | 125 grpc_ssl_pem_key_cert_pair pem_key_cert_pair; in PHP_METHOD() local 131 pem_key_cert_pair.private_key = pem_key_cert_pair.cert_chain = NULL; in PHP_METHOD() 138 &pem_key_cert_pair.private_key, in PHP_METHOD() 140 &pem_key_cert_pair.cert_chain, in PHP_METHOD() 153 strcpy(hashkey, pem_key_cert_pair.cert_chain); in PHP_METHOD() 161 pem_key_cert_pair.private_key == NULL ? NULL : &pem_key_cert_pair, NULL, NULL); in PHP_METHOD()
|
D | server_credentials.c | 66 grpc_ssl_pem_key_cert_pair pem_key_cert_pair; in PHP_METHOD() local 75 &root_certs_length, &pem_key_cert_pair.private_key, in PHP_METHOD() 76 &private_key_length, &pem_key_cert_pair.cert_chain, in PHP_METHOD() 85 pem_root_certs, &pem_key_cert_pair, 1, in PHP_METHOD()
|
/external/grpc-grpc/test/core/bad_ssl/servers/ |
D | cert.cc | 35 grpc_ssl_pem_key_cert_pair pem_key_cert_pair; in main() local 48 pem_key_cert_pair.private_key = in main() 50 pem_key_cert_pair.cert_chain = in main() 53 ssl_creds = grpc_ssl_server_credentials_create(nullptr, &pem_key_cert_pair, 1, in main()
|
D | alpn.cc | 55 grpc_ssl_pem_key_cert_pair pem_key_cert_pair = {test_server1_key, in main() local 61 ssl_creds = grpc_ssl_server_credentials_create(nullptr, &pem_key_cert_pair, 1, in main()
|
/external/grpc-grpc/test/core/handshake/ |
D | verify_peer_options.cc | 54 grpc_ssl_pem_key_cert_pair pem_key_cert_pair; in server_thread() local 64 pem_key_cert_pair.private_key = in server_thread() 66 pem_key_cert_pair.cert_chain = in server_thread() 69 ca_cert, &pem_key_cert_pair, 1, 0, nullptr); in server_thread() 128 grpc_ssl_pem_key_cert_pair pem_key_cert_pair; in verify_peer_options_test() local 138 pem_key_cert_pair.private_key = in verify_peer_options_test() 140 pem_key_cert_pair.cert_chain = in verify_peer_options_test() 143 ca_cert, &pem_key_cert_pair, verify_options, nullptr); in verify_peer_options_test()
|
D | server_ssl_common.cc | 74 grpc_ssl_pem_key_cert_pair pem_key_cert_pair; in server_thread() local 84 pem_key_cert_pair.private_key = in server_thread() 86 pem_key_cert_pair.cert_chain = in server_thread() 89 ca_cert, &pem_key_cert_pair, 1, 0, nullptr); in server_thread()
|
D | client_ssl.cc | 240 grpc_ssl_pem_key_cert_pair pem_key_cert_pair; in client_ssl_test() local 250 pem_key_cert_pair.private_key = in client_ssl_test() 252 pem_key_cert_pair.cert_chain = in client_ssl_test() 255 ca_cert, &pem_key_cert_pair, nullptr, nullptr); in client_ssl_test()
|
/external/grpc-grpc/test/core/security/ |
D | ssl_server_fuzzer.cc | 71 grpc_ssl_pem_key_cert_pair pem_key_cert_pair; in LLVMFuzzerTestOneInput() local 77 pem_key_cert_pair.private_key = in LLVMFuzzerTestOneInput() 79 pem_key_cert_pair.cert_chain = in LLVMFuzzerTestOneInput() 82 ca_cert, &pem_key_cert_pair, 1, 0, nullptr); in LLVMFuzzerTestOneInput()
|
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/ |
D | ssl_transport_security.h | 121 const tsi_ssl_pem_key_cert_pair* pem_key_cert_pair, 130 const tsi_ssl_pem_key_cert_pair* pem_key_cert_pair; member 164 : pem_key_cert_pair(nullptr), in tsi_ssl_client_handshaker_options()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/ssl/ |
D | ssl_security_connector.cc | 95 config->pem_key_cert_pair != nullptr && in InitializeHandshakerFactory() 96 config->pem_key_cert_pair->private_key != nullptr && in InitializeHandshakerFactory() 97 config->pem_key_cert_pair->cert_chain != nullptr; in InitializeHandshakerFactory() 105 options.pem_key_cert_pair = config->pem_key_cert_pair; in InitializeHandshakerFactory()
|
D | ssl_security_connector.h | 33 tsi_ssl_pem_key_cert_pair* pem_key_cert_pair; member
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/ |
D | ssl_utils.cc | 391 tsi_ssl_pem_key_cert_pair* pem_key_cert_pair, const char* pem_root_certs, in grpc_ssl_tsi_client_handshaker_factory_init() argument 409 bool has_key_cert_pair = pem_key_cert_pair != nullptr && in grpc_ssl_tsi_client_handshaker_factory_init() 410 pem_key_cert_pair->private_key != nullptr && in grpc_ssl_tsi_client_handshaker_factory_init() 411 pem_key_cert_pair->cert_chain != nullptr; in grpc_ssl_tsi_client_handshaker_factory_init() 419 options.pem_key_cert_pair = pem_key_cert_pair; in grpc_ssl_tsi_client_handshaker_factory_init()
|
/external/grpc-grpc/src/core/tsi/ |
D | ssl_transport_security.h | 109 const tsi_ssl_pem_key_cert_pair* pem_key_cert_pair, 118 const tsi_ssl_pem_key_cert_pair* pem_key_cert_pair; member
|
/external/rust/crates/grpcio-sys/grpc/test/core/security/ |
D | ssl_server_fuzzer.cc | 85 grpc_ssl_pem_key_cert_pair pem_key_cert_pair = {server_key, server_cert}; in LLVMFuzzerTestOneInput() local 87 ca_cert, &pem_key_cert_pair, 1, 0, nullptr); in LLVMFuzzerTestOneInput()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/tls/ |
D | tls_security_connector.cc | 382 tsi_ssl_pem_key_cert_pair* pem_key_cert_pair = nullptr; in UpdateHandshakerFactoryLocked() local 384 pem_key_cert_pair = ConvertToTsiPemKeyCertPair(*pem_key_cert_pair_list_); in UpdateHandshakerFactoryLocked() 387 pem_key_cert_pair, in UpdateHandshakerFactoryLocked() 394 if (pem_key_cert_pair != nullptr) { in UpdateHandshakerFactoryLocked() 395 grpc_tsi_ssl_pem_key_cert_pairs_destroy(pem_key_cert_pair, 1); in UpdateHandshakerFactoryLocked()
|
/external/grpc-grpc/test/core/end2end/fixtures/ |
D | h2_oauth2.cc | 202 grpc_ssl_pem_key_cert_pair pem_key_cert_pair = {test_server1_key, in chttp2_init_server_simple_ssl_secure_fullstack() local 205 nullptr, &pem_key_cert_pair, 1, 0, nullptr); in chttp2_init_server_simple_ssl_secure_fullstack()
|
/external/grpc-grpc/test/core/fling/ |
D | server.cc | 209 grpc_ssl_pem_key_cert_pair pem_key_cert_pair = {test_server1_key, in main() local 212 nullptr, &pem_key_cert_pair, 1, 0, nullptr); in main()
|
/external/grpc-grpc/test/core/memory_usage/ |
D | server.cc | 187 grpc_ssl_pem_key_cert_pair pem_key_cert_pair = {test_server1_key, in main() local 190 nullptr, &pem_key_cert_pair, 1, 0, nullptr); in main()
|
/external/rust/crates/grpcio-sys/grpc/include/grpc/ |
D | grpc_security.h | 267 const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pair, 299 const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pair,
|
/external/grpc-grpc/src/cpp/client/ |
D | secure_credentials.cc | 81 grpc_ssl_pem_key_cert_pair pem_key_cert_pair = { in SslCredentials() local 86 options.pem_private_key.empty() ? nullptr : &pem_key_cert_pair, nullptr, in SslCredentials()
|
/external/rust/crates/grpcio-sys/grpc/spm-core-include/grpc/ |
D | grpc_security.h | 267 const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pair, 299 const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pair,
|
/external/grpc-grpc/src/core/lib/security/security_connector/ |
D | security_connector.cc | 1087 has_key_cert_pair = config->pem_key_cert_pair != nullptr && 1088 config->pem_key_cert_pair->private_key != nullptr && 1089 config->pem_key_cert_pair->cert_chain != nullptr; 1091 options.pem_key_cert_pair = config->pem_key_cert_pair;
|