Home
last modified time | relevance | path

Searched refs:pem_root_certs (Results 1 – 25 of 26) sorted by relevance

12

/external/grpc-grpc/src/core/lib/security/credentials/ssl/
Dssl_credentials.cc49 gpr_free(c->config.pem_root_certs); in ssl_destruct()
92 static void ssl_build_config(const char* pem_root_certs, in ssl_build_config() argument
96 if (pem_root_certs != nullptr) { in ssl_build_config()
97 config->pem_root_certs = gpr_strdup(pem_root_certs); in ssl_build_config()
119 const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pair, in grpc_ssl_credentials_create() argument
128 4, (pem_root_certs, pem_key_cert_pair, verify_options, reserved)); in grpc_ssl_credentials_create()
133 ssl_build_config(pem_root_certs, pem_key_cert_pair, verify_options, in grpc_ssl_credentials_create()
153 gpr_free(c->config.pem_root_certs); in ssl_server_destruct()
183 const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs, in ssl_build_server_config() argument
188 if (pem_root_certs != nullptr) { in ssl_build_server_config()
[all …]
Dssl_credentials.h33 char* pem_root_certs; member
/external/grpc-grpc/src/ruby/ext/grpc/
Drb_channel_credentials.c38 static char* pem_root_certs = NULL; variable
141 VALUE pem_root_certs = Qnil; in grpc_rb_channel_credentials_init() local
153 rb_scan_args(argc, argv, "03", &pem_root_certs, &pem_private_key, in grpc_rb_channel_credentials_init()
158 if (pem_root_certs != Qnil) { in grpc_rb_channel_credentials_init()
159 pem_root_certs_cstr = RSTRING_PTR(pem_root_certs); in grpc_rb_channel_credentials_init()
178 rb_ivar_set(self, id_pem_root_certs, pem_root_certs); in grpc_rb_channel_credentials_init()
214 *pem_root_certs_ptr = pem_root_certs; in get_ssl_roots_override()
215 if (pem_root_certs == NULL) { in get_ssl_roots_override()
226 pem_root_certs = gpr_malloc((length + 1) * sizeof(char)); in grpc_rb_set_default_roots_pem()
227 memcpy(pem_root_certs, roots_ptr, length + 1); in grpc_rb_set_default_roots_pem()
Drb_server_credentials.c128 static VALUE grpc_rb_server_credentials_init(VALUE self, VALUE pem_root_certs, in grpc_rb_server_credentials_init() argument
195 if (pem_root_certs == Qnil) { in grpc_rb_server_credentials_init()
199 creds = grpc_ssl_server_credentials_create_ex(RSTRING_PTR(pem_root_certs), in grpc_rb_server_credentials_init()
212 rb_ivar_set(self, id_pem_root_certs, pem_root_certs); in grpc_rb_server_credentials_init()
Drb_grpc_imports.generated.h338 typedef grpc_channel_credentials*(*grpc_ssl_credentials_create_type)(const char* pem_root_certs, gr…
377 …config*(*grpc_ssl_server_certificate_config_create_type)(const char* pem_root_certs, const grpc_ss…
383 …r_credentials*(*grpc_ssl_server_credentials_create_type)(const char* pem_root_certs, grpc_ssl_pem_…
386 …redentials*(*grpc_ssl_server_credentials_create_ex_type)(const char* pem_root_certs, grpc_ssl_pem_…
/external/grpc-grpc/src/php/ext/grpc/
Dchannel_credentials.c36 char **pem_root_certs) { in get_ssl_roots_override() argument
38 *pem_root_certs = NULL; in get_ssl_roots_override()
41 *pem_root_certs = gpr_strdup(default_pem_root_certs); in get_ssl_roots_override()
124 char *pem_root_certs = NULL; in PHP_METHOD() local
137 &pem_root_certs, &root_certs_length, in PHP_METHOD()
150 strcpy(hashkey, pem_root_certs); in PHP_METHOD()
160 pem_root_certs, in PHP_METHOD()
221 ZEND_ARG_INFO(0, pem_root_certs)
Dserver_credentials.c65 char *pem_root_certs = 0; in PHP_METHOD() local
74 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s!ss", &pem_root_certs, in PHP_METHOD()
85 pem_root_certs, &pem_key_cert_pair, 1, in PHP_METHOD()
92 ZEND_ARG_INFO(0, pem_root_certs)
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dcredentials.pyx.pxi208 cdef const char* _get_c_pem_root_certs(pem_root_certs): argument
209 if pem_root_certs is None:
212 return pem_root_certs
231 def server_credentials_ssl(pem_root_certs, pem_key_cert_pairs, argument
233 pem_root_certs = str_to_bytes(pem_root_certs)
236 credentials.references.append(pem_root_certs)
238 cdef const char * c_pem_root_certs = _get_c_pem_root_certs(pem_root_certs)
256 def server_certificate_config_ssl(pem_root_certs, pem_key_cert_pairs): argument
257 pem_root_certs = str_to_bytes(pem_root_certs)
260 cert_config.references.append(pem_root_certs)
[all …]
Dsecurity.pyx.pxi21 char **pem_root_certs) nogil:
25 pem_root_certs[0] = <char *>gpr_malloc(len(temporary_pem_root_certs) + 1)
27 pem_root_certs[0], <char *>temporary_pem_root_certs,
29 pem_root_certs[0][len(temporary_pem_root_certs)] = '\0'
Dsecurity.pxd.pxi17 char **pem_root_certs) nogil
Dgrpc.pxi423 const char *pem_root_certs,
465 ctypedef void (*grpc_ssl_roots_override_callback)(char **pem_root_certs)
475 const char *pem_root_certs, grpc_ssl_pem_key_cert_pair *pem_key_cert_pair,
/external/grpc-grpc/src/core/lib/http/
Dhttpcli_security_connector.cc103 const char* pem_root_certs, const tsi_ssl_root_certs_store* root_store, in httpcli_ssl_channel_security_connector_create() argument
108 if (secure_peer_name != nullptr && pem_root_certs == nullptr) { in httpcli_ssl_channel_security_connector_create()
124 options.pem_root_certs = pem_root_certs; in httpcli_ssl_channel_security_connector_create()
174 const char* pem_root_certs = in ssl_handshake() local
188 pem_root_certs, root_store, host, &sc) == GRPC_SECURITY_OK); in ssl_handshake()
/external/grpc-grpc/include/grpc/
Dgrpc_security.h145 char** pem_root_certs);
205 const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pair,
392 const char* pem_root_certs,
423 const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs,
431 const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs,
/external/grpc-grpc/src/core/lib/security/security_connector/
Dsecurity_connector.cc727 cert_pairs, config->num_key_cert_pairs, config->pem_root_certs,
1057 if (config->pem_root_certs == nullptr) {
1059 options.pem_root_certs = grpc_core::DefaultSslRootStore::GetPemRootCerts();
1061 if (options.pem_root_certs == nullptr) {
1066 options.pem_root_certs = config->pem_root_certs;
1152 server_credentials->config.pem_root_certs,
1210 char* pem_root_certs = nullptr; local
1211 ovrd_res = ssl_roots_override_cb(&pem_root_certs);
1213 GPR_ASSERT(pem_root_certs != nullptr);
1215 pem_root_certs,
[all …]
Dsecurity_connector.h195 char* pem_root_certs; member
224 char* pem_root_certs; member
/external/grpc-grpc/src/core/tsi/
Dssl_transport_security.h110 const char* pem_root_certs, const char* cipher_suites,
121 const char* pem_root_certs; member
Dssl_transport_security.cc1623 const char* pem_root_certs, const char* cipher_suites, in tsi_create_ssl_client_handshaker_factory() argument
1629 options.pem_root_certs = pem_root_certs; in tsi_create_ssl_client_handshaker_factory()
1648 if (options->pem_root_certs == nullptr && options->root_store == nullptr) { in tsi_create_ssl_client_handshaker_factory_with_options()
1688 ssl_context, options->pem_root_certs, strlen(options->pem_root_certs), in tsi_create_ssl_client_handshaker_factory_with_options()
/external/grpc-grpc/src/csharp/ext/
Dgrpc_csharp_ext.c909 char** pem_root_certs) { in override_ssl_roots_handler() argument
911 *pem_root_certs = NULL; in override_ssl_roots_handler()
914 *pem_root_certs = gpr_strdup(default_pem_root_certs); in override_ssl_roots_handler()
919 grpcsharp_override_default_ssl_roots(const char* pem_root_certs) { in grpcsharp_override_default_ssl_roots() argument
926 default_pem_root_certs = gpr_strdup(pem_root_certs); in grpcsharp_override_default_ssl_roots()
931 grpcsharp_ssl_credentials_create(const char* pem_root_certs, in grpcsharp_ssl_credentials_create() argument
938 return grpc_ssl_credentials_create(pem_root_certs, &key_cert_pair, NULL, in grpcsharp_ssl_credentials_create()
943 return grpc_ssl_credentials_create(pem_root_certs, NULL, NULL, NULL); in grpcsharp_ssl_credentials_create()
965 const char* pem_root_certs, const char** key_cert_pair_cert_chain_array, in grpcsharp_ssl_server_credentials_create() argument
983 pem_root_certs, key_cert_pairs, num_key_cert_pairs, in grpcsharp_ssl_server_credentials_create()
/external/grpc-grpc/src/cpp/server/
Dsecure_server_credentials.cc118 options.pem_root_certs.empty() ? nullptr : options.pem_root_certs.c_str(), in SslServerCredentials()
/external/grpc-grpc/test/core/security/
Dsecurity_connector_test.cc333 char** pem_root_certs) { in override_roots_success() argument
334 *pem_root_certs = gpr_strdup(roots_for_override_api); in override_roots_success()
339 char** pem_root_certs) { in override_roots_permanent_failure() argument
/external/grpc-grpc/include/grpcpp/security/
Dserver_credentials.h70 grpc::string pem_root_certs; member
Dcredentials.h100 grpc::string pem_root_certs; member
/external/grpc-grpc/src/cpp/client/
Dsecure_credentials.cc85 options.pem_root_certs.empty() ? nullptr : options.pem_root_certs.c_str(), in SslCredentials()
/external/grpc-grpc/test/cpp/util/
Dtest_credentials_provider.cc92 ssl_opts.pem_root_certs = ""; in GetServerCredentials()
/external/grpc-grpc/test/core/tsi/
Dssl_transport_security_test.cc111 client_options.pem_root_certs = key_cert_lib->root_cert; in ssl_test_setup_handshakers()
685 options.pem_root_certs = cert_chain; in test_tsi_ssl_client_handshaker_factory_refcounting()
767 options.pem_root_certs = cert_chain; in test_tsi_ssl_client_handshaker_factory_bad_params()

12