Class: QgsPkiConfigBundle¶
Storage set for constructed SSL certificate, key, associated with an authentication config
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  | 
- class qgis.core.QgsPkiConfigBundle[source]¶
 Bases:
object- __init__(config: QgsAuthMethodConfig, cert: QSslCertificate, certkey: QSslKey, cachain: Iterable[QSslCertificate] = [])
 Construct a bundle from existing PKI components and authentication method configuration
- Parameters:
 config (QgsAuthMethodConfig) – Authentication method configuration
cert (QSslCertificate) – Certificate to store in bundle
certkey (QSslKey) – Private key to store in bundle
cachain (Iterable[QSslCertificate] = []) – list of CA certificates
- __init__(a0: QgsPkiConfigBundle)
 - Parameters:
 a0 (QgsPkiConfigBundle)
- caChain(self) List[QSslCertificate]¶
 caChain return the CA chain
- Return type:
 List[QSslCertificate]
- Returns:
 list of CA certificates
- config(self) QgsAuthMethodConfig[source]¶
 Authentication method configuration
- Return type:
 
- setCaChain(self, caChain: Iterable[QSslCertificate])[source]¶
 setCaChain set the CA chain
- Parameters:
 caChain (Iterable[QSslCertificate])
- setClientCert(self, cert: QSslCertificate)[source]¶
 Sets client certificate object
- Parameters:
 cert (QSslCertificate)
- setClientCertKey(self, certkey: QSslKey)[source]¶
 Sets private key object
- Parameters:
 certkey (QSslKey)
- setConfig(self, config: QgsAuthMethodConfig)[source]¶
 Sets authentication method configuration
- Parameters:
 config (QgsAuthMethodConfig)