QGIS API Documentation  3.6.0-Noosa (5873452)
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=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...
 

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 = nullptr,
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 33 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 121 of file qgsauthimportcertdialog.cpp.

◆ certFileToImport()

const QString QgsAuthImportCertDialog::certFileToImport ( )

Gets the file path to a certificate to import.

Definition at line 97 of file qgsauthimportcertdialog.cpp.

◆ certificatesToImport()

const QList< QSslCertificate > QgsAuthImportCertDialog::certificatesToImport ( )

Gets list of certificate objects to import.

Definition at line 88 of file qgsauthimportcertdialog.cpp.

◆ certTextToImport()

const QString QgsAuthImportCertDialog::certTextToImport ( )

Gets certificate text to import.

Definition at line 109 of file qgsauthimportcertdialog.cpp.

◆ certTrustPolicy()

QgsAuthCertUtils::CertTrustPolicy QgsAuthImportCertDialog::certTrustPolicy ( )

Defined trust policy for imported certificates.

Definition at line 130 of file qgsauthimportcertdialog.cpp.


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