Mercurial > trustbridge
diff 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 |
line wrap: on
line diff
--- a/ui/certificate.h Thu Apr 10 14:14:56 2014 +0200 +++ b/ui/certificate.h Thu Apr 10 15:55:47 2014 +0200 @@ -70,6 +70,12 @@ **/ bool isInstallCert() const {return mBaseLine.startsWith("I:");} + /** @brief Set the install instruction for this certificate. + * + * Set the base 64 line prefix to "I:" or "R:". + **/ + void setInstallCert(bool install); + /** @brief get the subject OU from the certificate */ QString subjectOU() const {return mSubjectOU;}