QGIS API Documentation
3.8.0-Zanzibar (11aff65)
|
Configuration container for SSL server connection exceptions or overrides. More...
#include <qgsauthconfig.h>
Public Member Functions | |
QgsAuthConfigSslServer () | |
Construct a default SSL server configuration. More... | |
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. from auth database. More... | |
int | qtVersion () const |
Qt version when the configuration was made (SSL protocols may differ) More... | |
void | setQtVersion (int version) |
Sets Qt version when the configuration was made (SSL protocols may differ) More... | |
void | setSslCertificate (const QSslCertificate &cert) |
Sets server certificate object. More... | |
void | setSslHostPort (const QString &hostport) |
Sets server host:port string. More... | |
void | setSslIgnoredErrorEnums (const QList< QSslError::SslError > &errors) |
Sets 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) |
Sets SSL client's peer verify mode to use in connections. More... | |
void | setSslProtocol (QSsl::SslProtocol protocol) |
Sets SSL server protocol to use in connections. More... | |
void | setVersion (int version) |
Sets 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 371 of file qgsauthconfig.h.
QgsAuthConfigSslServer::QgsAuthConfigSslServer | ( | ) |
Construct a default SSL server configuration.
Definition at line 317 of file qgsauthconfig.cpp.
const QString QgsAuthConfigSslServer::configString | ( | ) | const |
Configuration as a concatenated string.
Definition at line 340 of file qgsauthconfig.cpp.
bool QgsAuthConfigSslServer::isNull | ( | ) | const |
Whether configuration is null (missing components)
Definition at line 386 of file qgsauthconfig.cpp.
void QgsAuthConfigSslServer::loadConfigString | ( | const QString & | config = QString() | ) |
Load concatenated string into configuration, e.g. from auth database.
Definition at line 359 of file qgsauthconfig.cpp.
|
inline |
Qt version when the configuration was made (SSL protocols may differ)
Definition at line 422 of file qgsauthconfig.h.
|
inline |
Sets Qt version when the configuration was made (SSL protocols may differ)
Definition at line 424 of file qgsauthconfig.h.
|
inline |
Sets server certificate object.
Definition at line 380 of file qgsauthconfig.h.
|
inline |
Sets server host:port string.
Definition at line 385 of file qgsauthconfig.h.
|
inline |
Sets SSL server errors (as enum list) to ignore in connections.
Definition at line 397 of file qgsauthconfig.h.
|
inline |
Set number or SSL client's peer to verify in connections.
Definition at line 414 of file qgsauthconfig.h.
|
inline |
Sets SSL client's peer verify mode to use in connections.
Definition at line 402 of file qgsauthconfig.h.
|
inline |
Sets SSL server protocol to use in connections.
Definition at line 390 of file qgsauthconfig.h.
|
inline |
Sets version of the configuration (used for future upgrading)
Definition at line 419 of file qgsauthconfig.h.
|
inline |
Server certificate object.
Definition at line 378 of file qgsauthconfig.h.
|
inline |
Server host:port string.
Definition at line 383 of file qgsauthconfig.h.
|
inline |
SSL server errors (as enum list) to ignore in connections.
Definition at line 395 of file qgsauthconfig.h.
const QList< QSslError > QgsAuthConfigSslServer::sslIgnoredErrors | ( | ) | const |
SSL server errors to ignore in connections.
Definition at line 329 of file qgsauthconfig.cpp.
|
inline |
Number or SSL client's peer to verify in connections.
Definition at line 408 of file qgsauthconfig.h.
|
inline |
SSL client's peer verify mode to use in connections.
Definition at line 400 of file qgsauthconfig.h.
|
inline |
SSL server protocol to use in connections.
Definition at line 388 of file qgsauthconfig.h.
|
inline |
Version of the configuration (used for future upgrading)
Definition at line 417 of file qgsauthconfig.h.