Searched refs:caPath (Results 1 - 8 of 8) sorted by relevance
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_multi_test/ |
H A D | network_security_config_test.cpp | 89 std::string caPath("/etc/security/certificates/test"); in HWTEST_F() 92 NetworkSecurityConfig::GetInstance().GetCAFilesFromPath(caPath, caFiles); in HWTEST_F() 103 std::string caPath("/etc/security/certificates/test"); in HWTEST_F() 107 NetworkSecurityConfig::GetInstance().AddSurfixToCACertFileName(caPath, allFileNames, caFile); in HWTEST_F() 131 std::string caPath("/etc/security/certificates/test"); in HWTEST_F() 134 auto ret = NetworkSecurityConfig::GetInstance().GetRehashedCADirName(caPath); in HWTEST_F() 145 std::string caPath("/etc/security/certificates/test"); in HWTEST_F() 147 auto ret = NetworkSecurityConfig::GetInstance().BuildRehasedCAPath(caPath); in HWTEST_F() 158 std::string caPath("/etc/security/certificates/test"); in HWTEST_F() 160 auto ret = NetworkSecurityConfig::GetInstance().GetRehasedCAPath(caPath); in HWTEST_F() [all...] |
/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/ |
H A D | network_security_config.h | 69 void GetCAFilesFromPath(const std::string caPath, std::vector<std::string> &caFiles); 70 void AddSurfixToCACertFileName(const std::string &caPath, 73 std::string GetRehashedCADirName(const std::string &caPath); 74 std::string BuildRehasedCAPath(const std::string &caPath); 75 std::string GetRehasedCAPath(const std::string &caPath); 76 std::string ReHashCAPathForX509(const std::string &caPath);
|
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/ |
H A D | network_security_config.cpp | 97 void NetworkSecurityConfig::GetCAFilesFromPath(const std::string caPath, std::vector<std::string> &caFiles) in GetCAFilesFromPath() argument 99 DIR *dir = opendir(caPath.c_str()); in GetCAFilesFromPath() 101 NETMGR_LOG_E("open CA path[%{public}s] fail. [%{public}d]", caPath.c_str(), errno); in GetCAFilesFromPath() 108 if (caPath.back() != OS_PATH_SEPARATOR) { in GetCAFilesFromPath() 109 caFiles.push_back(caPath + OS_PATH_SEPARATOR + entry->d_name); in GetCAFilesFromPath() 111 caFiles.push_back(caPath + entry->d_name); in GetCAFilesFromPath() 121 void NetworkSecurityConfig::AddSurfixToCACertFileName(const std::string &caPath, std::set<std::string> &allFileNames, in AddSurfixToCACertFileName() argument 162 std::string NetworkSecurityConfig::GetRehashedCADirName(const std::string &caPath) in GetRehashedCADirName() argument 165 auto ret = EVP_Digest(reinterpret_cast<const unsigned char *>(caPath.c_str()), caPath in GetRehashedCADirName() 185 BuildRehasedCAPath(const std::string &caPath) BuildRehasedCAPath() argument 212 GetRehasedCAPath(const std::string &caPath) GetRehasedCAPath() argument 231 ReHashCAPathForX509(const std::string &caPath) ReHashCAPathForX509() argument [all...] |
/foundation/communication/netstack/frameworks/cj/http/include/ |
H A D | ffi_structs.h | 84 char* caPath; member
|
/foundation/communication/wifi/wifi/frameworks/cj/include/ |
H A D | ffi_structs.h | 59 char *caPath; /* CA certificate path */ member
|
/foundation/communication/netstack/frameworks/js/napi/http/async_context/src/ |
H A D | request_context.cpp | 399 std::string caPath = NapiUtils::GetStringPropertyUtf8(GetEnv(), optionsValue, HttpConstant::PARAM_KEY_CA_PATH); in ParseCaPath() local 400 if (!caPath.empty()) { in ParseCaPath() 401 options.SetCaPath(caPath); in ParseCaPath()
|
/foundation/communication/netstack/frameworks/cj/http/src/ |
H A D | net_http_request_context.cpp | 383 if (ops->caPath != nullptr) { in ParseParams() 384 options.SetCaPath(std::string{ops->caPath}); in ParseParams()
|
/foundation/communication/wifi/wifi/frameworks/cj/src/ |
H A D | wifi_ffi.cpp | 314 eapConfig.caPath = MallocCString(wifiEapConfig.caCertPath); in EapConfig2C() 707 config.wifiEapConfig.caCertPath = std::string(cfg.eapConfig.caPath); in FfiWifiAddCandidateConfig()
|
Completed in 8 milliseconds