summaryrefslogtreecommitdiffstats
path: root/src/network/ssl/qsslsocket.cpp
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@qt.io>2020-06-25 10:44:57 +0200
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2020-06-29 17:08:13 +0200
commit45c0f45e04f4c8431c2744dd52d334ee2e127019 (patch)
tree89f1a8d57737bac823de0cbb67479626af67fdc6 /src/network/ssl/qsslsocket.cpp
parenteb546469849d2bf560f41b14366832e1f8b22456 (diff)
Move QAlertLevel and QAlertType enums into the namespace QSsl
Not to pollute the global namespace with rather generic names (especially in case QT_NAMESPACE is none); also drop the (now)redundant 'Q' prefix in the names. Change-Id: I57ea7e3996cced705f7ddbdbc1e0231191b31c43 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/network/ssl/qsslsocket.cpp')
-rw-r--r--src/network/ssl/qsslsocket.cpp68
1 files changed, 0 insertions, 68 deletions
diff --git a/src/network/ssl/qsslsocket.cpp b/src/network/ssl/qsslsocket.cpp
index 234cdeea14..9af8f2a9dc 100644
--- a/src/network/ssl/qsslsocket.cpp
+++ b/src/network/ssl/qsslsocket.cpp
@@ -228,74 +228,6 @@
*/
/*!
- \enum QAlertLevel
- \brief Describes the level of an alert message
- \relates QSslSocket
- \since 6.0
-
- \ingroup network
- \ingroup ssl
- \inmodule QtNetwork
-
- This enum describes the level of an alert message that was sent
- or received.
-
- \value Warning Non-fatal alert message
- \value Fatal Fatal alert message, the underlying backend will
- handle such an alert properly and close the connection.
- \value Unknown An alert of unknown level of severity.
-*/
-
-/*!
- \enum QAlertType
- \brief Enumerates possible codes that an alert message can have
- \relates QSslSocket
- \since 6.0
-
- \ingroup network
- \ingroup ssl
- \inmodule QtNetwork
-
- See \l{https://tools.ietf.org/html/rfc8446#page-85}{RFC 8446, section 6}
- for the possible values and their meaning.
-
- \value CloseNotify,
- \value UnexpectedMessage
- \value BadRecordMac
- \value RecordOverflow
- \value DecompressionFailure
- \value HandshakeFailure
- \value NoCertificate
- \value BadCertificate
- \value UnsupportedCertificate
- \value CertificateRevoked
- \value CertificateExpired
- \value CertificateUnknown
- \value IllegalParameter
- \value UnknownCa
- \value AccessDenied
- \value DecodeError
- \value DecryptError
- \value ExportRestriction
- \value ProtocolVersion
- \value InsufficientSecurity
- \value InternalError
- \value InappropriateFallback
- \value UserCancelled
- \value NoRenegotiation
- \value MissingExtension
- \value UnsupportedExtension
- \value CertificateUnobtainable
- \value UnrecognizedName
- \value BadCertificateStatusResponse
- \value BadCertificateHashValue
- \value UnknownPskIdentity
- \value CertificateRequired
- \value NoApplicationProtocol
- \value UnknownAlertMessage
-*/
-
-/*!
\fn void QSslSocket::encrypted()
This signal is emitted when QSslSocket enters encrypted mode. After this