QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
|
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. | |
bool | allowInvalidCerts () |
Whether to allow importation of invalid certificates (so trust policy can be overridden) | |
const QString | certFileToImport () |
Gets the file path to a certificate to import. | |
const QList< QSslCertificate > | certificatesToImport () |
Gets list of certificate objects to import. | |
const QString | certTextToImport () |
Gets certificate text to import. | |
QgsAuthCertUtils::CertTrustPolicy | certTrustPolicy () |
Defined trust policy for imported certificates. | |
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 34 of file qgsauthimportcertdialog.cpp.
bool QgsAuthImportCertDialog::allowInvalidCerts | ( | ) |
Whether to allow importation of invalid certificates (so trust policy can be overridden)
Definition at line 122 of file qgsauthimportcertdialog.cpp.
const QString QgsAuthImportCertDialog::certFileToImport | ( | ) |
Gets the file path to a certificate to import.
Definition at line 98 of file qgsauthimportcertdialog.cpp.
const QList< QSslCertificate > QgsAuthImportCertDialog::certificatesToImport | ( | ) |
Gets list of certificate objects to import.
Definition at line 89 of file qgsauthimportcertdialog.cpp.
const QString QgsAuthImportCertDialog::certTextToImport | ( | ) |
Gets certificate text to import.
Definition at line 110 of file qgsauthimportcertdialog.cpp.
QgsAuthCertUtils::CertTrustPolicy QgsAuthImportCertDialog::certTrustPolicy | ( | ) |
Defined trust policy for imported certificates.
Definition at line 131 of file qgsauthimportcertdialog.cpp.