Class: QgsPkiConfigBundle¶
-
class
qgis.core.
QgsPkiConfigBundle
(config: QgsAuthMethodConfig, cert: QSslCertificate, certkey: QSslKey, cachain: Iterable[QSslCertificate] = [])¶ Bases:
sip.wrapper
Construct a bundle from existing PKI components and authentication method configuration
- Parameters
config – Authentication method configuration
cert – Certificate to store in bundle
certkey – Private key to store in bundle
cachain – list of CA certificates
QgsPkiConfigBundle(QgsPkiConfigBundle)
Storage set for constructed SSL certificate, key, associated with an authentication config
Enums
Methods
caChain return the CA chain
Client certificate object
Private key object
Authentication method configuration
Whether the bundle is valid
setCaChain set the CA chain
Sets client certificate object
Sets private key object
Sets authentication method configuration
Signals
Attributes
-
caChain
(self) → List[QSslCertificate]¶ caChain return the CA chain
- Returns
list of CA certificates
-
clientCert
(self) → QSslCertificate¶ Client certificate object
-
clientCertKey
(self) → QSslKey¶ Private key object
-
config
(self) → QgsAuthMethodConfig¶ Authentication method configuration
-
isValid
(self) → bool¶ Whether the bundle is valid
-
setCaChain
(self, caChain: Iterable[QSslCertificate])¶ setCaChain set the CA chain
- Parameters
caChain –
-
setClientCert
(self, cert: QSslCertificate)¶ Sets client certificate object
-
setClientCertKey
(self, certkey: QSslKey)¶ Sets private key object
-
setConfig
(self, config: QgsAuthMethodConfig)¶ Sets authentication method configuration