17 #ifndef QGSAUTHIMPORTIDENTITYDIALOG_H
18 #define QGSAUTHIMPORTIDENTITYDIALOG_H
22 #include "ui_qgsauthimportidentitydialog.h"
24 #include <QSslCertificate>
75 const QPair<QSslCertificate, QSslKey> certBundleToImport()
SIP_SKIP;
81 void populateIdentityType();
83 void validateIdentity();
87 void clearValidation();
88 void writeValidation(
const QString &msg,
90 bool append =
false );
93 void lePkiPathsKeyPass_textChanged(
const QString &pass );
94 void chkPkiPathsPassShow_stateChanged(
int state );
96 void btnPkiPathsCert_clicked();
97 void btnPkiPathsKey_clicked();
100 void lePkiPkcs12KeyPass_textChanged(
const QString &pass );
101 void chkPkiPkcs12PassShow_stateChanged(
int state );
103 void btnPkiPkcs12Bundle_clicked();
106 bool validateBundle();
107 bool validatePkiPaths();
108 bool validatePkiPkcs12();
110 void fileFound(
bool found, QWidget *widget );
111 QString getOpenFileName(
const QString &title,
const QString &extfilter );
113 QPushButton *okButton();
116 QPair<QSslCertificate, QSslKey> mCertBundle;
120 QVBoxLayout *mAuthNotifyLayout =
nullptr;
121 QLabel *mAuthNotify =
nullptr;
124 #endif // QGSAUTHIMPORTIDENTITYDIALOG_H