Lines Matching defs:rootCert
63 if (rootInfo_.rootCert != nullptr) {
64 X509_free(rootInfo_.rootCert);
91 X509 *rootCert = GetX509CertFromPemFile(Utils::GetCertName());
92 if (rootCert == nullptr) {
97 if (rootInfo_.rootCert != nullptr) {
98 X509_free(rootInfo_.rootCert);
99 rootInfo_.rootCert = nullptr;
101 rootInfo_.rootCert = rootCert;
102 rootInfo_.subject = GetX509CertSubjectName(rootCert);
103 rootInfo_.issuer = GetX509CertIssuerName(rootCert);
117 return ((VerifyX509CertByIssuerCert(cert, rootInfo_.rootCert)) ? 0 : -1);