Home
last modified time | relevance | path

Searched refs:rootCert (Results 1 – 5 of 5) sorted by relevance

/base/update/updater/services/package/pkg_verify/
Dcert_verify.cpp63 if (rootInfo_.rootCert != nullptr) { in ~SingleCertHelper()
64 X509_free(rootInfo_.rootCert); in ~SingleCertHelper()
91 X509 *rootCert = GetX509CertFromPemFile(Utils::GetCertName()); in InitRootCert() local
92 if (rootCert == nullptr) { in InitRootCert()
97 if (rootInfo_.rootCert != nullptr) { in InitRootCert()
98 X509_free(rootInfo_.rootCert); in InitRootCert()
99 rootInfo_.rootCert = nullptr; in InitRootCert()
101 rootInfo_.rootCert = rootCert; in InitRootCert()
102 rootInfo_.subject = GetX509CertSubjectName(rootCert); in InitRootCert()
103 rootInfo_.issuer = GetX509CertIssuerName(rootCert); in InitRootCert()
[all …]
/base/security/appverify/interfaces/innerkits/appverify/src/init/
Dtrusted_root_ca.cpp43 for (auto rootCert : rootCerts) { in ~TrustedRootCa() local
44 X509_free(rootCert.second); in ~TrustedRootCa()
46 for (auto rootCert : rootCertsForTest) { in ~TrustedRootCa() local
47 X509_free(rootCert.second); in ~TrustedRootCa()
67 for (auto& rootCert : rootCertsForTest) { in DisableDebug() local
68 X509_free(rootCert.second); in DisableDebug()
93 for (auto& rootCert : rootCerts) { in Recovery() local
94 X509_free(rootCert.second); in Recovery()
/base/update/updater/services/include/package/
Dcert_verify.h26 X509 *rootCert = nullptr; member
/base/security/appverify/interfaces/innerkits/appverify_lite/include/
Dmbedtls_pkcs7.h94 mbedtls_x509_crt *rootCert; member
/base/security/appverify/interfaces/innerkits/appverify_lite/src/
Dmbedtls_pkcs7.c773 signer->rootCert = &g_rootCaG2Cert; in BuildSignerCertPath()
1021 static int32_t VerifyClicert(mbedtls_x509_crt *clicert, mbedtls_x509_crt *rootCert, const Pkcs7 *pk… in VerifyClicert() argument
1024 int32_t rc = mbedtls_x509_crt_verify(clicert, rootCert, in VerifyClicert()
1066 rc = VerifyClicert(clicert, signer->rootCert, pkcs7); in PKCS7_VerifyCertsChain()