62#ifndef QGSAUTHSSLIMPORTDIALOG_H
63#define QGSAUTHSSLIMPORTDIALOG_H
65#include "ui_qgsauthsslimportdialog.h"
69#include <QAbstractSocket>
94 void accept()
override;
97 void updateEnabledState();
99 void socketStateChanged( QAbstractSocket::SocketState state );
100 void socketConnected();
101 void socketDisconnected();
102 void socketEncrypted();
103 void socketError( QAbstractSocket::SocketError err );
104 void socketReadyRead();
105 void destroySocket();
106 void sslErrors(
const QList<QSslError> &errors );
107 void showCertificateInfo();
109 void widgetReadyToSaveChanged(
bool cansave );
112 void radioServerImportToggled(
bool checked );
113 void radioFileImportToggled(
bool checked );
115 void btnCertPath_clicked();
116 void clearCertificateConfig();
117 void clearStatusCertificateConfig();
120 void loadCertFromFile();
122 void appendString(
const QString &line );
124 QPushButton *saveButton();
125 QPushButton *closeButton();
126 QString getOpenFileName(
const QString &title,
const QString &extfilter );
128 QSslSocket *mSocket =
nullptr;
129 bool mExecErrorsDialog =
false;
130 QTimer *mTimer =
nullptr;
131 QList<QSslError> mSslErrors;
132 QList<QSslCertificate> mTrustedCAs;
134 QVBoxLayout *mAuthNotifyLayout =
nullptr;
135 QLabel *mAuthNotify =
nullptr;
Widget for importing an SSL server certificate exception into the authentication database.