Home
last modified time | relevance | path

Searched refs:root_store (Results 1 – 12 of 12) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/lib/http/
Dhttpcli_security_connector.cc63 const tsi_ssl_root_certs_store* root_store) { in InitHandshakerFactory() argument
66 options.root_store = root_store; in InitHandshakerFactory()
137 const char* pem_root_certs, const tsi_ssl_root_certs_store* root_store, in httpcli_ssl_channel_security_connector_create() argument
147 tsi_result result = c->InitHandshakerFactory(pem_root_certs, root_store); in httpcli_ssl_channel_security_connector_create()
186 const tsi_ssl_root_certs_store* root_store = in ssl_handshake() local
188 if (root_store == nullptr) { in ssl_handshake()
198 pem_root_certs, root_store, host, in ssl_handshake()
/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
125 options.root_store = root_store; in httpcli_ssl_channel_security_connector_create()
176 const tsi_ssl_root_certs_store* root_store = in ssl_handshake() local
178 if (root_store == nullptr) { in ssl_handshake()
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/ssl/
Dssl_security_connector.cc92 const tsi_ssl_root_certs_store* root_store, in InitializeHandshakerFactory() argument
101 options.root_store = root_store; in InitializeHandshakerFactory()
408 const tsi_ssl_root_certs_store* root_store; in grpc_ssl_channel_security_connector_create() local
416 root_store = grpc_core::DefaultSslRootStore::GetRootStore(); in grpc_ssl_channel_security_connector_create()
419 root_store = nullptr; in grpc_ssl_channel_security_connector_create()
427 config, pem_root_certs, root_store, ssl_session_cache); in grpc_ssl_channel_security_connector_create()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/
Dssl_utils.cc396 const tsi_ssl_root_certs_store* root_store; in grpc_ssl_tsi_client_handshaker_factory_init() local
404 root_store = grpc_core::DefaultSslRootStore::GetRootStore(); in grpc_ssl_tsi_client_handshaker_factory_init()
407 root_store = nullptr; in grpc_ssl_tsi_client_handshaker_factory_init()
415 options.root_store = root_store; in grpc_ssl_tsi_client_handshaker_factory_init()
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/
Dssl_transport_security.h138 const tsi_ssl_root_certs_store* root_store; member
166 root_store(nullptr), in tsi_ssl_client_handshaker_options()
Dssl_transport_security.cc964 tsi_ssl_root_certs_store* root_store = static_cast<tsi_ssl_root_certs_store*>( in tsi_ssl_root_certs_store_create() local
966 if (root_store == nullptr) { in tsi_ssl_root_certs_store_create()
970 root_store->store = X509_STORE_new(); in tsi_ssl_root_certs_store_create()
971 if (root_store->store == nullptr) { in tsi_ssl_root_certs_store_create()
973 gpr_free(root_store); in tsi_ssl_root_certs_store_create()
976 tsi_result result = x509_store_load_certs(root_store->store, pem_roots, in tsi_ssl_root_certs_store_create()
980 X509_STORE_free(root_store->store); in tsi_ssl_root_certs_store_create()
981 gpr_free(root_store); in tsi_ssl_root_certs_store_create()
984 return root_store; in tsi_ssl_root_certs_store_create()
1908 if (options->pem_root_certs == nullptr && options->root_store == nullptr) { in tsi_create_ssl_client_handshaker_factory_with_options()
[all …]
/external/grpc-grpc/src/core/tsi/
Dssl_transport_security.cc771 tsi_ssl_root_certs_store* root_store = static_cast<tsi_ssl_root_certs_store*>( in tsi_ssl_root_certs_store_create() local
773 if (root_store == nullptr) { in tsi_ssl_root_certs_store_create()
777 root_store->store = X509_STORE_new(); in tsi_ssl_root_certs_store_create()
778 if (root_store->store == nullptr) { in tsi_ssl_root_certs_store_create()
780 gpr_free(root_store); in tsi_ssl_root_certs_store_create()
783 tsi_result result = x509_store_load_certs(root_store->store, pem_roots, in tsi_ssl_root_certs_store_create()
787 X509_STORE_free(root_store->store); in tsi_ssl_root_certs_store_create()
788 gpr_free(root_store); in tsi_ssl_root_certs_store_create()
791 return root_store; in tsi_ssl_root_certs_store_create()
1648 if (options->pem_root_certs == nullptr && options->root_store == nullptr) { in tsi_create_ssl_client_handshaker_factory_with_options()
[all …]
Dssl_transport_security.h126 const tsi_ssl_root_certs_store* root_store; member
/external/grpc-grpc/test/core/tsi/
Dssl_transport_security_test.cc77 tsi_ssl_root_certs_store* root_store; member
124 client_options.root_store = in ssl_test_setup_handshakers()
125 key_cert_lib->use_root_store ? key_cert_lib->root_store : nullptr; in ssl_test_setup_handshakers()
359 tsi_ssl_root_certs_store_destroy(key_cert_lib->root_store); in ssl_test_destruct()
433 key_cert_lib->root_store = in ssl_tsi_test_fixture_create()
435 GPR_ASSERT(key_cert_lib->root_store != nullptr); in ssl_tsi_test_fixture_create()
/external/grpc-grpc/test/core/security/
Dsecurity_connector_test.cc422 const tsi_ssl_root_certs_store* root_store = in test_default_ssl_roots() local
424 GPR_ASSERT(root_store == nullptr); in test_default_ssl_roots()
/external/rust/crates/grpcio-sys/grpc/test/core/security/
Dsecurity_connector_test.cc621 const tsi_ssl_root_certs_store* root_store = in test_default_ssl_roots() local
623 GPR_ASSERT(root_store == nullptr); in test_default_ssl_roots()
/external/grpc-grpc/src/core/lib/security/security_connector/
Dsecurity_connector.cc1060 options.root_store = grpc_core::DefaultSslRootStore::GetRootStore();