Lines Matching refs:rootCert
63 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()
117 return ((VerifyX509CertByIssuerCert(cert, rootInfo_.rootCert)) ? 0 : -1); in VerifySingleCert()