QGIS API Documentation  2.18.3-Las Palmas (77b8c3d)
Public Member Functions | List of all members
QgsPkiConfigBundle Class Reference

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)
 Construct a bundle from existing PKI components and authentication method configuration. 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 setClientCert (const QSslCertificate &cert)
 Set client certificate object. More...
 
void setClientCertKey (const QSslKey &certkey)
 Set private key object. More...
 
void setConfig (const QgsAuthMethodConfig &config)
 Set authentication method configuration. More...
 

Detailed Description

Storage set for constructed SSL certificate, key, associated with an authentication config.

Definition at line 250 of file qgsauthconfig.h.

Constructor & Destructor Documentation

QgsPkiConfigBundle::QgsPkiConfigBundle ( const QgsAuthMethodConfig config,
const QSslCertificate cert,
const QSslKey certkey 
)

Construct a bundle from existing PKI components and authentication method configuration.

Parameters
configAuthentication method configuration
certCertificate to store in bundle
certkeyPrivate key to store in bundle

Definition at line 331 of file qgsauthconfig.cpp.

Member Function Documentation

const QSslCertificate QgsPkiConfigBundle::clientCert ( ) const
inline

Client certificate object.

Definition at line 272 of file qgsauthconfig.h.

const QSslKey QgsPkiConfigBundle::clientCertKey ( ) const
inline

Private key object.

Definition at line 277 of file qgsauthconfig.h.

const QgsAuthMethodConfig QgsPkiConfigBundle::config ( ) const
inline

Authentication method configuration.

Definition at line 267 of file qgsauthconfig.h.

bool QgsPkiConfigBundle::isValid ( )

Whether the bundle is valid.

Definition at line 340 of file qgsauthconfig.cpp.

void QgsPkiConfigBundle::setClientCert ( const QSslCertificate cert)
inline

Set client certificate object.

Definition at line 274 of file qgsauthconfig.h.

void QgsPkiConfigBundle::setClientCertKey ( const QSslKey certkey)
inline

Set private key object.

Definition at line 279 of file qgsauthconfig.h.

void QgsPkiConfigBundle::setConfig ( const QgsAuthMethodConfig config)
inline

Set authentication method configuration.

Definition at line 269 of file qgsauthconfig.h.


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