2017-05-31 10:09:57 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/auth/qgsauthimportidentitydialog.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-09-21 06:17:48 -06:00
|
|
|
class QgsAuthImportIdentityDialog : QDialog
|
|
|
|
{
|
2017-05-31 10:09:57 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Widget for importing an identity certificate/key bundle into the authentication database
|
2015-09-21 06:17:48 -06:00
|
|
|
%End
|
|
|
|
|
2017-05-31 10:09:57 +02:00
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsauthimportidentitydialog.h"
|
|
|
|
%End
|
2015-09-21 06:17:48 -06:00
|
|
|
public:
|
|
|
|
enum IdentityType
|
|
|
|
{
|
2017-05-31 10:09:57 +02:00
|
|
|
CertIdentity,
|
2015-09-21 06:17:48 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
enum BundleTypes
|
|
|
|
{
|
2017-05-31 10:09:57 +02:00
|
|
|
PkiPaths,
|
|
|
|
PkiPkcs12,
|
2015-09-21 06:17:48 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
enum Validity
|
|
|
|
{
|
|
|
|
Valid,
|
|
|
|
Invalid,
|
|
|
|
Unknown
|
|
|
|
};
|
|
|
|
|
|
|
|
explicit QgsAuthImportIdentityDialog( QgsAuthImportIdentityDialog::IdentityType identitytype,
|
|
|
|
QWidget *parent /TransferThis/ = 0 );
|
2017-05-31 10:09:57 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Construct a dialog for importing identities
|
2017-12-15 21:36:08 -04:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
:param identitytype: Type of the identity to import
|
|
|
|
:param parent: Parent widget
|
2017-05-31 10:09:57 +02:00
|
|
|
%End
|
2015-09-21 06:17:48 -06:00
|
|
|
|
|
|
|
QgsAuthImportIdentityDialog::IdentityType identityType();
|
2017-05-31 10:09:57 +02:00
|
|
|
%Docstring
|
2018-05-26 18:44:30 +10:00
|
|
|
Gets identity type
|
2017-05-31 10:09:57 +02:00
|
|
|
%End
|
2015-09-21 06:17:48 -06:00
|
|
|
|
|
|
|
|
|
|
|
const QgsPkiBundle pkiBundleToImport();
|
2017-05-31 10:09:57 +02:00
|
|
|
%Docstring
|
2018-05-26 18:44:30 +10:00
|
|
|
Gets certificate/key bundle to be imported as a PKI bundle object
|
2017-05-31 10:09:57 +02:00
|
|
|
%End
|
|
|
|
|
2015-09-21 06:17:48 -06:00
|
|
|
};
|
2017-05-31 10:09:57 +02:00
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/auth/qgsauthimportidentitydialog.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|