QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Storage set for constructed SSL certificate, key, associated with an authentication config. More...
#include <qgsauthconfig.h>
Public Member Functions | |
QgsPkiConfigBundle (const QgsAuthMethodConfig &config, const QSslCertificate &cert, const QSslKey &certkey, const QList< QSslCertificate > &cachain=QList< QSslCertificate >()) | |
Construct a bundle from existing PKI components and authentication method configuration. More... | |
QList< QSslCertificate > | caChain () const |
caChain return the CA chain More... | |
const QSslCertificate | clientCert () const |
Client certificate object. More... | |
const QSslKey | clientCertKey () const |
Private key object. More... | |
const QgsAuthMethodConfig | config () const |
Authentication method configuration. More... | |
bool | isValid () |
Whether the bundle is valid. More... | |
void | setCaChain (const QList< QSslCertificate > &caChain) |
setCaChain set the CA chain More... | |
void | setClientCert (const QSslCertificate &cert) |
Sets client certificate object. More... | |
void | setClientCertKey (const QSslKey &certkey) |
Sets private key object. More... | |
void | setConfig (const QgsAuthMethodConfig &config) |
Sets authentication method configuration. More... | |
Storage set for constructed SSL certificate, key, associated with an authentication config.
Definition at line 258 of file qgsauthconfig.h.
QgsPkiConfigBundle::QgsPkiConfigBundle | ( | const QgsAuthMethodConfig & | config, |
const QSslCertificate & | cert, | ||
const QSslKey & | certkey, | ||
const QList< QSslCertificate > & | cachain = QList<QSslCertificate>( ) |
||
) |
Construct a bundle from existing PKI components and authentication method configuration.
config | Authentication method configuration |
cert | Certificate to store in bundle |
certkey | Private key to store in bundle |
cachain | list of CA certificates |
Definition at line 294 of file qgsauthconfig.cpp.
|
inline |
caChain return the CA chain
Definition at line 299 of file qgsauthconfig.h.
|
inline |
Client certificate object.
Definition at line 284 of file qgsauthconfig.h.
|
inline |
Private key object.
Definition at line 290 of file qgsauthconfig.h.
|
inline |
Authentication method configuration.
Definition at line 278 of file qgsauthconfig.h.
bool QgsPkiConfigBundle::isValid | ( | ) |
Whether the bundle is valid.
Definition at line 305 of file qgsauthconfig.cpp.
|
inline |
|
inline |
Sets client certificate object.
Definition at line 287 of file qgsauthconfig.h.
|
inline |
Sets private key object.
Definition at line 293 of file qgsauthconfig.h.
|
inline |
Sets authentication method configuration.
Definition at line 281 of file qgsauthconfig.h.