Subgroup: Auth

Class: QgsAuthImportCertDialog

class qgis.gui.QgsAuthImportCertDialog(parent: QWidget = None, filter: QgsAuthImportCertDialog.CertFilter = QgsAuthImportCertDialog.NoFilter, input: QgsAuthImportCertDialog.CertInput = QgsAuthImportCertDialog.AllInputs)

Bases: PyQt5.QtWidgets.QDialog

Construct a dialog for importing certificates

Parameters:
  • parent – Parent widget
  • filter – Certificate type filter to apply to dialog
  • input – Type of input(s) for certificates

Widget for importing a certificate into the authentication database

Methods

actionEvent
allowInvalidCerts Whether to allow importation of invalid certificates (so trust policy can be overridden)
certFileToImport Get the file path to a certificate to import
certTextToImport Get certificate text to import
certTrustPolicy Defined trust policy for imported certificates
certificatesToImport Get list of certificate objects to import
changeEvent
childEvent
closeEvent
connectNotify
contextMenuEvent
create
customEvent
destroy
disconnectNotify
dragEnterEvent
dragLeaveEvent
dragMoveEvent
dropEvent
enterEvent
event
eventFilter
focusInEvent
focusNextChild
focusNextPrevChild
focusOutEvent
focusPreviousChild
hideEvent
initPainter
inputMethodEvent
isSignalConnected
keyPressEvent
keyReleaseEvent
leaveEvent
metric
mouseDoubleClickEvent
mouseMoveEvent
mousePressEvent
mouseReleaseEvent
moveEvent
nativeEvent
paintEvent
receivers
resizeEvent
sender
senderSignalIndex
sharedPainter
showEvent
tabletEvent
timerEvent
updateMicroFocus
wheelEvent

Signals

Attributes

AllInputs
CaFilter
FileInput
NoFilter
TextInput
AllInputs = 1
CaFilter = 2
class CertFilter

Bases: int

class CertInput

Bases: int

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

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

certFileToImport(self) → str

Get the file path to a certificate to import

certTextToImport(self) → str

Get certificate text to import

certTrustPolicy(self) → QgsAuthCertUtils.CertTrustPolicy

Defined trust policy for imported certificates

certificatesToImport(self) → List[QSslCertificate]

Get list of certificate objects to import

changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create()
customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
eventFilter()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
receivers()
resizeEvent()
sender()
senderSignalIndex()
sharedPainter()
showEvent()
tabletEvent()
timerEvent()
updateMicroFocus()
wheelEvent()