QGIS/python/gui/auth/qgsauthcertificateinfo.sip
2017-05-31 10:44:30 +02:00

84 lines
2.7 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/auth/qgsauthcertificateinfo.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsAuthCertInfo : QWidget
{
%Docstring
Widget for viewing detailed info on a certificate and its hierarchical trust chain
%End
%TypeHeaderCode
#include "qgsauthcertificateinfo.h"
%End
public:
explicit QgsAuthCertInfo( const QSslCertificate &cert,
bool manageCertTrust = false,
QWidget *parent /TransferThis/ = 0,
const QList<QSslCertificate> &connectionCAs = QList<QSslCertificate>() );
bool trustCacheRebuilt();
%Docstring
:rtype: bool
%End
};
class QgsAuthCertInfoDialog : QDialog
{
%Docstring
Dialog wrapper for widget displaying detailed info on a certificate and its hierarchical trust chain
%End
%TypeHeaderCode
#include "qgsauthcertificateinfo.h"
%End
public:
explicit QgsAuthCertInfoDialog( const QSslCertificate &cert,
bool manageCertTrust,
QWidget *parent /TransferThis/ = 0,
const QList<QSslCertificate> &connectionCAs = QList<QSslCertificate>() );
%Docstring
Construct a dialog displaying detailed info on a certificate and its hierarchical trust chain
\param cert Certificate object
\param manageCertTrust Whether to show widgets to manage the trust policy of certs in hierarchy
\param parent Parent widget
\param connectionCAs List of hierarchical certificates in a connection
%End
QgsAuthCertInfo *certInfoWidget();
%Docstring
Get access to embedded info widget
:rtype: QgsAuthCertInfo
%End
bool trustCacheRebuilt();
%Docstring
Whether the trust cache has been rebuilt
.. note::
This happens when a trust policy has been adjusted for any cert in the hierarchy
:rtype: bool
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/auth/qgsauthcertificateinfo.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/