Home
last modified time | relevance | path

Searched refs:MAX_COUNT_CERTIFICATE (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/base/security/certificate_manager/test/unittest/common_permission_test/
H A 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 };
512 struct CredentialAbstract abstract[MAX_COUNT_CERTIFICATE];
514 struct CredentialList certList = { MAX_COUNT_CERTIFICATE, abstract };
/ohos5.0/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/include/
H A Dcm_type.h41 #define MAX_COUNT_CERTIFICATE 256 macro
230 struct CmBlob uri[MAX_COUNT_CERTIFICATE];
231 struct CmBlob certAlias[MAX_COUNT_CERTIFICATE];
232 struct CmBlob subjectName[MAX_COUNT_CERTIFICATE];
/ohos5.0/base/security/certificate_manager/test/unittest/src/
H A Dcm_app_cert_test.cpp439 uint32_t buffSize = MAX_COUNT_CERTIFICATE * sizeof(struct CredentialAbstract);
445 certificateList.credentialCount = MAX_COUNT_CERTIFICATE;
474 uint32_t buffSize = MAX_COUNT_CERTIFICATE * sizeof(struct CredentialAbstract);
477 certificateList.credentialCount = MAX_COUNT_CERTIFICATE;
515 uint32_t buffSize = MAX_COUNT_CERTIFICATE * sizeof(struct CredentialAbstract);
518 certificateList.credentialCount = MAX_COUNT_CERTIFICATE;
547 uint32_t buffSize = MAX_COUNT_CERTIFICATE * sizeof(struct CredentialAbstract);
550 certificateList.credentialCount = MAX_COUNT_CERTIFICATE;
H A Dcm_test_common.cpp91 uint32_t buffSize = MAX_COUNT_CERTIFICATE * sizeof(struct CertAbstract); in InitCertList()
97 (*cList)->certsCount = MAX_COUNT_CERTIFICATE; in InitCertList()
H A Dcm_sys_app_cert_test.cpp720 uint32_t buffSize = MAX_COUNT_CERTIFICATE * sizeof(struct CredentialAbstract);
723 certificateList.credentialCount = MAX_COUNT_CERTIFICATE;
H A Dcm_user_cert_test.cpp353 for (uint32_t i = 0; i < MAX_COUNT_CERTIFICATE; i++) { /* install 256 times user cert */
/ohos5.0/base/request/request/services/src/cxx/
H A Drequest_cert_mgr_adapter.cpp33 uint32_t buffSize = MAX_COUNT_CERTIFICATE * sizeof(struct CertAbstract); in InitCertList()
41 (*certList)->certsCount = MAX_COUNT_CERTIFICATE; in InitCertList()
126 …static_cast<struct CRequestCert **>(malloc(MAX_COUNT_CERTIFICATE * sizeof(struct CRequestCert *))); in GetUserCertsData()
/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
H A Dcert_manager.c385 struct CmBlob fileNames[MAX_COUNT_CERTIFICATE]; in CmRemoveSpecifiedAppCert()
388 uint32_t len = MAX_COUNT_CERTIFICATE * sizeof(struct CmBlob); in CmRemoveSpecifiedAppCert()
398 …if (CmUserIdLayerGetFileCountAndNames(pathBuf, fileNames, MAX_COUNT_CERTIFICATE, &fileCount) != CM… in CmRemoveSpecifiedAppCert()
425 CmFreeFileNames(fileNames, MAX_COUNT_CERTIFICATE); in CmRemoveSpecifiedAppCert()
511 struct CmBlob fileNames[MAX_COUNT_CERTIFICATE]; in GetCertOrCredCount()
512 uint32_t len = MAX_COUNT_CERTIFICATE * sizeof(struct CmBlob); in GetCertOrCredCount()
515 …int32_t ret = CmServiceGetAppCertList(context, store, fileNames, MAX_COUNT_CERTIFICATE, &fileCount… in GetCertOrCredCount()
516 CmFreeFileNames(fileNames, MAX_COUNT_CERTIFICATE); in GetCertOrCredCount()
540 if (certCount < MAX_COUNT_CERTIFICATE) { in CmCheckCertCount()
H A Dcert_manager_query.c113 if (uidCount > MAX_COUNT_CERTIFICATE) { in CreateCertPathList()
277 if (i >= MAX_COUNT_CERTIFICATE) { in CreateCertFile()
306 uint32_t arraySize = sizeof(struct CertFileInfo) * MAX_COUNT_CERTIFICATE; in CreateCertFileList()
529 for (uint32_t i = 0; i < MAX_COUNT_CERTIFICATE; i++) { in CmFreeCertBlob()
540 return MAX_COUNT_CERTIFICATE; in CmGetMatchedCertIndex()
H A Dcert_manager_file.c91 if (fileNums > MAX_COUNT_CERTIFICATE) { in MallocFileNames()
H A Dcert_manager_service.c350 if (uidCount > MAX_COUNT_CERTIFICATE) { in MergeUserPathList()
483 if ((matchIndex == MAX_COUNT_CERTIFICATE) || (matchIndex == certFileList.size)) { in CmServiceGetCertInfo()
H A Dcert_manager_updateflag.c385 struct CmBlob fileNames[MAX_COUNT_CERTIFICATE] = { 0 }; in UpdateUserCerts()
H A Dcert_manager_storage.c431 for (int32_t seq = 0; seq < MAX_COUNT_CERTIFICATE; seq++) { in CmGetCertMinSeqNum()
H A Dcm_event_process.c336 struct CmBlob fileNames[MAX_COUNT_CERTIFICATE] = { 0 }; in CmTraversalBackupUidDir()
/ohos5.0/base/security/certificate_manager/test/unittest/inner_permission_test/
H A 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 };
/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/idl/cm_ipc/
H A Dcm_ipc_service.c394 MAX_LEN_URI + sizeof(uint32_t) + MAX_LEN_CERT_ALIAS) * MAX_COUNT_CERTIFICATE; in CmServiceGetAppCertListPack()
453 struct CmBlob fileNames[MAX_COUNT_CERTIFICATE]; in CmIpcServiceGetAppCertList()
454 uint32_t len = MAX_COUNT_CERTIFICATE * sizeof(struct CmBlob); in CmIpcServiceGetAppCertList()
474 … ret = CmServiceGetAppCertList(&cmContext, store, fileNames, MAX_COUNT_CERTIFICATE, &fileCount); in CmIpcServiceGetAppCertList()
503 struct CmBlob fileNamesBlob[MAX_COUNT_CERTIFICATE]; in CmIpcServiceGetCallingAppCertList()
504 uint32_t len = MAX_COUNT_CERTIFICATE * sizeof(struct CmBlob); in CmIpcServiceGetCallingAppCertList()
524 … CmServiceGetCallingAppCertList(&cmContext, store, fileNamesBlob, MAX_COUNT_CERTIFICATE, &fileCoun… in CmIpcServiceGetCallingAppCertList()
H A Dcm_ipc_service_serialization.c135 … sizeof(uint32_t) + MAX_LEN_URI + sizeof(uint32_t) + MAX_LEN_CERT_ALIAS) * MAX_COUNT_CERTIFICATE; in CmGetCertListPack()
179 uint32_t status[MAX_COUNT_CERTIFICATE] = {0}; in CmServiceGetCertListPack()
/ohos5.0/base/security/certificate_manager/interfaces/kits/napi/src/
H A 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()
H A 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()
/ohos5.0/base/security/certificate_manager/test/fuzz_test/fuzz_test_common/include/
H A Dcm_fuzz_test_common.h30 sizeof(uint32_t) + MAX_LEN_URI + sizeof(uint32_t) + MAX_LEN_CERT_ALIAS) * MAX_COUNT_CERTIFICATE;
/ohos5.0/base/web/webview/ohos_adapter/cert_mgr_adapter/src/
H A Dcert_mgr_adapter_impl.cpp34 uint32_t buffSize = MAX_COUNT_CERTIFICATE * sizeof(struct CertAbstract); in InitCertList()
42 (*cList)->certsCount = MAX_COUNT_CERTIFICATE; in InitCertList()
/ohos5.0/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/
H A Dcm_ipc_client.c44 … sizeof(uint32_t) + MAX_LEN_URI + sizeof(uint32_t) + MAX_LEN_CERT_ALIAS) * MAX_COUNT_CERTIFICATE; in GetCertListInitOutData()
298 MAX_LEN_URI + sizeof(uint32_t) + MAX_LEN_CERT_ALIAS) * MAX_COUNT_CERTIFICATE; in GetAppCertListInitBlob()