Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
src_network_ssl_qsslconfiguration.cpp
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
5
QSslConfiguration
config
= sslSocket.sslConfiguration();
6
config
.
setProtocol
(
QSsl::TlsV1_2
);
7
sslSocket.setSslConfiguration(
config
);
QSslConfiguration
The QSslConfiguration class holds the configuration and state of an SSL connection.
Definition
qsslconfiguration.h:41
QSslConfiguration::setProtocol
void setProtocol(QSsl::SslProtocol protocol)
Sets the protocol setting for this configuration to be protocol.
Definition
qsslconfiguration.cpp:268
QSsl::TlsV1_2
@ TlsV1_2
Definition
qssl.h:53
config
EGLConfig config
Definition
qeglstreamconvenience_p.h:79
qtbase
src
network
doc
snippets
code
src_network_ssl_qsslconfiguration.cpp
Generated by
1.10.0