Mercurial > trustbridge
diff 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 |
line wrap: on
line diff
--- a/ui/certificate.h Tue Apr 15 12:39:27 2014 +0200 +++ b/ui/certificate.h Tue Apr 15 12:45:20 2014 +0200 @@ -107,6 +107,12 @@ /** @brief get the date the certificate expires */ QDateTime validTo() const {return mValidTo;} + /** @brief get the issuer CN from the certificate */ + QString issuerCN() const {return mIssuerCN;} + + /** @brief get the issuer Organization from the certificate */ + QString issuerO() const {return mIssuerO;} + /** @brief get sha1 sum of the certificate */ QString fingerprint() const {return mFingerprint;} @@ -136,7 +142,9 @@ mSubjectSN, mDetails, mBaseLine, - mFingerprint; + mFingerprint, + mIssuerO, + mIssuerCN; QDateTime mValidFrom, mValidTo;