Home
last modified time | relevance | path

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/
Dcert_manager_check.c131 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()
Dcert_manager.c312 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()
Dcert_manager_query.c113 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()
Dcert_manager_file.c89 if (fileNums > MAX_COUNT_CERTIFICATE) { in MallocFileNames()
Dcert_manager_service.c302 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/
Dcm_type.h41 #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/
Dcm_inner_permission_test.cpp174 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/
Dcm_common_permission_test.cpp181 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/
Dcm_app_cert_test.cpp434 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;
Dcm_test_common.cpp75 uint32_t buffSize = MAX_COUNT_CERTIFICATE * sizeof(struct CertAbstract); in InitCertList()
81 (*cList)->certsCount = MAX_COUNT_CERTIFICATE; in InitCertList()
Dcm_user_cert_test.cpp641 for (uint32_t i = 0; i < MAX_COUNT_CERTIFICATE; i++) { /* install 256 times user cert */
/base/security/certificate_manager/interfaces/kits/napi/src/
Dcm_napi_get_app_cert_list_common.cpp101 uint32_t buffSize = (MAX_COUNT_CERTIFICATE * sizeof(struct CredentialAbstract)); in InitAppCertList()
108 credentialList->credentialCount = MAX_COUNT_CERTIFICATE; in InitAppCertList()
Dcm_napi_get_system_cert_list.cpp125 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/
Dcm_ipc_service_serialization.c126 … 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()
Dcm_ipc_service.c378 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/
Dcert_mgr_adapter_impl.cpp33 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/
Dcm_ipc_client.c44 … 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()