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.

ConstantValueDescription
QSslDiffieHellmanParameters::NoError0No error occurred.
QSslDiffieHellmanParameters::InvalidInputDataError1The given input data could not be used to construct a QSslDiffieHellmanParameters object.
QSslDiffieHellmanParameters::UnsafeParametersError2The Diffie-Hellman parameters are unsafe and should not be used.