Mercurial > trustbridge
comparison ui/certificate.h @ 399:55cbe0a482ce
merged.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 16 Apr 2014 10:01:02 +0200 |
parents | cc1738b398a0 |
children | 17e1c8f37d72 |
comparison
equal
deleted
inserted
replaced
398:9e6a2c2033ed | 399:55cbe0a482ce |
---|---|
126 * The size restrictions for the certificate list file also apply | 126 * The size restrictions for the certificate list file also apply |
127 * for this file. | 127 * for this file. |
128 **/ | 128 **/ |
129 static QList<Certificate> fromFileName (const QString& file_name); | 129 static QList<Certificate> fromFileName (const QString& file_name); |
130 | 130 |
131 friend inline bool operator==(const Certificate& lhs, const Certificate& rhs) { | |
132 return lhs.base64Line() == rhs.base64Line(); | |
133 } | |
131 private: | 134 private: |
132 /** @brief Helper function to parse the details of a certificate **/ | 135 /** @brief Helper function to parse the details of a certificate **/ |
133 void parseDetails(const QByteArray& cert); | 136 void parseDetails(const QByteArray& cert); |
134 | 137 |
135 bool mValid; | 138 bool mValid; |