QGIS API Documentation  3.0.2-Girona (307d082)
Public Types | Public Member Functions | List of all members
QgsAuthImportIdentityDialog Class Reference

Widget for importing an identity certificate/key bundle into the authentication database. More...

#include <qgsauthimportidentitydialog.h>

Inheritance diagram for QgsAuthImportIdentityDialog:
Inheritance graph
[legend]

Public Types

enum  BundleTypes { PkiPaths = 0, PkiPkcs12 = 1 }
 Type of bundles supported. More...
 
enum  IdentityType { CertIdentity = 0 }
 Type of identity being imported. More...
 
enum  Validity { Valid, Invalid, Unknown }
 Type of certificate/bundle validity output. More...
 

Public Member Functions

 QgsAuthImportIdentityDialog (QgsAuthImportIdentityDialog::IdentityType identitytype, QWidget *parent=nullptr)
 Construct a dialog for importing identities. More...
 
const QPair< QSslCertificate, QSslKey > certBundleToImport ()
 Get certificate/key bundle to be imported. More...
 
QgsAuthImportIdentityDialog::IdentityType identityType ()
 Get identity type. More...
 
const QgsPkiBundle pkiBundleToImport ()
 Get certificate/key bundle to be imported as a PKI bundle object. More...
 

Detailed Description

Widget for importing an identity certificate/key bundle into the authentication database.

Definition at line 35 of file qgsauthimportidentitydialog.h.

Member Enumeration Documentation

◆ BundleTypes

Type of bundles supported.

Enumerator
PkiPaths 
PkiPkcs12 

Definition at line 47 of file qgsauthimportidentitydialog.h.

◆ IdentityType

Type of identity being imported.

Enumerator
CertIdentity 

Definition at line 41 of file qgsauthimportidentitydialog.h.

◆ Validity

Type of certificate/bundle validity output.

Enumerator
Valid 
Invalid 
Unknown 

Definition at line 54 of file qgsauthimportidentitydialog.h.

Constructor & Destructor Documentation

◆ QgsAuthImportIdentityDialog()

QgsAuthImportIdentityDialog::QgsAuthImportIdentityDialog ( QgsAuthImportIdentityDialog::IdentityType  identitytype,
QWidget *  parent = nullptr 
)
explicit

Construct a dialog for importing identities.

Parameters
identitytypeType of the identity to import
parentParent widget

Definition at line 33 of file qgsauthimportidentitydialog.cpp.

Member Function Documentation

◆ certBundleToImport()

const QPair< QSslCertificate, QSslKey > QgsAuthImportIdentityDialog::certBundleToImport ( )

Get certificate/key bundle to be imported.

Note
not available in Python bindings

Definition at line 77 of file qgsauthimportidentitydialog.cpp.

◆ identityType()

QgsAuthImportIdentityDialog::IdentityType QgsAuthImportIdentityDialog::identityType ( )

Get identity type.

Definition at line 68 of file qgsauthimportidentitydialog.cpp.

◆ pkiBundleToImport()

const QgsPkiBundle QgsAuthImportIdentityDialog::pkiBundleToImport ( )
inline

Get certificate/key bundle to be imported as a PKI bundle object.

Definition at line 79 of file qgsauthimportidentitydialog.h.


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