comparison ui/certificate.h @ 352:b0a274f4f9e2

Added setter to certificate to change the install/remove state.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 10 Apr 2014 15:55:47 +0200
parents 36c68dfb821d
children 5f1494fab517
comparison
equal deleted inserted replaced
348:e6aa82466420 352:b0a274f4f9e2
68 * 68 *
69 * This is shorthand for baseLine.startsWith("I:"); 69 * This is shorthand for baseLine.startsWith("I:");
70 **/ 70 **/
71 bool isInstallCert() const {return mBaseLine.startsWith("I:");} 71 bool isInstallCert() const {return mBaseLine.startsWith("I:");}
72 72
73 /** @brief Set the install instruction for this certificate.
74 *
75 * Set the base 64 line prefix to "I:" or "R:".
76 **/
77 void setInstallCert(bool install);
78
73 /** @brief get the subject OU from the certificate */ 79 /** @brief get the subject OU from the certificate */
74 QString subjectOU() const {return mSubjectOU;} 80 QString subjectOU() const {return mSubjectOU;}
75 81
76 /** @brief get the subject CN from the certificate */ 82 /** @brief get the subject CN from the certificate */
77 QString subjectCN() const {return mSubjectCN;} 83 QString subjectCN() const {return mSubjectCN;}

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