/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() 55 gpr_free(config_.pem_root_certs); in ~grpc_ssl_credentials() 96 const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pair, in build_config() argument 98 config_.pem_root_certs = gpr_strdup(pem_root_certs); in build_config() 133 const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pair, in grpc_ssl_credentials_create() argument 140 4, (pem_root_certs, pem_key_cert_pair, verify_options, reserved)); in grpc_ssl_credentials_create() 144 pem_root_certs, pem_key_cert_pair, in grpc_ssl_credentials_create() 149 const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pair, in grpc_ssl_credentials_create_ex() argument 156 4, (pem_root_certs, pem_key_cert_pair, verify_options, reserved)); in grpc_ssl_credentials_create_ex() [all …]
|
D | ssl_credentials.h | 29 grpc_ssl_credentials(const char* pem_root_certs, 47 void build_config(const char* pem_root_certs, 57 char* pem_root_certs = nullptr; member 94 const char* pem_root_certs,
|
/external/grpc-grpc/src/core/lib/security/credentials/ssl/ |
D | ssl_credentials.cc | 49 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 …]
|
/external/grpc-grpc/src/ruby/ext/grpc/ |
D | rb_channel_credentials.c | 38 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()
|
D | rb_server_credentials.c | 128 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()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/ssl/ |
D | ssl_security_connector.cc | 91 const grpc_ssl_config* config, const char* pem_root_certs, in InitializeHandshakerFactory() argument 99 GPR_DEBUG_ASSERT(pem_root_certs != nullptr); in InitializeHandshakerFactory() 100 options.pem_root_certs = pem_root_certs; in InitializeHandshakerFactory() 247 server_credentials->config().pem_root_certs; in InitializeHandshakerFactory() 354 GPR_DEBUG_ASSERT(config->pem_root_certs != nullptr); in try_replace_server_handshaker_factory() 359 options.pem_client_root_certs = config->pem_root_certs; in try_replace_server_handshaker_factory() 407 const char* pem_root_certs; in grpc_ssl_channel_security_connector_create() local 409 if (config->pem_root_certs == nullptr) { in grpc_ssl_channel_security_connector_create() 411 pem_root_certs = grpc_core::DefaultSslRootStore::GetPemRootCerts(); in grpc_ssl_channel_security_connector_create() 412 if (pem_root_certs == nullptr) { in grpc_ssl_channel_security_connector_create() [all …]
|
D | ssl_security_connector.h | 34 char* pem_root_certs; member 65 char* pem_root_certs = nullptr; member
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/http/ |
D | httpcli_security_connector.cc | 62 tsi_result InitHandshakerFactory(const char* pem_root_certs, in InitHandshakerFactory() argument 65 options.pem_root_certs = pem_root_certs; in InitHandshakerFactory() 137 const char* pem_root_certs, const tsi_ssl_root_certs_store* root_store, in httpcli_ssl_channel_security_connector_create() argument 139 if (secure_peer_name != nullptr && pem_root_certs == nullptr) { in httpcli_ssl_channel_security_connector_create() 147 tsi_result result = c->InitHandshakerFactory(pem_root_certs, root_store); in httpcli_ssl_channel_security_connector_create() 184 const char* pem_root_certs = in ssl_handshake() local 198 pem_root_certs, root_store, host, in ssl_handshake()
|
/external/grpc-grpc/src/php/ext/grpc/ |
D | channel_credentials.c | 36 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)
|
D | server_credentials.c | 65 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/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/tls/ |
D | grpc_tls_certificate_distributor.cc | 28 const std::string& cert_name, absl::optional<std::string> pem_root_certs, in SetKeyMaterials() argument 30 GPR_ASSERT(pem_root_certs.has_value() || pem_key_cert_pairs.has_value()); in SetKeyMaterials() 33 if (pem_root_certs.has_value()) { in SetKeyMaterials() 54 pem_root_certs, std::move(pem_key_cert_pairs_to_report)); in SetKeyMaterials() 56 cert_info.pem_root_certs = std::move(*pem_root_certs); in SetKeyMaterials() 67 if (pem_root_certs.has_value() && in SetKeyMaterials() 75 if (!root_cert_info.pem_root_certs.empty()) { in SetKeyMaterials() 76 pem_root_certs_to_report = root_cert_info.pem_root_certs; in SetKeyMaterials() 91 !it->second.pem_root_certs.empty(); in HasRootCerts() 207 if (!cert_info.pem_root_certs.empty()) { in WatchTlsCertificates() [all …]
|
D | grpc_tls_certificate_distributor.h | 81 const std::string& cert_name, absl::optional<std::string> pem_root_certs, 168 std::string pem_root_certs; member
|
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/ |
D | credentials.pyx.pxi | 208 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 …]
|
D | security.pyx.pxi | 21 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'
|
/external/grpc-grpc/src/core/lib/http/ |
D | httpcli_security_connector.cc | 103 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/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 397 if (pem_root_certs == nullptr) { in grpc_ssl_tsi_client_handshaker_factory_init() 406 root_certs = pem_root_certs; in grpc_ssl_tsi_client_handshaker_factory_init() 414 options.pem_root_certs = root_certs; in grpc_ssl_tsi_client_handshaker_factory_init() 441 const char* pem_root_certs, in grpc_ssl_tsi_server_handshaker_factory_init() argument 451 options.pem_client_root_certs = pem_root_certs; in grpc_ssl_tsi_server_handshaker_factory_init() 547 char* pem_root_certs = nullptr; in ComputePemRootCerts() local 548 ovrd_res = ssl_roots_override_cb(&pem_root_certs); in ComputePemRootCerts() 550 GPR_ASSERT(pem_root_certs != nullptr); in ComputePemRootCerts() 552 pem_root_certs, in ComputePemRootCerts() [all …]
|
D | ssl_utils.h | 91 tsi_ssl_pem_key_cert_pair* key_cert_pair, const char* pem_root_certs, 98 const char* pem_root_certs,
|
/external/grpc-grpc/include/grpc/ |
D | grpc_security.h | 145 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/rust/crates/grpcio-sys/grpc/include/grpc/ |
D | grpc_security.h | 173 char** pem_root_certs); 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, 524 const char* pem_root_certs, 555 const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs, 563 const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs,
|
/external/rust/crates/grpcio-sys/grpc/spm-core-include/grpc/ |
D | grpc_security.h | 173 char** pem_root_certs); 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, 524 const char* pem_root_certs, 555 const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs, 563 const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs,
|
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/ |
D | ssl_transport_security.h | 122 const char* pem_root_certs, const char* cipher_suites, 133 const char* pem_root_certs; member 165 pem_root_certs(nullptr), in tsi_ssl_client_handshaker_options()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/tls/ |
D | tls_security_connector.cc | 376 std::string pem_root_certs; in UpdateHandshakerFactoryLocked() local 380 pem_root_certs = std::string(*pem_root_certs_); in UpdateHandshakerFactoryLocked() 388 pem_root_certs.empty() ? nullptr : pem_root_certs.c_str(), in UpdateHandshakerFactoryLocked() 633 std::string pem_root_certs; in UpdateHandshakerFactoryLocked() local 637 pem_root_certs = std::string(*pem_root_certs_); in UpdateHandshakerFactoryLocked() 644 pem_root_certs.empty() ? nullptr : pem_root_certs.c_str(), in UpdateHandshakerFactoryLocked()
|
/external/grpc-grpc/src/core/lib/security/security_connector/ |
D | security_connector.cc | 727 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 …]
|
/external/grpc-grpc/src/core/tsi/ |
D | ssl_transport_security.h | 110 const char* pem_root_certs, const char* cipher_suites, 121 const char* pem_root_certs; member
|
/external/grpc-grpc/src/csharp/ext/ |
D | grpc_csharp_ext.c | 909 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()
|