Mercurial > trustbridge
comparison ui/certificate.h @ 248:9f0865dc8b14
Add accessor to check if the certificate should be installed
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 31 Mar 2014 08:03:20 +0000 |
parents | 2551ad24d3c2 |
children | ffd47b045d19 |
comparison
equal
deleted
inserted
replaced
247:4de97f74d038 | 248:9f0865dc8b14 |
---|---|
64 * | 64 * |
65 * @returns the value of the attribute or a null string | 65 * @returns the value of the attribute or a null string |
66 **/ | 66 **/ |
67 QString getSubjectAttr(const QString& attr) const; | 67 QString getSubjectAttr(const QString& attr) const; |
68 | 68 |
69 /** @brief Check if this certificate has the install instruction. | |
70 * | |
71 * This is shorthand for baseLine.startsWith("I:"); | |
72 **/ | |
73 bool isInstallCert() const {return mBaseLine.startsWith("I:");} | |
74 | |
69 private: | 75 private: |
70 bool mValid; | 76 bool mValid; |
77 bool mInstCert; | |
71 | 78 |
72 QString mDetails; | 79 QString mDetails; |
73 QString mBaseLine; | 80 QString mBaseLine; |
74 QMap <QString, QString> mSubjectAttrs; | 81 QMap <QString, QString> mSubjectAttrs; |
75 }; | 82 }; |