summaryrefslogtreecommitdiffstats
path: root/src/network/ssl/qssl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/ssl/qssl.h')
-rw-r--r--src/network/ssl/qssl.h22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/network/ssl/qssl.h b/src/network/ssl/qssl.h
index 3c0415a2e4..56727564b2 100644
--- a/src/network/ssl/qssl.h
+++ b/src/network/ssl/qssl.h
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2019 The Qt Company Ltd.
+** Copyright (C) 2021 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtNetwork module of the Qt Toolkit.
@@ -149,6 +149,26 @@ namespace QSsl {
UnknownAlertMessage = 255
};
+ enum class ImplementedClass
+ {
+ Key = 0x1,
+ Certificate = 0x2,
+ Socket = 0x4,
+ DiffieHellman = 0x8,
+ EllipticCurve = 0x10,
+ Dtls = 0x20
+ };
+
+ enum class SupportedFeature
+ {
+ CertificateVerification = 0x1,
+ ClientSideAlpn = 0x2,
+ ServerSideAlpn = 0x4,
+ Ocsp = 0x8,
+ Psk = 0x10,
+ SessionTicket = 0x20,
+ Alerts = 040
+ };
}
Q_DECLARE_OPERATORS_FOR_FLAGS(QSsl::SslOptions)