Searched refs:storeCtx (Results 1 – 2 of 2) sorted by relevance
146 X509StoreCtxPtr storeCtx(X509_STORE_CTX_new(), ::X509_STORE_CTX_free); in validateCertificateAgainstStore() local147 if (!storeCtx) in validateCertificateAgainstStore()153 errCode = X509_STORE_CTX_init(storeCtx.get(), &x509Store, &cert, nullptr); in validateCertificateAgainstStore()163 X509_STORE_CTX_set_time(storeCtx.get(), X509_V_FLAG_USE_CHECK_TIME, in validateCertificateAgainstStore()166 errCode = X509_verify_cert(storeCtx.get()); in validateCertificateAgainstStore()173 errCode = X509_STORE_CTX_get_error(storeCtx.get()); in validateCertificateAgainstStore()
87 X509_STORE_CTX* storeCtx = X509_STORE_CTX_new(); in validateCertificate() local88 if (storeCtx == nullptr) in validateCertificate()95 int errCode = X509_STORE_CTX_init(storeCtx, x509Store, cert, nullptr); in validateCertificate()99 X509_STORE_CTX_free(storeCtx); in validateCertificate()104 errCode = X509_verify_cert(storeCtx); in validateCertificate()108 X509_STORE_CTX_free(storeCtx); in validateCertificate()114 errCode = X509_STORE_CTX_get_error(storeCtx); in validateCertificate()115 X509_STORE_CTX_free(storeCtx); in validateCertificate()130 X509_STORE_CTX_free(storeCtx); in validateCertificate()