/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/include/ |
D | cert_manager_query.h | 25 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);
|
D | cert_manager.h | 36 …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);
|
D | cert_manager_file.h | 26 int32_t CertManagerGetFilenames(struct CmMutableBlob *fileNames, const char *path); 41 void FreeFileNames(struct CmMutableBlob *fNames, uint32_t fileCount);
|
D | cert_manager_storage.h | 47 int32_t CmGetCertFilePath(const struct CmContext *context, uint32_t store, struct CmMutableBlob *pa…
|
D | cert_manager_service.h | 52 int32_t CmServiceGetCertList(const struct CmContext *context, uint32_t store, struct CmMutableBlob …
|
D | cert_manager_status.h | 86 int32_t CmSetStatusEnable(const struct CmContext *context, struct CmMutableBlob *pathBlob,
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cert_manager_file.c | 63 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()
|
D | cert_manager_query.c | 31 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 …]
|
D | cert_manager.c | 107 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 …]
|
D | cert_manager_service.c | 279 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()
|
D | cert_manager_storage.c | 170 int32_t CmGetCertFilePath(const struct CmContext *context, uint32_t store, struct CmMutableBlob *pa… in CmGetCertFilePath()
|
D | cert_manager_status.c | 828 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/ |
D | cm_ipc_service_serialization.h | 32 const struct CmMutableBlob *certFileList, struct CmBlob *certificateList);
|
D | cm_ipc_service_serialization.c | 165 const struct CmMutableBlob *certFileList, struct CmBlob *certificateList) in CmServiceGetCertListPack()
|
D | cm_ipc_service.c | 70 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/ |
D | cm_type.h | 183 struct CmMutableBlob { struct
|