Home
last modified time | relevance | path

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

/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/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/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/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/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
Dssl_transport_security.cc1622 const tsi_ssl_pem_key_cert_pair* pem_key_cert_pair, in tsi_create_ssl_client_handshaker_factory() argument
1628 options.pem_key_cert_pair = pem_key_cert_pair; in tsi_create_ssl_client_handshaker_factory()
1675 result = populate_ssl_context(ssl_context, options->pem_key_cert_pair, in tsi_create_ssl_client_handshaker_factory_with_options()
/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/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/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;
Dsecurity_connector.h194 tsi_ssl_pem_key_cert_pair* pem_key_cert_pair; member
/external/grpc-grpc/include/grpc/
Dgrpc_security.h205 const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pair,
/external/grpc-grpc/test/core/tsi/
Dssl_transport_security_test.cc113 client_options.pem_key_cert_pair = in ssl_test_setup_handshakers()
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dgrpc.pxi475 const char *pem_root_certs, grpc_ssl_pem_key_cert_pair *pem_key_cert_pair,
/external/grpc-grpc/src/ruby/ext/grpc/
Drb_grpc_imports.generated.h338 …reate_type)(const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pair, const verif…