2015-09-21 06:17:48 -06:00
|
|
|
class QgsAuthCertInfo : QWidget
|
|
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include <qgsauthcertificateinfo.h>
|
|
|
|
%End
|
|
|
|
public:
|
2015-10-07 11:55:34 +11:00
|
|
|
explicit QgsAuthCertInfo( const QSslCertificate& cert,
|
2015-09-21 06:17:48 -06:00
|
|
|
bool manageCertTrust = false,
|
|
|
|
QWidget *parent /TransferThis/ = 0,
|
2015-10-07 11:55:34 +11:00
|
|
|
const QList<QSslCertificate>& connectionCAs = QList<QSslCertificate>() );
|
2015-09-21 06:17:48 -06:00
|
|
|
~QgsAuthCertInfo();
|
|
|
|
|
|
|
|
bool trustCacheRebuilt();
|
|
|
|
};
|
|
|
|
|
|
|
|
//////////////// Embed in dialog ///////////////////
|
|
|
|
|
|
|
|
class QgsAuthCertInfoDialog : QDialog
|
|
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include <qgsauthcertificateinfo.h>
|
|
|
|
%End
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit QgsAuthCertInfoDialog( const QSslCertificate& cert,
|
|
|
|
bool manageCertTrust,
|
|
|
|
QWidget *parent /TransferThis/ = 0,
|
2015-10-07 11:55:34 +11:00
|
|
|
const QList<QSslCertificate>& connectionCAs = QList<QSslCertificate>() );
|
2015-09-21 06:17:48 -06:00
|
|
|
~QgsAuthCertInfoDialog();
|
|
|
|
|
|
|
|
QgsAuthCertInfo *certInfoWidget();
|
|
|
|
|
|
|
|
bool trustCacheRebuilt();
|
|
|
|
};
|