QGIS API Documentation 3.41.0-Master (3440c17df1d)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsAuthConfigSslServer Class Reference

Configuration container for SSL server connection exceptions or overrides. More...

#include <qgsauthconfig.h>

Public Member Functions

 QgsAuthConfigSslServer ()
 Construct a default SSL server configuration.
 
const QString configString () const
 Configuration as a concatenated string.
 
bool isNull () const
 Whether configuration is null (missing components)
 
void loadConfigString (const QString &config=QString())
 Load concatenated string into configuration, e.g. from auth database.
 
int qtVersion () const
 Qt version when the configuration was made (SSL protocols may differ)
 
void setQtVersion (int version)
 Sets Qt version when the configuration was made (SSL protocols may differ)
 
void setSslCertificate (const QSslCertificate &cert)
 Sets server certificate object.
 
void setSslHostPort (const QString &hostport)
 Sets server host:port string.
 
void setSslIgnoredErrorEnums (const QList< QSslError::SslError > &errors)
 Sets SSL server errors (as enum list) to ignore in connections.
 
void setSslPeerVerifyDepth (int depth)
 Set number or SSL client's peer to verify in connections.
 
void setSslPeerVerifyMode (QSslSocket::PeerVerifyMode mode)
 Sets SSL client's peer verify mode to use in connections.
 
void setSslProtocol (QSsl::SslProtocol protocol)
 Sets SSL server protocol to use in connections.
 
void setVersion (int version)
 Sets version of the configuration (used for future upgrading)
 
const QSslCertificate sslCertificate () const
 Server certificate object.
 
const QString sslHostPort () const
 Server host:port string.
 
const QList< QSslError::SslError > sslIgnoredErrorEnums () const
 SSL server errors (as enum list) to ignore in connections.
 
const QList< QSslError > sslIgnoredErrors () const
 SSL server errors to ignore in connections.
 
int sslPeerVerifyDepth () const
 Number or SSL client's peer to verify in connections.
 
QSslSocket::PeerVerifyMode sslPeerVerifyMode () const
 SSL client's peer verify mode to use in connections.
 
QSsl::SslProtocol sslProtocol () const
 SSL server protocol to use in connections.
 
int version () const
 Version of the configuration (used for future upgrading)
 

Detailed Description

Configuration container for SSL server connection exceptions or overrides.

Definition at line 389 of file qgsauthconfig.h.

Constructor & Destructor Documentation

◆ QgsAuthConfigSslServer()

QgsAuthConfigSslServer::QgsAuthConfigSslServer ( )

Construct a default SSL server configuration.

Definition at line 362 of file qgsauthconfig.cpp.

Member Function Documentation

◆ configString()

const QString QgsAuthConfigSslServer::configString ( ) const

Configuration as a concatenated string.

Definition at line 385 of file qgsauthconfig.cpp.

◆ isNull()

bool QgsAuthConfigSslServer::isNull ( ) const

Whether configuration is null (missing components)

Definition at line 430 of file qgsauthconfig.cpp.

◆ loadConfigString()

void QgsAuthConfigSslServer::loadConfigString ( const QString &  config = QString())

Load concatenated string into configuration, e.g. from auth database.

Definition at line 406 of file qgsauthconfig.cpp.

◆ qtVersion()

int QgsAuthConfigSslServer::qtVersion ( ) const
inline

Qt version when the configuration was made (SSL protocols may differ)

Definition at line 440 of file qgsauthconfig.h.

◆ setQtVersion()

void QgsAuthConfigSslServer::setQtVersion ( int  version)
inline

Sets Qt version when the configuration was made (SSL protocols may differ)

Definition at line 442 of file qgsauthconfig.h.

◆ setSslCertificate()

void QgsAuthConfigSslServer::setSslCertificate ( const QSslCertificate &  cert)
inline

Sets server certificate object.

Definition at line 398 of file qgsauthconfig.h.

◆ setSslHostPort()

void QgsAuthConfigSslServer::setSslHostPort ( const QString &  hostport)
inline

Sets server host:port string.

Definition at line 403 of file qgsauthconfig.h.

◆ setSslIgnoredErrorEnums()

void QgsAuthConfigSslServer::setSslIgnoredErrorEnums ( const QList< QSslError::SslError > &  errors)
inline

Sets SSL server errors (as enum list) to ignore in connections.

Definition at line 415 of file qgsauthconfig.h.

◆ setSslPeerVerifyDepth()

void QgsAuthConfigSslServer::setSslPeerVerifyDepth ( int  depth)
inline

Set number or SSL client's peer to verify in connections.

Note
When set to 0 = unlimited depth

Definition at line 432 of file qgsauthconfig.h.

◆ setSslPeerVerifyMode()

void QgsAuthConfigSslServer::setSslPeerVerifyMode ( QSslSocket::PeerVerifyMode  mode)
inline

Sets SSL client's peer verify mode to use in connections.

Definition at line 420 of file qgsauthconfig.h.

◆ setSslProtocol()

void QgsAuthConfigSslServer::setSslProtocol ( QSsl::SslProtocol  protocol)
inline

Sets SSL server protocol to use in connections.

Definition at line 408 of file qgsauthconfig.h.

◆ setVersion()

void QgsAuthConfigSslServer::setVersion ( int  version)
inline

Sets version of the configuration (used for future upgrading)

Definition at line 437 of file qgsauthconfig.h.

◆ sslCertificate()

const QSslCertificate QgsAuthConfigSslServer::sslCertificate ( ) const
inline

Server certificate object.

Definition at line 396 of file qgsauthconfig.h.

◆ sslHostPort()

const QString QgsAuthConfigSslServer::sslHostPort ( ) const
inline

Server host:port string.

Definition at line 401 of file qgsauthconfig.h.

◆ sslIgnoredErrorEnums()

const QList< QSslError::SslError > QgsAuthConfigSslServer::sslIgnoredErrorEnums ( ) const
inline

SSL server errors (as enum list) to ignore in connections.

Definition at line 413 of file qgsauthconfig.h.

◆ sslIgnoredErrors()

const QList< QSslError > QgsAuthConfigSslServer::sslIgnoredErrors ( ) const

SSL server errors to ignore in connections.

Definition at line 374 of file qgsauthconfig.cpp.

◆ sslPeerVerifyDepth()

int QgsAuthConfigSslServer::sslPeerVerifyDepth ( ) const
inline

Number or SSL client's peer to verify in connections.

Note
When set to 0 = unlimited depth

Definition at line 426 of file qgsauthconfig.h.

◆ sslPeerVerifyMode()

QSslSocket::PeerVerifyMode QgsAuthConfigSslServer::sslPeerVerifyMode ( ) const
inline

SSL client's peer verify mode to use in connections.

Definition at line 418 of file qgsauthconfig.h.

◆ sslProtocol()

QSsl::SslProtocol QgsAuthConfigSslServer::sslProtocol ( ) const
inline

SSL server protocol to use in connections.

Definition at line 406 of file qgsauthconfig.h.

◆ version()

int QgsAuthConfigSslServer::version ( ) const
inline

Version of the configuration (used for future upgrading)

Definition at line 435 of file qgsauthconfig.h.


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