summaryrefslogtreecommitdiffstats
path: root/src/network/ssl/qx509_schannel_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/ssl/qx509_schannel_p.h')
-rw-r--r--src/network/ssl/qx509_schannel_p.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/network/ssl/qx509_schannel_p.h b/src/network/ssl/qx509_schannel_p.h
index 5408ea5a8e..40fb292acf 100644
--- a/src/network/ssl/qx509_schannel_p.h
+++ b/src/network/ssl/qx509_schannel_p.h
@@ -57,6 +57,9 @@
#include <QtCore/qglobal.h>
+#include <QtCore/qt_windows.h>
+#include <wincrypt.h>
+
QT_BEGIN_NAMESPACE
namespace QSsl {
@@ -64,7 +67,17 @@ namespace QSsl {
class X509CertificateSchannel final : public X509CertificateGeneric
{
public:
+ X509CertificateSchannel();
+ ~X509CertificateSchannel();
+
TlsKey *publicKey() const override;
+ Qt::HANDLE handle() const override;
+
+ static QSslCertificate QSslCertificate_from_CERT_CONTEXT(const CERT_CONTEXT *certificateContext);
+private:
+ const CERT_CONTEXT *certificateContext = nullptr;
+
+ Q_DISABLE_COPY_MOVE(X509CertificateSchannel);
};
} // namespace QSsl.