Home
last modified time | relevance | path

Searched refs:CmMutableBlob (Results 1 – 16 of 16) sorted by relevance

/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/include/
Dcert_manager_query.h25 int32_t CmGetCertPathList(const struct CmContext *context, uint32_t store, struct CmMutableBlob *pa…
27 int32_t CmGetSysCertPathList(const struct CmContext *context, struct CmMutableBlob *pathList);
29 int32_t CreateCertFileList(const struct CmMutableBlob *pathList, struct CmMutableBlob *certFileList…
35 const struct CmMutableBlob *certFileList, struct CertBlob *certBlob, uint32_t *status);
39 int32_t CmGetMatchedCertIndex(const struct CmMutableBlob *certFileList, const struct CmBlob *certUr…
43 void CmFreePathList(struct CmMutableBlob *pList, uint32_t pathCount);
Dcert_manager.h36 …ruct CmContext *context, const struct CmBlob *certUri, uint32_t store, struct CmMutableBlob *path);
50 int32_t CmWriteUserCert(const struct CmContext *context, struct CmMutableBlob *pathBlob,
53 int32_t CmRemoveUserCert(struct CmMutableBlob *pathBlob, const struct CmBlob *certUri);
55 …AllUserCert(const struct CmContext *context, uint32_t store, const struct CmMutableBlob *pathList);
Dcert_manager_file.h26 int32_t CertManagerGetFilenames(struct CmMutableBlob *fileNames, const char *path);
41 void FreeFileNames(struct CmMutableBlob *fNames, uint32_t fileCount);
Dcert_manager_storage.h47 int32_t CmGetCertFilePath(const struct CmContext *context, uint32_t store, struct CmMutableBlob *pa…
Dcert_manager_service.h52 int32_t CmServiceGetCertList(const struct CmContext *context, uint32_t store, struct CmMutableBlob
Dcert_manager_status.h86 int32_t CmSetStatusEnable(const struct CmContext *context, struct CmMutableBlob *pathBlob,
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_file.c63 void FreeFileNames(struct CmMutableBlob *fNames, uint32_t fileCount) in FreeFileNames()
76 static int32_t MallocFileNames(struct CmMutableBlob **fNames, const char *path, uint32_t *fileCount) in MallocFileNames()
94 uint32_t bufSize = sizeof(struct CmMutableBlob) * fileNums; in MallocFileNames()
95 struct CmMutableBlob *temp = (struct CmMutableBlob *)CMMalloc(bufSize); in MallocFileNames()
108 static int32_t GetFileNames(const char *path, struct CmMutableBlob *fNames, uint32_t fileCount) in GetFileNames()
154 int32_t CertManagerGetFilenames(struct CmMutableBlob *fileNames, const char *path) in CertManagerGetFilenames()
162 struct CmMutableBlob *fNames = NULL; in CertManagerGetFilenames()
Dcert_manager_query.c31 static int32_t MallocCertPath(struct CmMutableBlob *cPath, const char *path) in MallocCertPath()
44 void CmFreePathList(struct CmMutableBlob *pList, uint32_t pathCount) in CmFreePathList()
57 static int32_t ConstrutPathList(const char *useridPath, struct CmMutableBlob *cPathList, uint32_t d… in ConstrutPathList()
100 static int32_t CreateCertPathList(const char *useridPath, struct CmMutableBlob *pathList) in CreateCertPathList()
118 uint32_t arraySize = sizeof(struct CmMutableBlob) * uidCount; in CreateCertPathList()
119 struct CmMutableBlob *cPathList = (struct CmMutableBlob *)CMMalloc(arraySize); in CreateCertPathList()
139 int32_t CmGetCertPathList(const struct CmContext *context, uint32_t store, struct CmMutableBlob *pa… in CmGetCertPathList()
158 int32_t CmGetSysCertPathList(const struct CmContext *context, struct CmMutableBlob *pathList) in CmGetSysCertPathList()
161 uint32_t listSize = sizeof(struct CmMutableBlob) * sysPathCnt; in CmGetSysCertPathList()
162 struct CmMutableBlob *cPathList = (struct CmMutableBlob *)CMMalloc(listSize); in CmGetSysCertPathList()
[all …]
Dcert_manager.c107 static int32_t CmGetFilePath(const struct CmContext *context, uint32_t store, struct CmMutableBlob in CmGetFilePath()
153 static int32_t FindObjectCert(const struct CmBlob *certUri, const struct CmMutableBlob *fNames, uin… in FindObjectCert()
169 uint32_t store, struct CmMutableBlob *path) in CertManagerFindCertFileNameByUri()
179 struct CmMutableBlob fileNames = { 0, NULL }; in CertManagerFindCertFileNameByUri()
186 struct CmMutableBlob *fNames = (struct CmMutableBlob *)fileNames.data; in CertManagerFindCertFileNameByUri()
208 struct CmMutableBlob path = { sizeof(pathBuf), (uint8_t*) pathBuf }; in CmRemoveAppCert()
468 int32_t CmWriteUserCert(const struct CmContext *context, struct CmMutableBlob *pathBlob, in CmWriteUserCert()
506 int32_t CmRemoveUserCert(struct CmMutableBlob *pathBlob, const struct CmBlob *certUri) in CmRemoveUserCert()
514 struct CmMutableBlob fileNames = { 0, NULL }; in RemoveAllUserCert()
515 … struct CmMutableBlob pathBlob = { strlen(path) + 1, (uint8_t *)path }; /* include '\0' at end. */ in RemoveAllUserCert()
[all …]
Dcert_manager_service.c279 int32_t CmServiceGetCertList(const struct CmContext *context, uint32_t store, struct CmMutableBlob in CmServiceGetCertList()
282 struct CmMutableBlob pathList = { 0, NULL }; /* uid path list */ in CmServiceGetCertList()
313 CmFreePathList((struct CmMutableBlob *)pathList.data, pathList.size); in CmServiceGetCertList()
327 struct CmMutableBlob certFileList = { 0, NULL }; in CmServiceGetCertInfo()
375 struct CmMutableBlob pathBlob = { sizeof(pathBuf), pathBuf }; in CmInstallUserCert()
466 struct CmMutableBlob pathBlob = { sizeof(pathBuf), pathBuf }; in CmUninstallUserCert()
501 struct CmMutableBlob pathList = { 0, NULL }; in CmUninstallAllUserCert()
510 CmFreePathList((struct CmMutableBlob *)pathList.data, pathList.size); in CmUninstallAllUserCert()
Dcert_manager_storage.c170 int32_t CmGetCertFilePath(const struct CmContext *context, uint32_t store, struct CmMutableBlob *pa… in CmGetCertFilePath()
Dcert_manager_status.c828 struct CmMutableBlob path = { sizeof(pathBuf), (uint8_t *) pathBuf }; in SetcertStatus()
841 int32_t CmSetStatusEnable(const struct CmContext *context, struct CmMutableBlob *pathBlob, in CmSetStatusEnable()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/idl/cm_ipc/
Dcm_ipc_service_serialization.h32 const struct CmMutableBlob *certFileList, struct CmBlob *certificateList);
Dcm_ipc_service_serialization.c165 const struct CmMutableBlob *certFileList, struct CmBlob *certificateList) in CmServiceGetCertListPack()
Dcm_ipc_service.c70 struct CmMutableBlob certFileList = { 0, NULL }; in CmIpcServiceGetCertificateList()
918 struct CmMutableBlob certFileList = { 0, NULL }; in CmIpcServiceGetUserCertList()
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/include/
Dcm_type.h183 struct CmMutableBlob { struct