QGIS API Documentation  2.99.0-Master (9fdd060)
Public Types | Public Member Functions | List of all members
QgsAuthImportCertDialog Class Reference

Widget for importing a certificate into the authentication database. More...

#include <qgsauthimportcertdialog.h>

Inheritance diagram for QgsAuthImportCertDialog:
Inheritance graph
[legend]

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=0, 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 ()
 Get the file path to a certificate to import. More...
 
const QList< QSslCertificate > certificatesToImport ()
 Get list of certificate objects to import. More...
 
const QString certTextToImport ()
 Get certificate text to import. More...
 
QgsAuthCertUtils::CertTrustPolicy certTrustPolicy ()
 Defined trust policy for imported certificates. More...
 

Detailed Description

Widget for importing a certificate into the authentication database.

Definition at line 33 of file qgsauthimportcertdialog.h.

Member Enumeration Documentation

◆ CertFilter

Type of filter to apply to dialog.

Enumerator
NoFilter 
CaFilter 

Definition at line 39 of file qgsauthimportcertdialog.h.

◆ CertInput

Type of inputs for certificates.

Enumerator
AllInputs 
FileInput 
TextInput 

Definition at line 46 of file qgsauthimportcertdialog.h.

Constructor & Destructor Documentation

◆ QgsAuthImportCertDialog()

QgsAuthImportCertDialog::QgsAuthImportCertDialog ( QWidget *  parent = 0,
QgsAuthImportCertDialog::CertFilter  filter = NoFilter,
QgsAuthImportCertDialog::CertInput  input = AllInputs 
)
explicit

Construct a dialog for importing certificates.

Parameters
parentParent widget
filterCertificate type filter to apply to dialog
inputType of input(s) for certificates

Definition at line 32 of file qgsauthimportcertdialog.cpp.

Member Function Documentation

◆ allowInvalidCerts()

bool QgsAuthImportCertDialog::allowInvalidCerts ( )

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

Definition at line 120 of file qgsauthimportcertdialog.cpp.

◆ certFileToImport()

const QString QgsAuthImportCertDialog::certFileToImport ( )

Get the file path to a certificate to import.

Definition at line 96 of file qgsauthimportcertdialog.cpp.

◆ certificatesToImport()

const QList< QSslCertificate > QgsAuthImportCertDialog::certificatesToImport ( )

Get list of certificate objects to import.

Definition at line 87 of file qgsauthimportcertdialog.cpp.

◆ certTextToImport()

const QString QgsAuthImportCertDialog::certTextToImport ( )

Get certificate text to import.

Definition at line 108 of file qgsauthimportcertdialog.cpp.

◆ certTrustPolicy()

QgsAuthCertUtils::CertTrustPolicy QgsAuthImportCertDialog::certTrustPolicy ( )

Defined trust policy for imported certificates.

Definition at line 129 of file qgsauthimportcertdialog.cpp.


The documentation for this class was generated from the following files: