Class: QgsAuthCertInfoDialog

Dialog wrapper for widget displaying detailed info on a certificate and its hierarchical trust chain

Class Hierarchy

Inheritance diagram of qgis.gui.QgsAuthCertInfoDialog

Base classes

QDialog

QWidget

QObject

QPaintDevice

Methods

certInfoWidget

Gets access to embedded info widget

trustCacheRebuilt

Whether the trust cache has been rebuilt

class qgis.gui.QgsAuthCertInfoDialog[source]

Bases: QDialog

__init__(cert: QSslCertificate, manageCertTrust: bool, parent: QWidget | None = None, connectionCAs: Iterable[QSslCertificate] = [])

Construct a dialog displaying detailed info on a certificate and its hierarchical trust chain

Parameters:
  • cert (QSslCertificate) – Certificate object

  • manageCertTrust (bool) – Whether to show widgets to manage the trust policy of certs in hierarchy

  • parent (Optional[QWidget] = None) – Parent widget

  • connectionCAs (Iterable[QSslCertificate] = []) – List of hierarchical certificates in a connection

certInfoWidget(self) QgsAuthCertInfo | None[source]

Gets access to embedded info widget

Return type:

Optional[QgsAuthCertInfo]

trustCacheRebuilt(self) bool[source]

Whether the trust cache has been rebuilt

Note

This happens when a trust policy has been adjusted for any cert in the hierarchy

Return type:

bool