Home
last modified time | relevance | path

Searched refs:pem_key_cert_pair (Results 1 – 25 of 35) sorted by relevance

12

/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/ssl/
Dssl_credentials.cc48 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 …]
Dssl_credentials.h30 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/
Dssl_credentials.cc50 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/
Dchannel_credentials.c125 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()
Dserver_credentials.c66 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/
Dcert.cc35 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()
Dalpn.cc55 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/
Dverify_peer_options.cc54 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()
Dserver_ssl_common.cc74 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()
Dclient_ssl.cc240 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/
Dssl_server_fuzzer.cc71 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/
Dssl_transport_security.h121 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/
Dssl_security_connector.cc95 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()
Dssl_security_connector.h33 tsi_ssl_pem_key_cert_pair* pem_key_cert_pair; member
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/
Dssl_utils.cc391 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/
Dssl_transport_security.h109 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/
Dssl_server_fuzzer.cc85 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/
Dtls_security_connector.cc382 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/
Dh2_oauth2.cc202 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/
Dserver.cc209 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/
Dserver.cc187 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/
Dgrpc_security.h267 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/
Dsecure_credentials.cc81 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/
Dgrpc_security.h267 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/
Dsecurity_connector.cc1087 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;

12