7sslSocket.setSslConfiguration(
config);
The QSslConfiguration class holds the configuration and state of an SSL connection.
void setCiphers(const QList< QSslCipher > &ciphers)
Sets the cryptographic cipher suite for this socket to ciphers, which must contain a subset of the ci...
static QSslConfiguration defaultConfiguration()
Returns the default SSL configuration to be used in new SSL connections.
void setProtocol(QSsl::SslProtocol protocol)
Sets the protocol setting for this configuration to be protocol.
#define QStringLiteral(str)
QSslConfiguration tlsConfig
[0]