Home
last modified time | relevance | path

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

/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/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/grpc-grpc/src/core/lib/security/security_connector/
Dsecurity_connector.cc1060 options.root_store = grpc_core::DefaultSslRootStore::GetRootStore();