Home · All Classes · Modules

QSslSocket Class Reference
[QtNetwork module]

Inherits QTcpSocket.

Types

Methods

Static Methods

Qt Signals


Detailed Description


Type Documentation

QSslSocket.PeerVerifyMode

QSslSocket.SslMode


Method Documentation

QSslSocket.__init__ (self, QObject parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

QSslSocket.abort (self)

QSslSocket.addCaCertificate (self, QSslCertificate)

bool QSslSocket.addCaCertificates (self, QString, QSsl.EncodingFormat format = QSsl.Pem, QRegExp.PatternSyntax syntax = QRegExp.FixedString)

QSslSocket.addCaCertificates (self, list-of-QSslCertificate)

QSslSocket.addDefaultCaCertificate (QSslCertificate)

bool QSslSocket.addDefaultCaCertificates (QString, QSsl.EncodingFormat format = QSsl.Pem, QRegExp.PatternSyntax syntax = QRegExp.FixedString)

QSslSocket.addDefaultCaCertificates (list-of-QSslCertificate)

bool QSslSocket.atEnd (self)

int QSslSocket.bytesAvailable (self)

int QSslSocket.bytesToWrite (self)

list-of-QSslCertificate QSslSocket.caCertificates (self)

bool QSslSocket.canReadLine (self)

list-of-QSslCipher QSslSocket.ciphers (self)

QSslSocket.close (self)

QSslSocket.connectToHostEncrypted (self, QString, int, QIODevice.OpenMode mode = QIODevice.ReadWrite)

QSslSocket.connectToHostEncrypted (self, QString, int, QString, QIODevice.OpenMode mode = QIODevice.ReadWrite)

QSslSocket.connectToHostImplementation (self, QString, int, QIODevice.OpenMode)

This method is also a Qt slot with the C++ signature void connectToHostImplementation(const QString&,quint16,QIODevice::OpenMode).

list-of-QSslCertificate QSslSocket.defaultCaCertificates ()

list-of-QSslCipher QSslSocket.defaultCiphers ()

QSslSocket.disconnectFromHostImplementation (self)

This method is also a Qt slot with the C++ signature void disconnectFromHostImplementation().

int QSslSocket.encryptedBytesAvailable (self)

int QSslSocket.encryptedBytesToWrite (self)

bool QSslSocket.flush (self)

QSslSocket.ignoreSslErrors (self)

This method is also a Qt slot with the C++ signature void ignoreSslErrors().

QSslSocket.ignoreSslErrors (self, list-of-QSslError)

bool QSslSocket.isEncrypted (self)

QSslCertificate QSslSocket.localCertificate (self)

SslMode QSslSocket.mode (self)

QSslCertificate QSslSocket.peerCertificate (self)

list-of-QSslCertificate QSslSocket.peerCertificateChain (self)

int QSslSocket.peerVerifyDepth (self)

PeerVerifyMode QSslSocket.peerVerifyMode (self)

QSslKey QSslSocket.privateKey (self)

QSsl.SslProtocol QSslSocket.protocol (self)

str QSslSocket.readData (self, int maxlen)

QSslCipher QSslSocket.sessionCipher (self)

QSslSocket.setCaCertificates (self, list-of-QSslCertificate)

QSslSocket.setCiphers (self, list-of-QSslCipher)

QSslSocket.setCiphers (self, QString)

QSslSocket.setDefaultCaCertificates (list-of-QSslCertificate)

QSslSocket.setDefaultCiphers (list-of-QSslCipher)

QSslSocket.setLocalCertificate (self, QSslCertificate)

QSslSocket.setLocalCertificate (self, QString, QSsl.EncodingFormat format = QSsl.Pem)

QSslSocket.setPeerVerifyDepth (self, int)

QSslSocket.setPeerVerifyMode (self, PeerVerifyMode)

QSslSocket.setPrivateKey (self, QSslKey)

QSslSocket.setPrivateKey (self, QString, QSsl.KeyAlgorithm algorithm = QSsl.Rsa, QSsl.EncodingFormat format = QSsl.Pem, QByteArray passPhrase = QByteArray())

QSslSocket.setProtocol (self, QSsl.SslProtocol)

QSslSocket.setReadBufferSize (self, int)

bool QSslSocket.setSocketDescriptor (self, int, QAbstractSocket.SocketState state = QAbstractSocket.ConnectedState, QIODevice.OpenMode mode = QIODevice.ReadWrite)

QSslSocket.setSocketOption (self, QAbstractSocket.SocketOption, QVariant)

QSslSocket.setSslConfiguration (self, QSslConfiguration)

QVariant QSslSocket.socketOption (self, QAbstractSocket.SocketOption)

QSslConfiguration QSslSocket.sslConfiguration (self)

list-of-QSslError QSslSocket.sslErrors (self)

QSslSocket.startClientEncryption (self)

This method is also a Qt slot with the C++ signature void startClientEncryption().

QSslSocket.startServerEncryption (self)

This method is also a Qt slot with the C++ signature void startServerEncryption().

list-of-QSslCipher QSslSocket.supportedCiphers ()

bool QSslSocket.supportsSsl ()

list-of-QSslCertificate QSslSocket.systemCaCertificates ()

bool QSslSocket.waitForBytesWritten (self, int msecs = 30000)

bool QSslSocket.waitForConnected (self, int msecs = 30000)

bool QSslSocket.waitForDisconnected (self, int msecs = 30000)

bool QSslSocket.waitForEncrypted (self, int msecs = 30000)

bool QSslSocket.waitForReadyRead (self, int msecs = 30000)

int QSslSocket.writeData (self, str)


Qt Signal Documentation

void encrypted ()

This is the default overload of this signal.

void encryptedBytesWritten (qint64)

This is the default overload of this signal.

void modeChanged (QSslSocket::SslMode)

This is the default overload of this signal.

void peerVerifyError (const QSslError&)

This is the default overload of this signal.

void sslErrors (const QList<QSslError>&)

This is the default overload of this signal.


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0