Questions tagged [qsslsocket]

QSslSocket is an SSL-encrypted network socket class, from the Qt library

QSslSocket is a class in the library that provides a Secure Sockets Layer ()-encrypted network . It is part of the QtNetwork module and was introduced in Qt 4.3.

The most common way to use QSslSocket is to construct an object and start a secure connection by calling connectToHostEncrypted(). This method starts an immediate SSL handshake once the connection has been established.

See also

51 questions
0
votes
0 answers

(Qt 5.7) xcoder123/SimpleSmtp_SSL_QT5 giving errors

I've downloaded a project from github with the intension of learning SMTP and SSL. However, once i try to run his project, i receive the following errors: "qt.network.ssl: QSslSocket: cannot call unresolved function…
andseg
  • 658
  • 1
  • 9
  • 26
0
votes
1 answer

Difference between QSocketNotifier::activated and QIODevice::readyRead

I create a new Read QSocketNotifier (QSocketNotifier::Read) and I install it on a QSslSocket. What is the QSslSocket signal that is emitted when activated signal is emitted from QSocketNotifier? Is there any difference between the activated signal…
Jacob Krieg
  • 2,834
  • 15
  • 68
  • 140
0
votes
2 answers

Qt can't find openssl

I installed Qt 4.8 from developer.nokia website which is a .run file. Because it's from nokia i assume the libraries are compiled with openssl... I use ubuntu 11.10 and it has openssl already installed. I can't make the QSsl classes working because…
Jacob Krieg
  • 2,834
  • 15
  • 68
  • 140
0
votes
1 answer

Send QDataStream through QTcpSocket or QSslSocket

I want to send serialized data through ssl or tcp socket. QIODevice::write doesn't send QDataStream but only char* and QByteArray. Is there a way I can send serialized data through socket? Or how can I convert QDataStream to QByteArray? Thanks
Jacob Krieg
  • 2,834
  • 15
  • 68
  • 140
0
votes
2 answers

Simple QSsl client/server : cannot start handshake on non-plain connection

I try to create a simple ssl connection between a client and a server in QtNetwork. But I have a problem. First I run the server. Then I run the client. When I first run the client nothing happens, but when I run it second time I get…
Jacob Krieg
  • 2,834
  • 15
  • 68
  • 140
0
votes
1 answer

Can QSslSocket be used immediately after startServerEncryption()?

After I've called QSslSocket::startServerEncryption(), can I proceed to immediately use the socket as an ordinary QTcpSocket, reading and writing data from it, or do I need to call waitForStartEncrypted() before using…
sashoalm
  • 75,001
  • 122
  • 434
  • 781
1 2 3
4