comparison ui/certificate.h @ 357:d56f952ba817

Added member variable for edit state of a certificate.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 10 Apr 2014 17:04:41 +0200
parents 5f1494fab517
children 4836537f87da
comparison
equal deleted inserted replaced
356:67b471c4d1fc 357:d56f952ba817
80 * 80 *
81 * Set the base 64 line prefix to "I:" or "R:". 81 * Set the base 64 line prefix to "I:" or "R:".
82 **/ 82 **/
83 void setInstallCert(bool install); 83 void setInstallCert(bool install);
84 84
85 /** @brief Check if this certificate is editable. */
86 bool isEditable() const {return mEditable;}
87
88 /** @brief Set the edit state for this certificate. */
89 void setEditable(bool edit) {mEditable = edit;}
90
85 /** @brief get the subject OU from the certificate */ 91 /** @brief get the subject OU from the certificate */
86 QString subjectOU() const {return mSubjectOU;} 92 QString subjectOU() const {return mSubjectOU;}
87 93
88 /** @brief get the subject CN from the certificate */ 94 /** @brief get the subject CN from the certificate */
89 QString subjectCN() const {return mSubjectCN;} 95 QString subjectCN() const {return mSubjectCN;}
116 /** @brief Helper function to parse the details of a certificate **/ 122 /** @brief Helper function to parse the details of a certificate **/
117 void parseDetails(const QByteArray& cert); 123 void parseDetails(const QByteArray& cert);
118 124
119 bool mValid; 125 bool mValid;
120 bool mInstCert; 126 bool mInstCert;
127 bool mEditable;
121 128
122 QString mSubjectOU, 129 QString mSubjectOU,
123 mSubjectCN, 130 mSubjectCN,
124 mSubjectO, 131 mSubjectO,
125 mSubjectSN, 132 mSubjectSN,

http://wald.intevation.org/projects/trustbridge/