Mercurial > trustbridge
comparison ui/certificate.h @ 380:1220b741cd51
Add some more fields for a certificate
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 15 Apr 2014 12:45:20 +0200 |
parents | 31079bd54036 |
children | cc1738b398a0 |
comparison
equal
deleted
inserted
replaced
379:2ddc685cba33 | 380:1220b741cd51 |
---|---|
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 the issuer CN from the certificate */ | |
111 QString issuerCN() const {return mIssuerCN;} | |
112 | |
113 /** @brief get the issuer Organization from the certificate */ | |
114 QString issuerO() const {return mIssuerO;} | |
115 | |
110 /** @brief get sha1 sum of the certificate */ | 116 /** @brief get sha1 sum of the certificate */ |
111 QString fingerprint() const {return mFingerprint;} | 117 QString fingerprint() const {return mFingerprint;} |
112 | 118 |
113 /** @brief construct certificate objects from a file | 119 /** @brief construct certificate objects from a file |
114 * | 120 * |
134 mSubjectCN, | 140 mSubjectCN, |
135 mSubjectO, | 141 mSubjectO, |
136 mSubjectSN, | 142 mSubjectSN, |
137 mDetails, | 143 mDetails, |
138 mBaseLine, | 144 mBaseLine, |
139 mFingerprint; | 145 mFingerprint, |
146 mIssuerO, | |
147 mIssuerCN; | |
140 | 148 |
141 QDateTime mValidFrom, | 149 QDateTime mValidFrom, |
142 mValidTo; | 150 mValidTo; |
143 }; | 151 }; |
144 #endif | 152 #endif |