Home
last modified time | relevance | path

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

/base/security/certificate_manager/test/unittest/src/
Dcm_test_common.cpp139 static bool CompareCert(const struct CertAbstract *firstCert, const struct CertAbstract *secondCert) in CompareCert() argument
141 if (firstCert == nullptr || secondCert == nullptr) { in CompareCert()
145 return ((strcmp(firstCert->uri, secondCert->uri) == 0) && in CompareCert()
146 (strcmp(firstCert->certAlias, secondCert->certAlias) == 0) && in CompareCert()
147 (strcmp(firstCert->subjectName, secondCert->subjectName) == 0) && in CompareCert()
148 (firstCert->status == secondCert->status)); in CompareCert()
151 bool CompareCredentialList(const struct CredentialAbstract *firstCert, const struct CredentialAbstr… in CompareCredentialList() argument
153 if (firstCert == nullptr || secondCert == nullptr) { in CompareCredentialList()
157 return ((strcmp(firstCert->type, secondCert->type) == 0) && in CompareCredentialList()
158 (strcmp(firstCert->alias, secondCert->alias) == 0) && in CompareCredentialList()
[all …]
/base/security/certificate_manager/test/unittest/include/
Dcm_test_common.h45 bool CompareCertInfo(const struct CertInfo *firstCert, const struct CertInfo *secondCert);
51 bool CompareCredentialList(const struct CredentialAbstract *firstCert, const struct CredentialAbstr…