Home
last modified time | relevance | path

Searched refs:certFile (Results 1 - 3 of 3) sorted by relevance

/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
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()
228 static int32_t GetCertNameAndPath(struct CertFileInfo *certFile, cons argument
[all...]
H A Dcert_manager_status.c792 static int32_t CertManagerStatusFile(const struct CmContext *context, struct CertFile certFile, in CertManagerStatusFile() argument
795 ASSERT_ARGS(context && certFile.path && certFile.fileName); in CertManagerStatusFile()
796 ASSERT_ARGS(certFile.path->size && certFile.path->data && certFile.fileName->size && certFile.fileName->data); in CertManagerStatusFile()
811 if (memcpy_s(fn, MAX_LEN_URI, certFile.fileName->data, certFile.fileName->size) != EOK) { in CertManagerStatusFile()
843 struct CertFile certFile in SetcertStatus() local
858 struct CertFile certFile = { 0, 0 }; CmSetStatusEnable() local
868 struct CertFile certFile = { NULL, NULL }; CmGetCertStatus() local
[all...]
/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()

Completed in 3 milliseconds