Qyoto  4.0.7
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
QtNetwork.IQSslSocketSignals Interface Reference
Inheritance diagram for QtNetwork.IQSslSocketSignals:
Collaboration diagram for QtNetwork.IQSslSocketSignals:

Public Member Functions

void Encrypted ()
  More...
 
void PeerVerifyError (QSslError error)
  More...
 
void SslErrors (System.Collections.Generic.List< QSslError > errors)
  More...
 
void ModeChanged (QSslSocket.SslMode newMode)
  More...
 
void EncryptedBytesWritten (long totalBytes)
  More...
 

Member Function Documentation

void QtNetwork.IQSslSocketSignals.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().

void QtNetwork.IQSslSocketSignals.EncryptedBytesWritten ( long  totalBytes)

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().

void QtNetwork.IQSslSocketSignals.ModeChanged ( QSslSocket.SslMode  newMode)

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().

void QtNetwork.IQSslSocketSignals.PeerVerifyError ( 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().

void QtNetwork.IQSslSocketSignals.SslErrors ( System.Collections.Generic.List< QSslError errors)

QSslSocket emits this signal after the SSL handshake to indicate that one or more errors have occurred while establishing the identity of the peer. The errors are usually an indication that QSslSocket is unable to securely identify the peer. Unless any action is taken, the connection will be dropped after this signal has been emitted.

If you want to continue connecting despite the errors that have occurred, you must call QSslSocket::ignoreSslErrors() from inside a slot connected to this signal. If you need to access the error list at a later point, you can call sslErrors() (without arguments).

errors contains one or more errors that prevent QSslSocket from verifying the identity of the peer.

Note: You cannot use Qt::QueuedConnection when connecting to this signal, or calling QSslSocket::ignoreSslErrors() will have no effect.

See also peerVerifyError().