Mercurial > trustbridge
comparison ui/certificatelist.h @ 4:9849250f50f2
Start implementation of certificatelist parser
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Tue, 11 Feb 2014 16:46:02 +0000 |
parents | |
children | 992c0ec57660 |
comparison
equal
deleted
inserted
replaced
3:b684e25adbbb | 4:9849250f50f2 |
---|---|
1 | |
2 | |
3 /** | |
4 * This class handles a certificate list file. | |
5 * It checks for the validity of that certificate | |
6 * list file and provides an API for working with that | |
7 * file. | |
8 * | |
9 * The List is parsed on Initialization. You should | |
10 * check the Status afterwards to see if the file | |
11 * could be parsed. | |
12 * | |
13 * The certificate list will be kept in memory until | |
14 * this object is destroyed. | |
15 * | |
16 */ | |
17 | |
18 class QByteArray; | |
19 | |
20 #include <QString> | |
21 #include <QDate> | |
22 | |
23 class CertificateList | |
24 { | |
25 Q_OBJECT | |
26 | |
27 public: | |
28 CertificateList(wchar_t* fileName); | |
29 | |
30 list_status_t getStatus(); | |
31 | |
32 private: | |
33 QString mFileName; | |
34 QByteArray *mFileContent; | |
35 ListStatus mStatus; | |
36 QDate mDate; | |
37 } | |
38 |