Searched refs:MAX_COUNT_CERTIFICATE (Results 1 – 17 of 17) sorted by relevance
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cert_manager_check.c | 131 struct CmBlob fileNames[MAX_COUNT_CERTIFICATE]; in CmCheckMaxInstalledCertCount() 132 uint32_t len = MAX_COUNT_CERTIFICATE * sizeof(struct CmBlob); in CmCheckMaxInstalledCertCount() 136 MAX_COUNT_CERTIFICATE, &fileCount) != CM_SUCCESS) { in CmCheckMaxInstalledCertCount() 141 if (fileCount >= MAX_COUNT_CERTIFICATE) { in CmCheckMaxInstalledCertCount()
|
D | cert_manager.c | 312 struct CmBlob fileNames[MAX_COUNT_CERTIFICATE]; in CmRemoveSpecifiedAppCert() 315 uint32_t len = MAX_COUNT_CERTIFICATE * sizeof(struct CmBlob); in CmRemoveSpecifiedAppCert() 325 …if (CmUserIdLayerGetFileCountAndNames(pathBuf, fileNames, MAX_COUNT_CERTIFICATE, &fileCount) != CM… in CmRemoveSpecifiedAppCert() 352 CmFreeFileNames(fileNames, MAX_COUNT_CERTIFICATE); in CmRemoveSpecifiedAppCert() 418 if (tempCount < MAX_COUNT_CERTIFICATE) { in CherkCertCountBeyondMax()
|
D | cert_manager_query.c | 113 if (uidCount > MAX_COUNT_CERTIFICATE) { in CreateCertPathList() 277 if (i >= MAX_COUNT_CERTIFICATE) { in CreateCertFile() 307 uint32_t arraySize = sizeof(struct CertFileInfo) * MAX_COUNT_CERTIFICATE; in CreateCertFileList() 513 for (uint32_t i = 0; i < MAX_COUNT_CERTIFICATE; i++) { in CmFreeCertBlob() 524 return MAX_COUNT_CERTIFICATE; in CmGetMatchedCertIndex()
|
D | cert_manager_file.c | 89 if (fileNums > MAX_COUNT_CERTIFICATE) { in MallocFileNames()
|
D | cert_manager_service.c | 302 if (uidCount > MAX_COUNT_CERTIFICATE) { in MergeUserPathList() 433 if ((matchIndex == MAX_COUNT_CERTIFICATE) || (matchIndex == certFileList.size)) { in CmServiceGetCertInfo()
|
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/include/ |
D | cm_type.h | 41 #define MAX_COUNT_CERTIFICATE 256 macro 200 struct CmBlob uri[MAX_COUNT_CERTIFICATE]; 201 struct CmBlob certAlias[MAX_COUNT_CERTIFICATE]; 202 struct CmBlob subjectName[MAX_COUNT_CERTIFICATE];
|
/base/security/certificate_manager/test/unittest/inner_permission_test/ |
D | cm_inner_permission_test.cpp | 174 struct CredentialAbstract abstract[MAX_COUNT_CERTIFICATE]; 176 struct CredentialList certList = { MAX_COUNT_CERTIFICATE, abstract }; 189 struct CredentialAbstract abstract[MAX_COUNT_CERTIFICATE]; 191 struct CredentialList certList = { MAX_COUNT_CERTIFICATE, abstract };
|
/base/security/certificate_manager/test/unittest/common_permission_test/ |
D | cm_common_permission_test.cpp | 181 struct CredentialAbstract abstract[MAX_COUNT_CERTIFICATE]; 183 struct CredentialList certList = { MAX_COUNT_CERTIFICATE, abstract }; 196 struct CredentialAbstract abstract[MAX_COUNT_CERTIFICATE]; 198 struct CredentialList certList = { MAX_COUNT_CERTIFICATE, abstract };
|
/base/security/certificate_manager/test/unittest/src/ |
D | cm_app_cert_test.cpp | 434 uint32_t buffSize = MAX_COUNT_CERTIFICATE * sizeof(struct CredentialAbstract); 440 certificateList.credentialCount = MAX_COUNT_CERTIFICATE; 469 uint32_t buffSize = MAX_COUNT_CERTIFICATE * sizeof(struct CredentialAbstract); 472 certificateList.credentialCount = MAX_COUNT_CERTIFICATE; 510 uint32_t buffSize = MAX_COUNT_CERTIFICATE * sizeof(struct CredentialAbstract); 513 certificateList.credentialCount = MAX_COUNT_CERTIFICATE;
|
D | cm_test_common.cpp | 75 uint32_t buffSize = MAX_COUNT_CERTIFICATE * sizeof(struct CertAbstract); in InitCertList() 81 (*cList)->certsCount = MAX_COUNT_CERTIFICATE; in InitCertList()
|
D | cm_user_cert_test.cpp | 641 for (uint32_t i = 0; i < MAX_COUNT_CERTIFICATE; i++) { /* install 256 times user cert */
|
/base/security/certificate_manager/interfaces/kits/napi/src/ |
D | cm_napi_get_app_cert_list_common.cpp | 101 uint32_t buffSize = (MAX_COUNT_CERTIFICATE * sizeof(struct CredentialAbstract)); in InitAppCertList() 108 credentialList->credentialCount = MAX_COUNT_CERTIFICATE; in InitAppCertList()
|
D | cm_napi_get_system_cert_list.cpp | 125 uint32_t buffSize = MAX_COUNT_CERTIFICATE * sizeof(struct CertAbstract); in GetCertListExecute() 133 context->certificateList->certsCount = MAX_COUNT_CERTIFICATE; in GetCertListExecute()
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/idl/cm_ipc/ |
D | cm_ipc_service_serialization.c | 126 … sizeof(uint32_t) + MAX_LEN_URI + sizeof(uint32_t) + MAX_LEN_CERT_ALIAS) * MAX_COUNT_CERTIFICATE; in CmGetCertListPack() 167 uint32_t status[MAX_COUNT_CERTIFICATE] = {0}; in CmServiceGetCertListPack()
|
D | cm_ipc_service.c | 378 MAX_LEN_URI + sizeof(uint32_t) + MAX_LEN_CERT_ALIAS) * MAX_COUNT_CERTIFICATE; in CmServiceGetAppCertListPack() 437 struct CmBlob fileNames[MAX_COUNT_CERTIFICATE]; in CmIpcServiceGetAppCertList() 438 uint32_t len = MAX_COUNT_CERTIFICATE * sizeof(struct CmBlob); in CmIpcServiceGetAppCertList() 458 … ret = CmServiceGetAppCertList(&cmContext, store, fileNames, MAX_COUNT_CERTIFICATE, &fileCount); in CmIpcServiceGetAppCertList()
|
/base/web/webview/ohos_adapter/cert_mgr_adapter/src/ |
D | cert_mgr_adapter_impl.cpp | 33 uint32_t buffSize = MAX_COUNT_CERTIFICATE * sizeof(struct CertAbstract); in InitCertList() 41 (*cList)->certsCount = MAX_COUNT_CERTIFICATE; in InitCertList()
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/ |
D | cm_ipc_client.c | 44 … sizeof(uint32_t) + MAX_LEN_URI + sizeof(uint32_t) + MAX_LEN_CERT_ALIAS) * MAX_COUNT_CERTIFICATE; in GetCertListInitOutData() 299 MAX_LEN_URI + sizeof(uint32_t) + MAX_LEN_CERT_ALIAS) * MAX_COUNT_CERTIFICATE; in GetAppCertListInitBlob()
|