Mercurial > trustbridge
diff ui/certificate.h @ 378:31079bd54036
Add fingerprint to certificate
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 15 Apr 2014 12:36:22 +0200 |
parents | 4836537f87da |
children | 1220b741cd51 |
line wrap: on
line diff
--- a/ui/certificate.h Tue Apr 15 12:34:04 2014 +0200 +++ b/ui/certificate.h Tue Apr 15 12:36:22 2014 +0200 @@ -107,6 +107,9 @@ /** @brief get the date the certificate expires */ QDateTime validTo() const {return mValidTo;} + /** @brief get sha1 sum of the certificate */ + QString fingerprint() const {return mFingerprint;} + /** @brief construct certificate objects from a file * * Constructs a new Certificate Object from a file containing either @@ -132,7 +135,8 @@ mSubjectO, mSubjectSN, mDetails, - mBaseLine; + mBaseLine, + mFingerprint; QDateTime mValidFrom, mValidTo;