Home
last modified time | relevance | path

Searched refs:pem_key_cert_pairs (Results 1 – 25 of 34) sorted by relevance

12

/external/grpc-grpc/src/core/lib/security/credentials/ssl/
Dssl_credentials.cc151 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 …]
Dssl_credentials.h31 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/
Dssl_credentials.cc181 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 …]
Dssl_credentials.h55 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/
Dgrpc_tls_certificate_provider.cc33 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 …]
Dgrpc_tls_certificate_distributor.cc29 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 …]
Dgrpc_tls_certificate_distributor.h32 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
Dgrpc_tls_certificate_provider.h62 grpc_core::PemKeyCertPairList pem_key_cert_pairs);
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dcredentials.pyx.pxi214 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/
Dsecure_server_credentials.cc110 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/
Dsecure_server_credentials.cc110 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/
Dssl_transport_security.h235 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/
Dssl_transport_security.h204 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
Dssl_transport_security.cc1734 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/
Dssl_security_connector.cc242 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()
Dssl_security_connector.h63 tsi_ssl_pem_key_cert_pair* pem_key_cert_pairs = nullptr; member
/external/rust/crates/grpcio-sys/grpc/include/grpc/
Dgrpc_security.h525 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/
Dgrpc_security.h525 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/
Dgrpc_security.h393 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/
Dserver_credentials.h71 std::vector<PemKeyCertPair> pem_key_cert_pairs; member
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/tls/
Dtls_security_connector.cc639 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/
Dserver_credentials.h52 std::vector<PemKeyCertPair> pem_key_cert_pairs; member
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/security/
Dserver_credentials.h52 std::vector<PemKeyCertPair> pem_key_cert_pairs; member
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/
Dssl_utils.cc440 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/
Dtest_credentials_provider.cc93 ssl_opts.pem_key_cert_pairs.push_back(pkcp); in GetServerCredentials()

12