Mercurial > trustbridge
diff ui/certificate.cpp @ 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 | 2ddc685cba33 |
children | 7a15a3066f7b |
line wrap: on
line diff
--- a/ui/certificate.cpp Tue Apr 15 12:39:27 2014 +0200 +++ b/ui/certificate.cpp Tue Apr 15 12:45:20 2014 +0200 @@ -46,8 +46,10 @@ chain.valid_to.sec)); mSubjectCN = getX509Value(&(chain.subject), CERT_OID_CN); + mIssuerCN = getX509Value(&(chain.issuer), CERT_OID_CN); mSubjectOU = getX509Value(&(chain.subject), CERT_OID_OU); mSubjectO = getX509Value(&(chain.subject), CERT_OID_O); + mIssuerO = getX509Value(&(chain.issuer), CERT_OID_O); mSubjectSN = getX509Value(&(chain.subject), CERT_OID_SN); /* Calculate sha1 fingerprint */