QgsAuthImportIdentityDialog class

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

Public types

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

Constructors, destructors, conversion operators

QgsAuthImportIdentityDialog(QgsAuthImportIdentityDialog::IdentityType identitytype, QWidget* parent = nullptr) explicit
Construct a dialog for importing identities.

Public functions

auto certBundleToImport() -> const QPair<QSslCertificate, QSslKey>
Gets certificate/key bundle to be imported.
auto identityType() -> QgsAuthImportIdentityDialog::IdentityType
Gets identity type.
auto pkiBundleToImport() -> const QgsPkiBundle
Gets certificate/key bundle to be imported as a PKI bundle object.

Function documentation

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

Construct a dialog for importing identities.

Parameters
identitytype Type of the identity to import
parent Parent widget

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

Gets certificate/key bundle to be imported.