Searched refs:rootCert (Results 1 – 5 of 5) sorted by relevance
63 if (rootInfo_.rootCert != nullptr) { in ~SingleCertHelper()64 X509_free(rootInfo_.rootCert); in ~SingleCertHelper()91 X509 *rootCert = GetX509CertFromPemFile(Utils::GetCertName()); in InitRootCert() local92 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 …]
43 for (auto rootCert : rootCerts) { in ~TrustedRootCa() local44 X509_free(rootCert.second); in ~TrustedRootCa()46 for (auto rootCert : rootCertsForTest) { in ~TrustedRootCa() local47 X509_free(rootCert.second); in ~TrustedRootCa()67 for (auto& rootCert : rootCertsForTest) { in DisableDebug() local68 X509_free(rootCert.second); in DisableDebug()93 for (auto& rootCert : rootCerts) { in Recovery() local94 X509_free(rootCert.second); in Recovery()
26 X509 *rootCert = nullptr; member
94 mbedtls_x509_crt *rootCert; member
773 signer->rootCert = &g_rootCaG2Cert; in BuildSignerCertPath()1021 static int32_t VerifyClicert(mbedtls_x509_crt *clicert, mbedtls_x509_crt *rootCert, const Pkcs7 *pk… in VerifyClicert() argument1024 int32_t rc = mbedtls_x509_crt_verify(clicert, rootCert, in VerifyClicert()1066 rc = VerifyClicert(clicert, signer->rootCert, pkcs7); in PKCS7_VerifyCertsChain()