Home
last modified time | relevance | path

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

/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
H A Dcert_manager_status.c795 ASSERT_ARGS(context && certFile.path && certFile.fileName); in CertManagerStatusFile()
796 …ASSERT_ARGS(certFile.path->size && certFile.path->data && certFile.fileName->size && certFile.file… in CertManagerStatusFile()
811 if (memcpy_s(fn, MAX_LEN_URI, certFile.fileName->data, certFile.fileName->size) != EOK) { in CertManagerStatusFile()
843 struct CertFile certFile = { 0, 0 }; in SetcertStatus() local
849 certFile.path = &(CM_BLOB(&path)); in SetcertStatus()
850 certFile.fileName = &(CM_BLOB(certUri)); in SetcertStatus()
858 struct CertFile certFile = { 0, 0 }; in CmSetStatusEnable() local
859 certFile.path = &(CM_BLOB(pathBlob)); in CmSetStatusEnable()
860 certFile.fileName = &(CM_BLOB(certUri)); in CmSetStatusEnable()
869 certFile.path = &(cFile->path); in CmGetCertStatus()
[all …]
H A Dcert_manager_query.c204 static int32_t MallocCertNameAndPath(struct CertFileInfo *certFile, const char *path, in MallocCertNameAndPath() argument
208 certFile->path.data = (uint8_t *)CMMalloc(pathSize); in MallocCertNameAndPath()
209 if (certFile->path.data == NULL) { in MallocCertNameAndPath()
213 certFile->path.size = pathSize; in MallocCertNameAndPath()
214 (void)memset_s(certFile->path.data, pathSize, 0, pathSize); in MallocCertNameAndPath()
217 certFile->fileName.data = (uint8_t *)CMMalloc(nameSize); in MallocCertNameAndPath()
218 if (certFile->fileName.data == NULL) { in MallocCertNameAndPath()
222 certFile->fileName.size = nameSize; in MallocCertNameAndPath()
223 (void)memset_s(certFile->fileName.data, nameSize, 0, nameSize); in MallocCertNameAndPath()
236 if (sprintf_s((char *)certFile->path.data, certFile->path.size, "%s", path) < 0) { in GetCertNameAndPath()
[all …]
/ohos5.0/base/hiviewdfx/hiview/core/param_update/src/
H A Dparam_reader.cpp37 std::string certFile = CFG_PATH + "CERT.ENC"; in VerifyCertFile() local
39 if (!LogSignTools::VerifyFileSign(PUBKEY_PATH, certFile, verifyFile)) { in VerifyCertFile()
41 certFile.c_str(), verifyFile.c_str()); in VerifyCertFile()
/ohos5.0/foundation/communication/netstack/frameworks/cj/http/include/
H A Dnet_http_request_context.h36 std::string certFile; member
107 void SetCertsPath(std::vector<std::string> &&certPathList, const std::string &certFile);
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/async_context/include/
H A Drequest_context.h48 std::string certFile; member
113 void SetCertsPath(std::vector<std::string> &&certPathList, const std::string &certFile);
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_lite_source/
H A Dhttp_lite_manager.h31 std::string certFile; member
H A Dhttp_lite_source_plugin.cpp345 httpAttr.certFile = certFile_; in OpenUri()
/ohos5.0/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/
H A Dnetwork_security_config.cpp137 std::ifstream certFile(fileName.c_str()); in ReadCertFile() local
138 if (!certFile.is_open()) { in ReadCertFile()
144 certStream << certFile.rdbuf(); in ReadCertFile()
/ohos5.0/foundation/communication/netstack/frameworks/cj/http/src/
H A Dnet_http_request_context.cpp338 … RequestContext::SetCertsPath(std::vector<std::string> &&certPathList, const std::string &certFile) in SetCertsPath() argument
341 certsPath_.certFile = certFile; in SetCertsPath()
H A Dnet_http_client_exec.cpp564 if (access(certsPath->certFile.c_str(), F_OK) != 0) { in SslCtxFunction()
566 …} else if (!SSL_CTX_load_verify_locations(static_cast<SSL_CTX *>(ssl_ctx), certsPath->certFile.c_s… in SslCtxFunction()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/async_context/src/
H A Drequest_context.cpp557 … RequestContext::SetCertsPath(std::vector<std::string> &&certPathList, const std::string &certFile) in SetCertsPath() argument
560 certsPath_.certFile = certFile; in SetCertsPath()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/http_exec/src/
H A Dhttp_exec.cpp879 if (access(certsPath->certFile.c_str(), F_OK) != 0) { in AddCurlHandle()
881 …} else if (!SSL_CTX_load_verify_locations(static_cast<SSL_CTX *>(ssl_ctx), certsPath->certFile.c_s… in AddCurlHandle()