Home
last modified time | relevance | path

Searched refs:credentialCount (Results 1 – 7 of 7) sorted by relevance

/base/security/certificate_manager/test/fuzz_test/cmgetappcertlist_fuzzer/
Dcmgetappcertlist_fuzzer.cpp42 if (!GetUintFromBuffer(myData, &remainSize, &offset, &(credCertList.credentialCount))) { in DoSomethingInterestingWithMyAPI()
46 if (credCertList.credentialCount > (remainSize / sizeof(struct CredentialAbstract))) { in DoSomethingInterestingWithMyAPI()
/base/security/certificate_manager/interfaces/kits/napi/src/
Dcm_napi_get_app_cert_list_common.cpp90 context->credentialList->credentialAbstract, context->credentialList->credentialCount); in GetAppCertListWriteResult()
108 credentialList->credentialCount = MAX_COUNT_CERTIFICATE; in InitAppCertList()
Dcm_napi_common.cpp222 const struct CredentialAbstract *credentialAbstract, const uint32_t credentialCount) in GenerateCredentialAbstractArray() argument
224 if (credentialCount == 0 || credentialAbstract == nullptr) { in GenerateCredentialAbstractArray()
229 for (uint32_t i = 0; i < credentialCount; i++) { in GenerateCredentialAbstractArray()
/base/security/certificate_manager/test/unittest/src/
Dcm_app_cert_test.cpp85 if (abstract == nullptr || listCert == nullptr || listCert->credentialCount == 0) { in FindCredentialAbstract()
88 for (uint32_t i = 0; i < listCert->credentialCount; ++i) { in FindCredentialAbstract()
440 certificateList.credentialCount = MAX_COUNT_CERTIFICATE;
472 certificateList.credentialCount = MAX_COUNT_CERTIFICATE;
513 certificateList.credentialCount = MAX_COUNT_CERTIFICATE;
/base/security/certificate_manager/interfaces/kits/napi/include/
Dcm_napi_common.h74 const struct CredentialAbstract *credentialAbstract, const uint32_t credentialCount);
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/
Dcm_ipc_client.c323 if (credCount > certificateList->credentialCount) { in CmAppCertListGetCertCount()
325 certificateList->credentialCount); in CmAppCertListGetCertCount()
329 certificateList->credentialCount = credCount; in CmAppCertListGetCertCount()
349 for (uint32_t i = 0; i < certificateList->credentialCount; i++) { in CmAppCertListUnpackFromService()
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/include/
Dcm_type.h287 uint32_t credentialCount; member