Mercurial > trustbridge
comparison 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 |
comparison
equal
deleted
inserted
replaced
377:e3f825a7257e | 378:31079bd54036 |
---|---|
105 QDateTime validFrom() const {return mValidFrom;} | 105 QDateTime validFrom() const {return mValidFrom;} |
106 | 106 |
107 /** @brief get the date the certificate expires */ | 107 /** @brief get the date the certificate expires */ |
108 QDateTime validTo() const {return mValidTo;} | 108 QDateTime validTo() const {return mValidTo;} |
109 | 109 |
110 /** @brief get sha1 sum of the certificate */ | |
111 QString fingerprint() const {return mFingerprint;} | |
112 | |
110 /** @brief construct certificate objects from a file | 113 /** @brief construct certificate objects from a file |
111 * | 114 * |
112 * Constructs a new Certificate Object from a file containing either | 115 * Constructs a new Certificate Object from a file containing either |
113 * one DER encoded certificate or one or many PEM certificates. | 116 * one DER encoded certificate or one or many PEM certificates. |
114 * If no certificate could be parsed from that file an empty list is | 117 * If no certificate could be parsed from that file an empty list is |
130 QString mSubjectOU, | 133 QString mSubjectOU, |
131 mSubjectCN, | 134 mSubjectCN, |
132 mSubjectO, | 135 mSubjectO, |
133 mSubjectSN, | 136 mSubjectSN, |
134 mDetails, | 137 mDetails, |
135 mBaseLine; | 138 mBaseLine, |
139 mFingerprint; | |
136 | 140 |
137 QDateTime mValidFrom, | 141 QDateTime mValidFrom, |
138 mValidTo; | 142 mValidTo; |
139 }; | 143 }; |
140 #endif | 144 #endif |