Skip to content

PythonQt.Qt.QSslSocket · declarations 001

Back to PythonQt.Qt.QSslSocket

aboutToClose

aboutToClose(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QSslSocket.aboutToClose; argument details are not documented.

bytesWritten

bytesWritten(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QSslSocket.bytesWritten; argument details are not documented.

channelBytesWritten

channelBytesWritten(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QSslSocket.channelBytesWritten; argument details are not documented.

channelReadyRead

channelReadyRead(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QSslSocket.channelReadyRead; argument details are not documented.

connected

connected(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QSslSocket.connected; argument details are not documented.

destroyed

destroyed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QSslSocket.destroyed; argument details are not documented.

disconnected

disconnected(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QSslSocket.disconnected; argument details are not documented.

encrypted

encrypted(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QSslSocket.encrypted; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QSslSocket::encrypted()

This signal is emitted when QSslSocket enters encrypted mode. After this signal has been emitted, QSslSocket::isEncrypted() will return true, and all further transmissions on the socket will be encrypted.

See also QSslSocket::connectToHostEncrypted() and QSslSocket::isEncrypted().

Source: https://doc.qt.io/archives/qt-5.15/qsslsocket.html#encrypted

encryptedBytesWritten

encryptedBytesWritten(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QSslSocket.encryptedBytesWritten; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QSslSocket::encryptedBytesWritten(qint64 written)

This signal is emitted when QSslSocket writes its encrypted data to the network. The written parameter contains the number of bytes that were successfully written.

This function was introduced in Qt 4.4.

See also QIODevice::bytesWritten().

Source: https://doc.qt.io/archives/qt-5.15/qsslsocket.html#encryptedBytesWritten

errorOccurred

errorOccurred(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QSslSocket.errorOccurred; argument details are not documented.

hostFound

hostFound(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QSslSocket.hostFound; argument details are not documented.

modeChanged

modeChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QSslSocket.modeChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QSslSocket::modeChanged(QSslSocket::SslMode mode)

This signal is emitted when QSslSocket changes from QSslSocket::UnencryptedMode to either QSslSocket::SslClientMode or QSslSocket::SslServerMode. mode is the new mode.

See also QSslSocket::mode().

Source: https://doc.qt.io/archives/qt-5.15/qsslsocket.html#modeChanged

newSessionTicketReceived

newSessionTicketReceived(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QSslSocket.newSessionTicketReceived; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QSslSocket::newSessionTicketReceived()

If TLS 1.3 protocol was negotiated during a handshake, QSslSocket emits this signal after receiving NewSessionTicket message. Session and session ticket's lifetime hint are updated in the socket's configuration. The session can be used for session resumption (and a shortened handshake) in future TLS connections.

Note: This functionality enabled only with OpenSSL backend and requires OpenSSL v 1.1.1 or above.

This function was introduced in Qt 5.15.

See also QSslSocket::sslConfiguration(), QSslConfiguration::sessionTicket(), and QSslConfiguration::sessionTicketLifeTimeHint().

Source: https://doc.qt.io/archives/qt-5.15/qsslsocket.html#newSessionTicketReceived

objectNameChanged

objectNameChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QSslSocket.objectNameChanged; argument details are not documented.

peerVerifyError

peerVerifyError(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QSslSocket.peerVerifyError; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QSslSocket::peerVerifyError(const QSslError \&error)

QSslSocket can emit this signal several times during the SSL handshake, before encryption has been established, to indicate that an error has occurred while establishing the identity of the peer. The error is usually an indication that QSslSocket is unable to securely identify the peer.

This signal provides you with an early indication when something's wrong. By connecting to this signal, you can manually choose to tear down the connection from inside the connected slot before the handshake has completed. If no action is taken, QSslSocket will proceed to emitting QSslSocket::sslErrors().

This function was introduced in Qt 4.4.

See also sslErrors().

Source: https://doc.qt.io/archives/qt-5.15/qsslsocket.html#peerVerifyError

preSharedKeyAuthenticationRequired

preSharedKeyAuthenticationRequired(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QSslSocket.preSharedKeyAuthenticationRequired; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QSslSocket::preSharedKeyAuthenticationRequired(QSslPreSharedKeyAuthenticator *authenticator)

QSslSocket emits this signal when it negotiates a PSK ciphersuite, and therefore a PSK authentication is then required.

When using PSK, the client must send to the server a valid identity and a valid pre shared key, in order for the SSL handshake to continue. Applications can provide this information in a slot connected to this signal, by filling in the passed authenticator object according to their needs.

Note: Ignoring this signal, or failing to provide the required credentials, will cause the handshake to fail, and therefore the connection to be aborted.

Note: The authenticator object is owned by the socket and must not be deleted by the application.

This function was introduced in Qt 5.5.

See also QSslPreSharedKeyAuthenticator.

Source: https://doc.qt.io/archives/qt-5.15/qsslsocket.html#preSharedKeyAuthenticationRequired

proxyAuthenticationRequired

proxyAuthenticationRequired(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QSslSocket.proxyAuthenticationRequired; argument details are not documented.

readChannelFinished

readChannelFinished(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QSslSocket.readChannelFinished; argument details are not documented.

readyRead

readyRead(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QSslSocket.readyRead; argument details are not documented.

stateChanged

stateChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QSslSocket.stateChanged; argument details are not documented.