QGIS API Documentation 3.41.0-Master (3440c17df1d)
Loading...
Searching...
No Matches
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.
 
const QPair< QSslCertificate, QSslKey > certBundleToImport ()
 Gets certificate/key bundle to be imported.
 
QgsAuthImportIdentityDialog::IdentityType identityType ()
 Gets identity type.
 
const QgsPkiBundle pkiBundleToImport ()
 Gets certificate/key bundle to be imported as a PKI bundle object.
 

Detailed Description

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

Definition at line 34 of file qgsauthimportidentitydialog.h.

Member Enumeration Documentation

◆ BundleTypes

Type of bundles supported.

Enumerator
PkiPaths 
PkiPkcs12 

Definition at line 46 of file qgsauthimportidentitydialog.h.

◆ IdentityType

Type of identity being imported.

Enumerator
CertIdentity 

Definition at line 40 of file qgsauthimportidentitydialog.h.

◆ Validity

Type of certificate/bundle validity output.

Enumerator
Valid 
Invalid 
Unknown 

Definition at line 53 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 34 of file qgsauthimportidentitydialog.cpp.

Member Function Documentation

◆ certBundleToImport()

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

Gets certificate/key bundle to be imported.

Note
not available in Python bindings

Definition at line 78 of file qgsauthimportidentitydialog.cpp.

◆ identityType()

QgsAuthImportIdentityDialog::IdentityType QgsAuthImportIdentityDialog::identityType ( )

Gets identity type.

Definition at line 69 of file qgsauthimportidentitydialog.cpp.

◆ pkiBundleToImport()

const QgsPkiBundle QgsAuthImportIdentityDialog::pkiBundleToImport ( )
inline

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

Definition at line 78 of file qgsauthimportidentitydialog.h.


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