QGIS/python/gui/auth/qgsauthcertificateinfo.sip

88 lines
2.8 KiB
Plaintext
Raw Normal View History

2017-05-31 10:09:57 +02:00
/************************************************************************
* 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
{
2017-05-31 10:09:57 +02:00
%Docstring
Widget for viewing detailed info on a certificate and its hierarchical trust chain
%End
%TypeHeaderCode
2017-05-31 10:09:57 +02:00
#include "qgsauthcertificateinfo.h"
%End
public:
2017-05-31 10:09:57 +02:00
explicit QgsAuthCertInfo( const QSslCertificate &cert,
bool manageCertTrust = false,
QWidget *parent /TransferThis/ = 0,
const QList<QSslCertificate> &connectionCAs = QList<QSslCertificate>() );
%Docstring
Constructor for QgsAuthCertInfo
%End
bool trustCacheRebuilt();
2017-05-31 10:09:57 +02:00
%Docstring
:rtype: bool
%End
};
class QgsAuthCertInfoDialog : QDialog
{
2017-05-31 10:09:57 +02:00
%Docstring
Dialog wrapper for widget displaying detailed info on a certificate and its hierarchical trust chain
%End
2017-05-31 10:09:57 +02:00
%TypeHeaderCode
#include "qgsauthcertificateinfo.h"
%End
public:
2017-05-31 10:09:57 +02:00
explicit QgsAuthCertInfoDialog( const QSslCertificate &cert,
bool manageCertTrust,
QWidget *parent /TransferThis/ = 0,
const QList<QSslCertificate> &connectionCAs = QList<QSslCertificate>() );
2017-05-31 10:09:57 +02:00
%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();
2017-05-31 10:09:57 +02:00
%Docstring
Get access to embedded info widget
:rtype: QgsAuthCertInfo
%End
bool trustCacheRebuilt();
2017-05-31 10:09:57 +02:00
%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
};
2017-05-31 10:09:57 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/auth/qgsauthcertificateinfo.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/