/external/grpc-grpc/src/core/lib/security/credentials/ssl/ |
D | ssl_credentials.cc | 151 grpc_tsi_ssl_pem_key_cert_pairs_destroy(c->config.pem_key_cert_pairs, in ssl_server_destruct() 165 const grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs, in grpc_convert_grpc_to_tsi_cert_pairs() argument 169 GPR_ASSERT(pem_key_cert_pairs != nullptr); in grpc_convert_grpc_to_tsi_cert_pairs() 174 GPR_ASSERT(pem_key_cert_pairs[i].private_key != nullptr); in grpc_convert_grpc_to_tsi_cert_pairs() 175 GPR_ASSERT(pem_key_cert_pairs[i].cert_chain != nullptr); in grpc_convert_grpc_to_tsi_cert_pairs() 176 tsi_pairs[i].cert_chain = gpr_strdup(pem_key_cert_pairs[i].cert_chain); in grpc_convert_grpc_to_tsi_cert_pairs() 177 tsi_pairs[i].private_key = gpr_strdup(pem_key_cert_pairs[i].private_key); in grpc_convert_grpc_to_tsi_cert_pairs() 183 const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs, in ssl_build_server_config() argument 191 config->pem_key_cert_pairs = grpc_convert_grpc_to_tsi_cert_pairs( in ssl_build_server_config() 192 pem_key_cert_pairs, num_key_cert_pairs); in ssl_build_server_config() [all …]
|
D | ssl_credentials.h | 31 grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs; member 48 const grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs,
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/ssl/ |
D | ssl_credentials.cc | 181 options.certificate_config->pem_key_cert_pairs, in grpc_ssl_server_credentials() 188 grpc_tsi_ssl_pem_key_cert_pairs_destroy(config_.pem_key_cert_pairs, in ~grpc_ssl_server_credentials() 198 const grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs, in grpc_convert_grpc_to_tsi_cert_pairs() argument 202 GPR_ASSERT(pem_key_cert_pairs != nullptr); in grpc_convert_grpc_to_tsi_cert_pairs() 207 GPR_ASSERT(pem_key_cert_pairs[i].private_key != nullptr); in grpc_convert_grpc_to_tsi_cert_pairs() 208 GPR_ASSERT(pem_key_cert_pairs[i].cert_chain != nullptr); in grpc_convert_grpc_to_tsi_cert_pairs() 209 tsi_pairs[i].cert_chain = gpr_strdup(pem_key_cert_pairs[i].cert_chain); in grpc_convert_grpc_to_tsi_cert_pairs() 210 tsi_pairs[i].private_key = gpr_strdup(pem_key_cert_pairs[i].private_key); in grpc_convert_grpc_to_tsi_cert_pairs() 216 const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs, in build_config() argument 221 config_.pem_key_cert_pairs = grpc_convert_grpc_to_tsi_cert_pairs( in build_config() [all …]
|
D | ssl_credentials.h | 55 grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs = nullptr; member 95 grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs, size_t num_key_cert_pairs, 103 const grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs,
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/tls/ |
D | grpc_tls_certificate_provider.cc | 33 grpc_core::PemKeyCertPairList pem_key_cert_pairs) in StaticDataCertificateProvider() argument 36 pem_key_cert_pairs_(std::move(pem_key_cert_pairs)) { in StaticDataCertificateProvider() 42 absl::optional<grpc_core::PemKeyCertPairList> pem_key_cert_pairs; in StaticDataCertificateProvider() local 51 pem_key_cert_pairs = pem_key_cert_pairs_; in StaticDataCertificateProvider() 58 const bool identity_has_update = pem_key_cert_pairs.has_value(); in StaticDataCertificateProvider() 61 std::move(pem_key_cert_pairs)); in StaticDataCertificateProvider() 132 absl::optional<grpc_core::PemKeyCertPairList> pem_key_cert_pairs; in FileWatcherCertificateProvider() local 142 pem_key_cert_pairs = pem_key_cert_pairs_; in FileWatcherCertificateProvider() 149 if (root_certificate.has_value() || pem_key_cert_pairs.has_value()) { in FileWatcherCertificateProvider() 151 pem_key_cert_pairs); in FileWatcherCertificateProvider() [all …]
|
D | grpc_tls_certificate_distributor.cc | 29 absl::optional<grpc_core::PemKeyCertPairList> pem_key_cert_pairs) { in SetKeyMaterials() argument 30 GPR_ASSERT(pem_root_certs.has_value() || pem_key_cert_pairs.has_value()); in SetKeyMaterials() 43 if (pem_key_cert_pairs.has_value() && in SetKeyMaterials() 45 pem_key_cert_pairs_to_report = pem_key_cert_pairs; in SetKeyMaterials() 49 if (!identity_cert_info.pem_key_cert_pairs.empty()) { in SetKeyMaterials() 50 pem_key_cert_pairs_to_report = identity_cert_info.pem_key_cert_pairs; in SetKeyMaterials() 58 if (pem_key_cert_pairs.has_value()) { in SetKeyMaterials() 80 pem_key_cert_pairs); in SetKeyMaterials() 82 cert_info.pem_key_cert_pairs = std::move(*pem_key_cert_pairs); in SetKeyMaterials() 99 !it->second.pem_key_cert_pairs.empty(); in HasKeyCertPairs() [all …]
|
D | grpc_tls_certificate_distributor.h | 32 grpc_core::PemKeyCertPairList pem_key_cert_pairs; member 82 absl::optional<grpc_core::PemKeyCertPairList> pem_key_cert_pairs); 170 grpc_core::PemKeyCertPairList pem_key_cert_pairs; member
|
D | grpc_tls_certificate_provider.h | 62 grpc_core::PemKeyCertPairList pem_key_cert_pairs);
|
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/ |
D | credentials.pyx.pxi | 214 cdef grpc_ssl_pem_key_cert_pair* _create_c_ssl_pem_key_cert_pairs(pem_key_cert_pairs): argument 216 for pair in pem_key_cert_pairs: 218 raise TypeError("expected pem_key_cert_pairs to be sequence of " 220 cdef size_t c_ssl_pem_key_cert_pairs_count = len(pem_key_cert_pairs) 228 (<SslPemKeyCertPair>pem_key_cert_pairs[i]).c_pair) 231 def server_credentials_ssl(pem_root_certs, pem_key_cert_pairs, argument 234 pem_key_cert_pairs = list(pem_key_cert_pairs) 237 credentials.references.append(pem_key_cert_pairs) 239 credentials.c_ssl_pem_key_cert_pairs_count = len(pem_key_cert_pairs) 240 credentials.c_ssl_pem_key_cert_pairs = _create_c_ssl_pem_key_cert_pairs(pem_key_cert_pairs) [all …]
|
/external/grpc-grpc/src/cpp/server/ |
D | secure_server_credentials.cc | 110 std::vector<grpc_ssl_pem_key_cert_pair> pem_key_cert_pairs; in SslServerCredentials() local 111 for (auto key_cert_pair = options.pem_key_cert_pairs.begin(); in SslServerCredentials() 112 key_cert_pair != options.pem_key_cert_pairs.end(); key_cert_pair++) { in SslServerCredentials() 115 pem_key_cert_pairs.push_back(p); in SslServerCredentials() 119 pem_key_cert_pairs.empty() ? nullptr : &pem_key_cert_pairs[0], in SslServerCredentials() 120 pem_key_cert_pairs.size(), in SslServerCredentials()
|
/external/rust/crates/grpcio-sys/grpc/src/cpp/server/ |
D | secure_server_credentials.cc | 110 std::vector<grpc_ssl_pem_key_cert_pair> pem_key_cert_pairs; in SslServerCredentials() local 111 for (const auto& key_cert_pair : options.pem_key_cert_pairs) { in SslServerCredentials() 114 pem_key_cert_pairs.push_back(p); in SslServerCredentials() 118 pem_key_cert_pairs.empty() ? nullptr : &pem_key_cert_pairs[0], in SslServerCredentials() 119 pem_key_cert_pairs.size(), in SslServerCredentials()
|
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/ |
D | ssl_transport_security.h | 235 const tsi_ssl_pem_key_cert_pair* pem_key_cert_pairs, 249 const tsi_ssl_pem_key_cert_pair* pem_key_cert_pairs, 258 const tsi_ssl_pem_key_cert_pair* pem_key_cert_pairs; member 294 : pem_key_cert_pairs(nullptr), in tsi_ssl_server_handshaker_options()
|
/external/grpc-grpc/src/core/tsi/ |
D | ssl_transport_security.h | 204 const tsi_ssl_pem_key_cert_pair* pem_key_cert_pairs, 218 const tsi_ssl_pem_key_cert_pair* pem_key_cert_pairs, 227 const tsi_ssl_pem_key_cert_pair* pem_key_cert_pairs; member
|
D | ssl_transport_security.cc | 1734 const tsi_ssl_pem_key_cert_pair* pem_key_cert_pairs, in tsi_create_ssl_server_handshaker_factory() argument 1740 pem_key_cert_pairs, num_key_cert_pairs, pem_client_root_certs, in tsi_create_ssl_server_handshaker_factory() 1747 const tsi_ssl_pem_key_cert_pair* pem_key_cert_pairs, in tsi_create_ssl_server_handshaker_factory_ex() argument 1754 options.pem_key_cert_pairs = pem_key_cert_pairs; in tsi_create_ssl_server_handshaker_factory_ex() 1777 options->pem_key_cert_pairs == nullptr) { in tsi_create_ssl_server_handshaker_factory_with_options() 1816 &options->pem_key_cert_pairs[i], in tsi_create_ssl_server_handshaker_factory_with_options() 1880 options->pem_key_cert_pairs[i].cert_chain, in tsi_create_ssl_server_handshaker_factory_with_options()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/ssl/ |
D | ssl_security_connector.cc | 242 options.pem_key_cert_pairs = in InitializeHandshakerFactory() 243 server_credentials->config().pem_key_cert_pairs; in InitializeHandshakerFactory() 356 options.pem_key_cert_pairs = grpc_convert_grpc_to_tsi_cert_pairs( in try_replace_server_handshaker_factory() 357 config->pem_key_cert_pairs, config->num_key_cert_pairs); in try_replace_server_handshaker_factory() 369 const_cast<tsi_ssl_pem_key_cert_pair*>(options.pem_key_cert_pairs), in try_replace_server_handshaker_factory()
|
D | ssl_security_connector.h | 63 tsi_ssl_pem_key_cert_pair* pem_key_cert_pairs = nullptr; member
|
/external/rust/crates/grpcio-sys/grpc/include/grpc/ |
D | grpc_security.h | 525 const grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs, 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, 816 const char* root_certificate, grpc_tls_identity_pairs* pem_key_cert_pairs);
|
/external/rust/crates/grpcio-sys/grpc/spm-core-include/grpc/ |
D | grpc_security.h | 525 const grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs, 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, 816 const char* root_certificate, grpc_tls_identity_pairs* pem_key_cert_pairs);
|
/external/grpc-grpc/include/grpc/ |
D | grpc_security.h | 393 const grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs, 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/include/grpcpp/security/ |
D | server_credentials.h | 71 std::vector<PemKeyCertPair> pem_key_cert_pairs; member
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/tls/ |
D | tls_security_connector.cc | 639 tsi_ssl_pem_key_cert_pair* pem_key_cert_pairs = nullptr; in UpdateHandshakerFactoryLocked() local 640 pem_key_cert_pairs = ConvertToTsiPemKeyCertPair(*pem_key_cert_pair_list_); in UpdateHandshakerFactoryLocked() 643 pem_key_cert_pairs, num_key_cert_pairs, in UpdateHandshakerFactoryLocked() 650 grpc_tsi_ssl_pem_key_cert_pairs_destroy(pem_key_cert_pairs, in UpdateHandshakerFactoryLocked()
|
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/security/ |
D | server_credentials.h | 52 std::vector<PemKeyCertPair> pem_key_cert_pairs; member
|
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/security/ |
D | server_credentials.h | 52 std::vector<PemKeyCertPair> pem_key_cert_pairs; member
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/ |
D | ssl_utils.cc | 440 tsi_ssl_pem_key_cert_pair* pem_key_cert_pairs, size_t num_key_cert_pairs, in grpc_ssl_tsi_server_handshaker_factory_init() argument 449 options.pem_key_cert_pairs = pem_key_cert_pairs; in grpc_ssl_tsi_server_handshaker_factory_init()
|
/external/grpc-grpc/test/cpp/util/ |
D | test_credentials_provider.cc | 93 ssl_opts.pem_key_cert_pairs.push_back(pkcp); in GetServerCredentials()
|