Searched refs:root_store (Results 1 – 7 of 7) sorted by relevance
/third_party/grpc/src/core/lib/http/ |
D | httpcli_security_connector.cc | 63 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()
|
/third_party/grpc/src/core/lib/security/security_connector/ssl/ |
D | ssl_security_connector.cc | 92 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()
|
/third_party/grpc/src/core/lib/security/security_connector/ |
D | ssl_utils.cc | 396 const tsi_ssl_root_certs_store* root_store; in grpc_ssl_tsi_client_handshaker_factory_init() local 407 root_store = grpc_core::DefaultSslRootStore::GetRootStore(); in grpc_ssl_tsi_client_handshaker_factory_init() 410 root_store = nullptr; in grpc_ssl_tsi_client_handshaker_factory_init() 418 options.root_store = root_store; in grpc_ssl_tsi_client_handshaker_factory_init()
|
/third_party/grpc/src/core/tsi/ |
D | ssl_transport_security.h | 135 const tsi_ssl_root_certs_store* root_store; member 163 root_store(nullptr), in tsi_ssl_client_handshaker_options()
|
D | ssl_transport_security.cc | 961 tsi_ssl_root_certs_store* root_store = static_cast<tsi_ssl_root_certs_store*>( in tsi_ssl_root_certs_store_create() local 963 if (root_store == nullptr) { in tsi_ssl_root_certs_store_create() 967 root_store->store = X509_STORE_new(); in tsi_ssl_root_certs_store_create() 968 if (root_store->store == nullptr) { in tsi_ssl_root_certs_store_create() 970 gpr_free(root_store); in tsi_ssl_root_certs_store_create() 973 tsi_result result = x509_store_load_certs(root_store->store, pem_roots, in tsi_ssl_root_certs_store_create() 977 X509_STORE_free(root_store->store); in tsi_ssl_root_certs_store_create() 978 gpr_free(root_store); in tsi_ssl_root_certs_store_create() 981 return root_store; in tsi_ssl_root_certs_store_create() 1905 if (options->pem_root_certs == nullptr && options->root_store == nullptr) { in tsi_create_ssl_client_handshaker_factory_with_options() [all …]
|
/third_party/grpc/test/core/tsi/ |
D | ssl_transport_security_test.cc | 82 tsi_ssl_root_certs_store* root_store; member 128 client_options.root_store = in ssl_test_setup_handshakers() 129 key_cert_lib->use_root_store ? key_cert_lib->root_store : nullptr; in ssl_test_setup_handshakers() 406 tsi_ssl_root_certs_store_destroy(key_cert_lib->root_store); in ssl_test_destruct() 480 key_cert_lib->root_store = in ssl_tsi_test_fixture_create() 482 GPR_ASSERT(key_cert_lib->root_store != nullptr); in ssl_tsi_test_fixture_create() 882 tsi_ssl_root_certs_store* root_store = in ssl_tsi_test_duplicate_root_certificates() local 884 GPR_ASSERT(root_store != nullptr); in ssl_tsi_test_duplicate_root_certificates() 886 tsi_ssl_root_certs_store_destroy(root_store); in ssl_tsi_test_duplicate_root_certificates()
|
/third_party/grpc/test/core/security/ |
D | security_connector_test.cc | 621 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()
|