Home
last modified time | relevance | path

Searched refs:caPath (Results 1 – 25 of 37) sorted by relevance

12

/ohos5.0/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/
H A Dnetwork_security_config_test.cpp89 std::string caPath("/etc/security/certificates/test"); variable
92 NetworkSecurityConfig::GetInstance().GetCAFilesFromPath(caPath, caFiles);
103 std::string caPath("/etc/security/certificates/test"); variable
131 std::string caPath("/etc/security/certificates/test"); variable
134 auto ret = NetworkSecurityConfig::GetInstance().GetRehashedCADirName(caPath);
145 std::string caPath("/etc/security/certificates/test"); variable
147 auto ret = NetworkSecurityConfig::GetInstance().BuildRehasedCAPath(caPath);
158 std::string caPath("/etc/security/certificates/test"); variable
160 auto ret = NetworkSecurityConfig::GetInstance().GetRehasedCAPath(caPath);
171 std::string caPath("/etc/security/certificates/test"); variable
[all …]
/ohos5.0/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/
H A Dnetwork_security_config.cpp99 DIR *dir = opendir(caPath.c_str()); 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()
165 …auto ret = EVP_Digest(reinterpret_cast<const unsigned char *>(caPath.c_str()), caPath.size(), hash… in GetRehashedCADirName()
185 std::string NetworkSecurityConfig::BuildRehasedCAPath(const std::string &caPath) in BuildRehasedCAPath() argument
194 auto dirName = GetRehashedCADirName(caPath); in BuildRehasedCAPath()
212 std::string NetworkSecurityConfig::GetRehasedCAPath(const std::string &caPath) in GetRehasedCAPath() argument
218 auto dirName = GetRehashedCADirName(caPath); in GetRehasedCAPath()
236 GetCAFilesFromPath(caPath, caFiles); in ReHashCAPathForX509()
[all …]
/ohos5.0/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/
H A Dnetwork_security_config.h69 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);
/ohos5.0/foundation/communication/netstack/frameworks/cj/http/include/
H A Dffi_structs.h84 char* caPath; member
/ohos5.0/foundation/communication/netstack/interfaces/kits/js/
H A D@ohos.net.http.d.ts337 caPath?: string;
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/async_context/src/
H A Drequest_context.cpp396 …std::string caPath = NapiUtils::GetStringPropertyUtf8(GetEnv(), optionsValue, HttpConstant::PARAM_… in ParseCaPath() local
397 if (!caPath.empty()) { in ParseCaPath()
398 options.SetCaPath(caPath); in ParseCaPath()
/ohos5.0/foundation/communication/netstack/frameworks/cj/http/src/
H A Dnet_http_request_context.cpp383 if (ops->caPath != nullptr) { in ParseParams()
384 options.SetCaPath(std::string{ops->caPath}); in ParseParams()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-mdm-kit/
H A Djs-apis-enterprise-wifiManager.md217 | caPath | string | 是 | CA 证书路径。 |
/ohos5.0/docs/zh-cn/application-dev/reference/apis-network-kit/
H A Djs-apis-webSocket.md225 options.caPath = "";
928 | caPath<sup>11+</sup> | string | 否 | 是 | 如果设置了此参数,系统将使用用户指定路径的CA证书,(开发者需保证该路径下CA证书的可访问性),否则将使用…
H A Djs-apis-http.md46 caPath: '/path/to/cacert.pem', // 可选,默认使用系统预设CA证书,自API 10开始支持该属性
1105 | caPath<sup>10+</sup> | string | 否 | 如果设置了此参数,系统将使用用户指定路径的CA证书,(开发者需保证该路径下CA证书…
/ohos5.0/docs/zh-cn/application-dev/network/
H A Dhttp-request.md75 caPath:'/path/to/cacert.pem', // 可选,默认使用系统预制证书,自API 10开始支持该属性
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta2/
H A Djs-apidiff-communicate.md125 | ohos.wifi | WifiEapConfig | caPath: string; | 新增 |
/ohos5.0/docs/en/application-dev/reference/apis-mdm-kit/
H A Djs-apis-enterprise-wifiManager.md217 | caPath | string | Yes | CA certificate path. …
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta2/
H A Djs-apidiff-communicate.md125 | ohos.wifi | WifiEapConfig | caPath: string; | Added|
/ohos5.0/foundation/communication/netstack/
H A DREADME_zh.md80 | caPath<sup>10+</sup> | string | 否 | 如果设置了此参数,系统将使用用户指定路径的CA证书,…
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/doc/ApiDoc/WIFIManagerDoc/
H A DWIFIManager功能界面使用说明文档.md69 >| caPath | string | 是 | 否 | CA 证书路径。 |
/ohos5.0/docs/en/application-dev/reference/apis-network-kit/
H A Djs-apis-webSocket.md225 options.caPath = "";
928 | caPath<sup>11+</sup> | string | No | Yes | Path of CA certificates. If a path is set, the syste…
H A Djs-apis-http.md46caPath: '/path/to/cacert.pem', // Optional. The preset CA certificate is used by default. This fie…
1105 | caPath<sup>10+</sup> | string | No | Path of CA certificates. If a path is set…
/ohos5.0/docs/en/application-dev/network/
H A Dhttp-request.md75caPath: '/path/to/cacert.pem', // Optional. The preset CA certificate is used by default. This fie…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta1/
H A Djs-apidiff-customization.md112 |新增|NA|模块名: ohos.enterprise.wifiManager<br>类名: WifiEapProfile<br>方法 or 属性: caPath: string;|@ohos.en…
H A Djs-apidiff-communication.md34 |新增|NA|模块名: ohos.net.http<br>类名: HttpRequestOptions<br>方法 or 属性: caPath?: string;|@ohos.net.http.d.…
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta1/
H A Djs-apidiff-customization.md112 …e.wifiManager<br>Class name: WifiEapProfile<br>Method or attribute name: caPath: string;|@ohos.ent…
H A Djs-apidiff-communication.md34 ….net.http<br>Class name: HttpRequestOptions<br>Method or attribute name: caPath?: string;|@ohos.ne…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/
H A Djs-apidiff-customization.md186 |新增|NA|类名:WifiEapProfile;<br>方法or属性:caPath: string;|@ohos.enterprise.wifiManager.d.ts|
/ohos5.0/docs/zh-cn/release-notes/api-diff/monthly-202210/
H A Djs-apidiff-communication.md344 |新增|NA|模块名: ohos.wifiManager<br>类名: WifiEapConfig<br>方法名 or 属性名: caPath|@ohos.wifiManager.d.ts|
604 |删除|模块名: ohos.wifi<br>类名: WifiEapConfig<br>方法名 or 属性名:caPath|NA|@ohos.wifi.d.ts|

12