QSslDiffieHellmanParameters Class
The QSslDiffieHellmanParameters class provides an interface for Diffie-Hellman parameters for servers. More...
| Header: | #include <QSslDiffieHellmanParameters> |
| qmake: | QT += network |
| Since: | Qt 5.8 |
This class was introduced in Qt 5.8.
Note: All functions in this class are reentrant.
Public Types
| enum | Error { NoError, InvalidInputDataError, UnsafeParametersError } |
Detailed Description
QSslDiffieHellmanParameters provides an interface for setting Diffie-Hellman parameters to servers based on QSslSocket.
See also QSslSocket, QSslCipher, and QSslConfiguration.
Member Type Documentation
enum QSslDiffieHellmanParameters::Error
Describes a QSslDiffieHellmanParameters error.
| Constant | Value | Description |
|---|---|---|
QSslDiffieHellmanParameters::NoError | 0 | No error occurred. |
QSslDiffieHellmanParameters::InvalidInputDataError | 1 | The given input data could not be used to construct a QSslDiffieHellmanParameters object. |
QSslDiffieHellmanParameters::UnsafeParametersError | 2 | The Diffie-Hellman parameters are unsafe and should not be used. |