Class: QgsAuthSslErrorsDialog

Widget for reporting SSL errors and offering an option to store an SSL server exception into the authentication database.

Class Hierarchy

Inheritance diagram of qgis.gui.QgsAuthSslErrorsDialog

Base classes

QDialog

QWidget

QObject

QPaintDevice

class qgis.gui.QgsAuthSslErrorsDialog[source]

Bases: QDialog

__init__(reply: QNetworkReply | None, sslErrors: Iterable[QSslError], parent: QWidget | None = None, digest: str | None = '', hostport: str | None = '')

Construct a dialog to handle SSL errors and saving SSL server certificate exceptions

Parameters:
  • reply (Optional[QNetworkReply]) – Network reply that hand error(s)

  • sslErrors (Iterable[QSslError]) – SSL errors that occurred

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

  • digest (Optional[str] = '') – SHA digest of server certificate

  • hostport (Optional[str] = '') – Unique host:port to associate with the server certificate