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()
86 X509_STORE_CTX* storeCtx = X509_STORE_CTX_new(); in validateCertificate() local87 if (storeCtx == nullptr) in validateCertificate()94 int errCode = X509_STORE_CTX_init(storeCtx, x509Store, cert, nullptr); in validateCertificate()98 X509_STORE_CTX_free(storeCtx); in validateCertificate()103 errCode = X509_verify_cert(storeCtx); in validateCertificate()107 X509_STORE_CTX_free(storeCtx); in validateCertificate()113 errCode = X509_STORE_CTX_get_error(storeCtx); in validateCertificate()114 X509_STORE_CTX_free(storeCtx); in validateCertificate()129 X509_STORE_CTX_free(storeCtx); in validateCertificate()