QGIS API Documentation  3.4.15-Madeira (e83d02e274)
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 ()
 Gets certificate/key bundle to be imported. More...
 
QgsAuthImportIdentityDialog::IdentityType identityType ()
 Gets identity type. More...
 
const QgsPkiBundle pkiBundleToImport ()
 Gets 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

Type of bundles supported.

Enumerator
PkiPaths 
PkiPkcs12 

Definition at line 47 of file qgsauthimportidentitydialog.h.

Type of identity being imported.

Enumerator
CertIdentity 

Definition at line 41 of file qgsauthimportidentitydialog.h.

Type of certificate/bundle validity output.

Enumerator
Valid 
Invalid 
Unknown 

Definition at line 54 of file qgsauthimportidentitydialog.h.

Constructor & Destructor Documentation

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

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

Gets certificate/key bundle to be imported.

Note
not available in Python bindings

Definition at line 77 of file qgsauthimportidentitydialog.cpp.

QgsAuthImportIdentityDialog::IdentityType QgsAuthImportIdentityDialog::identityType ( )

Gets identity type.

Definition at line 68 of file qgsauthimportidentitydialog.cpp.

const QgsPkiBundle QgsAuthImportIdentityDialog::pkiBundleToImport ( )
inline

Gets 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: