QSslConfiguration Class Reference

QSslConfiguration Class Reference

#include <qsslconfiguration.h>

Class Description

Definition at line 78 of file qsslconfiguration.h.

Public Member Functions

 QSslConfiguration ()
 
 QSslConfiguration (const QSslConfiguration &other)
 
 ~QSslConfiguration ()
 
QSslConfigurationoperator= (const QSslConfiguration &other)
 
bool operator== (const QSslConfiguration &other) const
 
bool operator!= (const QSslConfiguration &other) const
 
bool isNull () const
 
QSsl::SslProtocol protocol () const
 
void setProtocol (QSsl::SslProtocol protocol)
 
QSslSocket::PeerVerifyMode peerVerifyMode () const
 
void setPeerVerifyMode (QSslSocket::PeerVerifyMode mode)
 
int peerVerifyDepth () const
 
void setPeerVerifyDepth (int depth)
 
QSslCertificate localCertificate () const
 
void setLocalCertificate (const QSslCertificate &certificate)
 
QSslCertificate peerCertificate () const
 
QList< QSslCertificatepeerCertificateChain () const
 
QSslCipher sessionCipher () const
 
QSslKey privateKey () const
 
void setPrivateKey (const QSslKey &key)
 
QList< QSslCipherciphers () const
 
void setCiphers (const QList< QSslCipher > &ciphers)
 
QList< QSslCertificatecaCertificates () const
 
void setCaCertificates (const QList< QSslCertificate > &certificates)
 
void setSslOption (QSsl::SslOption option, bool on)
 
bool testSslOption (QSsl::SslOption option) const
 

Static Public Member Functions

static QSslConfiguration defaultConfiguration ()
 
static void setDefaultConfiguration (const QSslConfiguration &configuration)
 

Friends

class QSslSocket
 
class QSslConfigurationPrivate
 

Constructor & Destructor Documentation

Member Function Documentation

QSslConfiguration& operator= ( const QSslConfiguration other)
bool operator== ( const QSslConfiguration other) const
bool operator!= ( const QSslConfiguration other) const
inline

Definition at line 87 of file qsslconfiguration.h.

88  { return !(*this == other); }
bool isNull ( ) const
QSsl::SslProtocol protocol ( ) const
void setProtocol ( QSsl::SslProtocol  protocol)
QSslSocket::PeerVerifyMode peerVerifyMode ( ) const
void setPeerVerifyMode ( QSslSocket::PeerVerifyMode  mode)
int peerVerifyDepth ( ) const
void setPeerVerifyDepth ( int  depth)
QSslCertificate localCertificate ( ) const
void setLocalCertificate ( const QSslCertificate certificate)
QSslCertificate peerCertificate ( ) const
QList<QSslCertificate> peerCertificateChain ( ) const
QSslCipher sessionCipher ( ) const
QSslKey privateKey ( ) const
void setPrivateKey ( const QSslKey key)
QList<QSslCipher> ciphers ( ) const
void setCiphers ( const QList< QSslCipher > &  ciphers)
QList<QSslCertificate> caCertificates ( ) const
void setCaCertificates ( const QList< QSslCertificate > &  certificates)
void setSslOption ( QSsl::SslOption  option,
bool  on 
)
bool testSslOption ( QSsl::SslOption  option) const
static QSslConfiguration defaultConfiguration ( )
static
static void setDefaultConfiguration ( const QSslConfiguration configuration)
static

Friends And Related Function Documentation

friend class QSslSocket
friend

Definition at line 129 of file qsslconfiguration.h.

friend class QSslConfigurationPrivate
friend

Definition at line 130 of file qsslconfiguration.h.


The documentation for this class was generated from the following file: