comparison ui/certificate.h @ 82:1f27d6db5ee3

Polarssl based certificate handling
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 19 Mar 2014 18:04:14 +0000
parents 1dd8e91972a8
children ba8a548ff252
comparison
equal deleted inserted replaced
81:112228bd7e4b 82:1f27d6db5ee3
11 11
12 #ifdef Q_OS_WIN 12 #ifdef Q_OS_WIN
13 #include <windows.h> 13 #include <windows.h>
14 #include <wincrypt.h> 14 #include <wincrypt.h>
15 #endif 15 #endif
16
17 #include <polarssl/x509_crt.h>
16 18
17 class Certificate 19 class Certificate
18 { 20 {
19 public: 21 public:
20 /** @brief construct a certificate from an X509 ASN1 encoded byte array. 22 /** @brief construct a certificate from an X509 ASN1 encoded byte array.
36 38
37 private: 39 private:
38 bool mValid; 40 bool mValid;
39 QString mShortDescription; 41 QString mShortDescription;
40 42
41 #ifdef Q_OS_WIN 43 x509_crt mX509Cert;
42 PCCERT_CONTEXT mPCertContext;
43 #endif
44 }; 44 };
45 #endif 45 #endif

http://wald.intevation.org/projects/trustbridge/