45 explicit QgsAuthCertInfo(
const QSslCertificate &cert,
bool manageCertTrust =
false, QWidget *parent
SIP_TRANSFERTHIS =
nullptr,
const QList<QSslCertificate> &connectionCAs = QList<QSslCertificate>() );
50 void setupError(
const QString &msg );
52 void currentCertItemChanged( QTreeWidgetItem *current, QTreeWidgetItem *previous );
54 void updateCurrentCert( QTreeWidgetItem *item );
56 void btnSaveTrust_clicked();
58 void currentPolicyIndexChanged(
int indx );
65 DetailsSection = 1000,
77 void setUpCertDetailsTree();
79 void populateTrustBox();
81 bool populateQcaCertCollection();
83 bool setQcaCertificate(
const QSslCertificate &cert );
85 bool populateCertChain();
87 void setCertHierarchy();
89 void updateCurrentCertInfo(
int chainindx );
91 void populateCertInfo();
93 QTreeWidgetItem *addGroupItem( QTreeWidgetItem *parent,
const QString &group );
95 void addFieldItem( QTreeWidgetItem *parent,
const QString &field,
const QString &value, FieldWidget wdgt = NoWidget,
const QColor &color = QColor() );
97 void populateInfoGeneralSection();
99 void populateInfoDetailsSection();
101 void populateInfoPemTextSection();
103 QCA::Certificate mCert;
104 QList<QSslCertificate> mConnectionCAs;
105 QMap<QString, QPair<QgsAuthCertUtils::CaCertSource, QSslCertificate>> mCaCertsCache;
106 QCA::CertificateCollection mCaCerts;
107 QCA::CertificateChain mACertChain;
108 QList<QSslCertificate> mQCertChain;
109 QSslCertificate mCurrentQCert;
110 QCA::Certificate mCurrentACert;
112 QBrush mDefaultItemForeground;
115 bool mTrustCacheRebuilt;
119 QTreeWidgetItem *mSecGeneral =
nullptr;
120 QTreeWidgetItem *mSecDetails =
nullptr;
121 QTreeWidgetItem *mSecPemText =
nullptr;
122 QTreeWidgetItem *mGrpSubj =
nullptr;
123 QTreeWidgetItem *mGrpIssu =
nullptr;
124 QTreeWidgetItem *mGrpCert =
nullptr;
125 QTreeWidgetItem *mGrpPkey =
nullptr;
126 QTreeWidgetItem *mGrpExts =
nullptr;
128 QVBoxLayout *mAuthNotifyLayout =
nullptr;
129 QLabel *mAuthNotify =
nullptr;