I am completely new to SSL (and new to Qt too). I want to create an SSL encrypted connection and have not found any good examples regarding the general structure.
QNetworkAccessManager qnam;
QSslConfiguration sslConfiguration(QSslConfiguration::defaultConfiguration());
SslConfiguration.setProtocol(QSsl::SslV3);
QNetworkRequest req;
req.setSslConfiguration(sslConfiguration);
req.setUrl(QUrl("https://www.address.tld/"));
QNetworkReply *rep = qnam->get(req);
Is this how it works or do I need to do something further?
Hello
source
share