QGIS API Documentation
2.12.0-Lyon
|
Configuration container for SSL server connection exceptions or overrides. More...
#include <qgsauthconfig.h>
Public Member Functions | |
QgsAuthConfigSslServer () | |
Construct a default SSL server configuration. More... | |
~QgsAuthConfigSslServer () | |
const QString | configString () const |
Configuration as a concatenated string. More... | |
bool | isNull () const |
Whether configuration is null (missing components) More... | |
void | loadConfigString (const QString &config=QString()) |
Load concatenated string into configuration, e.g. More... | |
int | qtVersion () const |
Qt version when the configuration was made (SSL protocols may differ) More... | |
void | setQtVersion (int version) |
Set Qt version when the configuration was made (SSL protocols may differ) More... | |
void | setSslCertificate (const QSslCertificate &cert) |
Set server certificate object. More... | |
void | setSslHostPort (const QString &hostport) |
Set server host:port string. More... | |
void | setSslIgnoredErrorEnums (const QList< QSslError::SslError > &errors) |
Set SSL server errors (as enum list) to ignore in connections. More... | |
void | setSslPeerVerifyDepth (int depth) |
Set number or SSL client's peer to verify in connections. More... | |
void | setSslPeerVerifyMode (QSslSocket::PeerVerifyMode mode) |
Set SSL client's peer verify mode to use in connections. More... | |
void | setSslProtocol (QSsl::SslProtocol protocol) |
Set SSL server protocol to use in connections. More... | |
void | setVersion (int version) |
Set version of the configuration (used for future upgrading) More... | |
const QSslCertificate | sslCertificate () const |
Server certificate object. More... | |
const QString | sslHostPort () const |
Server host:port string. More... | |
const QList< QSslError::SslError > | sslIgnoredErrorEnums () const |
SSL server errors (as enum list) to ignore in connections. More... | |
const QList< QSslError > | sslIgnoredErrors () const |
SSL server errors to ignore in connections. More... | |
int | sslPeerVerifyDepth () const |
Number or SSL client's peer to verify in connections. More... | |
QSslSocket::PeerVerifyMode | sslPeerVerifyMode () const |
SSL client's peer verify mode to use in connections. More... | |
QSsl::SslProtocol | sslProtocol () const |
SSL server protocol to use in connections. More... | |
int | version () const |
Version of the configuration (used for future upgrading) More... | |
Configuration container for SSL server connection exceptions or overrides.
Definition at line 298 of file qgsauthconfig.h.
QgsAuthConfigSslServer::QgsAuthConfigSslServer | ( | ) |
Construct a default SSL server configuration.
Definition at line 370 of file qgsauthconfig.cpp.
|
inline |
Definition at line 304 of file qgsauthconfig.h.
const QString QgsAuthConfigSslServer::configString | ( | ) | const |
Configuration as a concatenated string.
Definition at line 403 of file qgsauthconfig.cpp.
bool QgsAuthConfigSslServer::isNull | ( | ) | const |
Whether configuration is null (missing components)
Definition at line 449 of file qgsauthconfig.cpp.
Load concatenated string into configuration, e.g.
from auth database
Definition at line 422 of file qgsauthconfig.cpp.
|
inline |
Qt version when the configuration was made (SSL protocols may differ)
Definition at line 348 of file qgsauthconfig.h.
|
inline |
Set Qt version when the configuration was made (SSL protocols may differ)
Definition at line 350 of file qgsauthconfig.h.
|
inline |
Set server certificate object.
Definition at line 309 of file qgsauthconfig.h.
|
inline |
Set server host:port string.
Definition at line 314 of file qgsauthconfig.h.
|
inline |
Set SSL server errors (as enum list) to ignore in connections.
Definition at line 326 of file qgsauthconfig.h.
|
inline |
Set number or SSL client's peer to verify in connections.
Definition at line 340 of file qgsauthconfig.h.
|
inline |
Set SSL client's peer verify mode to use in connections.
Definition at line 331 of file qgsauthconfig.h.
|
inline |
Set SSL server protocol to use in connections.
Definition at line 319 of file qgsauthconfig.h.
|
inline |
Set version of the configuration (used for future upgrading)
Definition at line 345 of file qgsauthconfig.h.
|
inline |
Server certificate object.
Definition at line 307 of file qgsauthconfig.h.
|
inline |
Server host:port string.
Definition at line 312 of file qgsauthconfig.h.
|
inline |
SSL server errors (as enum list) to ignore in connections.
Definition at line 324 of file qgsauthconfig.h.
SSL server errors to ignore in connections.
Definition at line 393 of file qgsauthconfig.cpp.
|
inline |
Number or SSL client's peer to verify in connections.
Definition at line 336 of file qgsauthconfig.h.
|
inline |
SSL client's peer verify mode to use in connections.
Definition at line 329 of file qgsauthconfig.h.
|
inline |
SSL server protocol to use in connections.
Definition at line 317 of file qgsauthconfig.h.
|
inline |
Version of the configuration (used for future upgrading)
Definition at line 343 of file qgsauthconfig.h.