Home
last modified time | relevance | path

Searched refs:listCert (Results 1 – 2 of 2) sorted by relevance

/base/security/certificate_manager/test/unittest/src/
Dcm_get_certlist_test.cpp113 struct CertList *listCert = NULL; variable
114 ASSERT_TRUE(InitCertList(&listCert) == CM_SUCCESS);
115 int32_t ret = CmGetCertList(CM_SYSTEM_TRUSTED_STORE, listCert);
117 FreeCertList(listCert);
Dcm_app_cert_test.cpp83 …redentialAbstract(const struct CredentialAbstract *abstract, const struct CredentialList *listCert) in FindCredentialAbstract() argument
85 if (abstract == nullptr || listCert == nullptr || listCert->credentialCount == 0) { in FindCredentialAbstract()
88 for (uint32_t i = 0; i < listCert->credentialCount; ++i) { in FindCredentialAbstract()
89 if (CompareCredentialList(abstract, &(listCert->credentialAbstract[i]))) { in FindCredentialAbstract()