Class: QgsAuthImportCertDialog

class qgis.gui.QgsAuthImportCertDialog

Bases: PyQt5.QtWidgets.QDialog

Widget for importing a certificate into the authentication database

QgsAuthImportCertDialog(parent: QWidget = None, filter: QgsAuthImportCertDialog.CertFilter = QgsAuthImportCertDialog.NoFilter, input: QgsAuthImportCertDialog.CertInput = QgsAuthImportCertDialog.AllInputs) Construct a dialog for importing certificates

Parameters
AllInputs = 1
CaFilter = 2
class CertFilter

Bases: int

class CertInput

Bases: int

FileInput = 2
NoFilter = 1
TextInput = 3
actionEvent(self, QActionEvent)
allowInvalidCerts(self)bool

Whether to allow importation of invalid certificates (so trust policy can be overridden)

Return type

bool

certFileToImport(self)str

Gets the file path to a certificate to import

Return type

str

certTextToImport(self)str

Gets certificate text to import

Return type

str

certTrustPolicy(self)QgsAuthCertUtils.CertTrustPolicy

Defined trust policy for imported certificates

Return type

QgsAuthCertUtils.CertTrustPolicy

certificatesToImport(self)List[QSslCertificate]

Gets list of certificate objects to import

Return type

List[QSslCertificate]

changeEvent(self, QEvent)
childEvent(self, QChildEvent)
closeEvent(self, QCloseEvent)
connectNotify(self, QMetaMethod)
contextMenuEvent(self, QContextMenuEvent)
create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)
customEvent(self, QEvent)
destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)
disconnectNotify(self, QMetaMethod)
dragEnterEvent(self, QDragEnterEvent)
dragLeaveEvent(self, QDragLeaveEvent)
dragMoveEvent(self, QDragMoveEvent)
dropEvent(self, QDropEvent)
enterEvent(self, QEvent)
event(self, QEvent)bool
eventFilter(self, QObject, QEvent)bool
focusInEvent(self, QFocusEvent)
focusNextChild(self)bool
focusNextPrevChild(self, bool)bool
focusOutEvent(self, QFocusEvent)
focusPreviousChild(self)bool
hideEvent(self, QHideEvent)
initPainter(self, QPainter)
inputMethodEvent(self, QInputMethodEvent)
isSignalConnected(self, QMetaMethod)bool
keyPressEvent(self, QKeyEvent)
keyReleaseEvent(self, QKeyEvent)
leaveEvent(self, QEvent)
metric(self, QPaintDevice.PaintDeviceMetric)int
mouseDoubleClickEvent(self, QMouseEvent)
mouseMoveEvent(self, QMouseEvent)
mousePressEvent(self, QMouseEvent)
mouseReleaseEvent(self, QMouseEvent)
moveEvent(self, QMoveEvent)
nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr)Tuple[bool, int]
paintEvent(self, QPaintEvent)
receivers(self, PYQT_SIGNAL)int
resizeEvent(self, QResizeEvent)
sender(self)QObject
senderSignalIndex(self)int
sharedPainter(self)QPainter
showEvent(self, QShowEvent)
tabletEvent(self, QTabletEvent)
timerEvent(self, QTimerEvent)
updateMicroFocus(self)
wheelEvent(self, QWheelEvent)