QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
|
Widget for importing a certificate into the authentication database. More...
#include <qgsauthimportcertdialog.h>
Public Types | |
enum | CertFilter { NoFilter = 1 , CaFilter = 2 } |
Type of filter to apply to dialog. More... | |
enum | CertInput { AllInputs = 1 , FileInput = 2 , TextInput = 3 } |
Type of inputs for certificates. More... | |
Public Member Functions | |
QgsAuthImportCertDialog (QWidget *parent=nullptr, QgsAuthImportCertDialog::CertFilter filter=NoFilter, QgsAuthImportCertDialog::CertInput input=AllInputs) | |
Construct a dialog for importing certificates. More... | |
bool | allowInvalidCerts () |
Whether to allow importation of invalid certificates (so trust policy can be overridden) More... | |
const QString | certFileToImport () |
Gets the file path to a certificate to import. More... | |
const QList< QSslCertificate > | certificatesToImport () |
Gets list of certificate objects to import. More... | |
const QString | certTextToImport () |
Gets certificate text to import. More... | |
QgsAuthCertUtils::CertTrustPolicy | certTrustPolicy () |
Defined trust policy for imported certificates. More... | |
Widget for importing a certificate into the authentication database.
Definition at line 33 of file qgsauthimportcertdialog.h.
Type of filter to apply to dialog.
Enumerator | |
---|---|
NoFilter | |
CaFilter |
Definition at line 39 of file qgsauthimportcertdialog.h.
Type of inputs for certificates.
Enumerator | |
---|---|
AllInputs | |
FileInput | |
TextInput |
Definition at line 46 of file qgsauthimportcertdialog.h.
|
explicit |
Construct a dialog for importing certificates.
parent | Parent widget |
filter | Certificate type filter to apply to dialog |
input | Type of input(s) for certificates |
Definition at line 33 of file qgsauthimportcertdialog.cpp.
bool QgsAuthImportCertDialog::allowInvalidCerts | ( | ) |
Whether to allow importation of invalid certificates (so trust policy can be overridden)
Definition at line 121 of file qgsauthimportcertdialog.cpp.
const QString QgsAuthImportCertDialog::certFileToImport | ( | ) |
Gets the file path to a certificate to import.
Definition at line 97 of file qgsauthimportcertdialog.cpp.
const QList< QSslCertificate > QgsAuthImportCertDialog::certificatesToImport | ( | ) |
Gets list of certificate objects to import.
Definition at line 88 of file qgsauthimportcertdialog.cpp.
const QString QgsAuthImportCertDialog::certTextToImport | ( | ) |
Gets certificate text to import.
Definition at line 109 of file qgsauthimportcertdialog.cpp.
QgsAuthCertUtils::CertTrustPolicy QgsAuthImportCertDialog::certTrustPolicy | ( | ) |
Defined trust policy for imported certificates.
Definition at line 130 of file qgsauthimportcertdialog.cpp.