QGIS API Documentation 3.38.0-Grenoble (exported)
|
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) | |
Configuration container for SSL server connection exceptions or overrides.
Definition at line 392 of file qgsauthconfig.h.
QgsAuthConfigSslServer::QgsAuthConfigSslServer | ( | ) |
Construct a default SSL server configuration.
Definition at line 361 of file qgsauthconfig.cpp.
const QString QgsAuthConfigSslServer::configString | ( | ) | const |
Configuration as a concatenated string.
Definition at line 384 of file qgsauthconfig.cpp.
bool QgsAuthConfigSslServer::isNull | ( | ) | const |
Whether configuration is null (missing components)
Definition at line 430 of file qgsauthconfig.cpp.
void QgsAuthConfigSslServer::loadConfigString | ( | const QString & | config = QString() | ) |
Load concatenated string into configuration, e.g. from auth database.
Definition at line 403 of file qgsauthconfig.cpp.
|
inline |
Qt version when the configuration was made (SSL protocols may differ)
Definition at line 443 of file qgsauthconfig.h.
|
inline |
Sets Qt version when the configuration was made (SSL protocols may differ)
Definition at line 445 of file qgsauthconfig.h.
|
inline |
Sets server certificate object.
Definition at line 401 of file qgsauthconfig.h.
|
inline |
Sets server host:port string.
Definition at line 406 of file qgsauthconfig.h.
|
inline |
Sets SSL server errors (as enum list) to ignore in connections.
Definition at line 418 of file qgsauthconfig.h.
|
inline |
Set number or SSL client's peer to verify in connections.
Definition at line 435 of file qgsauthconfig.h.
|
inline |
Sets SSL client's peer verify mode to use in connections.
Definition at line 423 of file qgsauthconfig.h.
|
inline |
Sets SSL server protocol to use in connections.
Definition at line 411 of file qgsauthconfig.h.
|
inline |
Sets version of the configuration (used for future upgrading)
Definition at line 440 of file qgsauthconfig.h.
|
inline |
Server certificate object.
Definition at line 399 of file qgsauthconfig.h.
|
inline |
Server host:port string.
Definition at line 404 of file qgsauthconfig.h.
|
inline |
SSL server errors (as enum list) to ignore in connections.
Definition at line 416 of file qgsauthconfig.h.
const QList< QSslError > QgsAuthConfigSslServer::sslIgnoredErrors | ( | ) | const |
SSL server errors to ignore in connections.
Definition at line 373 of file qgsauthconfig.cpp.
|
inline |
Number or SSL client's peer to verify in connections.
Definition at line 429 of file qgsauthconfig.h.
|
inline |
SSL client's peer verify mode to use in connections.
Definition at line 421 of file qgsauthconfig.h.
|
inline |
SSL server protocol to use in connections.
Definition at line 409 of file qgsauthconfig.h.
|
inline |
Version of the configuration (used for future upgrading)
Definition at line 438 of file qgsauthconfig.h.