Mercurial > trustbridge
comparison ui/certificate.cpp @ 661:320a64d58e62
(UI) Updated English strings. Removed Issuer fields.
author | Emanuel Schuetze <emanuel@intevation.de> |
---|---|
date | Thu, 26 Jun 2014 15:59:34 +0200 |
parents | bf445b0e1126 |
children | 2b3526ef2d69 |
comparison
equal
deleted
inserted
replaced
660:392ec26de687 | 661:320a64d58e62 |
---|---|
51 QTime(chain.valid_to.hour, | 51 QTime(chain.valid_to.hour, |
52 chain.valid_to.min, | 52 chain.valid_to.min, |
53 chain.valid_to.sec)); | 53 chain.valid_to.sec)); |
54 | 54 |
55 mSubjectCN = getX509Value(&(chain.subject), CERT_OID_CN); | 55 mSubjectCN = getX509Value(&(chain.subject), CERT_OID_CN); |
56 mIssuerCN = getX509Value(&(chain.issuer), CERT_OID_CN); | |
57 mSubjectOU = getX509Value(&(chain.subject), CERT_OID_OU); | 56 mSubjectOU = getX509Value(&(chain.subject), CERT_OID_OU); |
58 mSubjectO = getX509Value(&(chain.subject), CERT_OID_O); | 57 mSubjectO = getX509Value(&(chain.subject), CERT_OID_O); |
59 mIssuerO = getX509Value(&(chain.issuer), CERT_OID_O); | |
60 mSubjectSN = getX509Value(&(chain.subject), CERT_OID_SN); | 58 mSubjectSN = getX509Value(&(chain.subject), CERT_OID_SN); |
61 | 59 |
62 /* Calculate sha1 fingerprint */ | 60 /* Calculate sha1 fingerprint */ |
63 unsigned char sha1sum[20]; | 61 unsigned char sha1sum[20]; |
64 sha1(chain.raw.p, chain.raw.len, sha1sum); | 62 sha1(chain.raw.p, chain.raw.len, sha1sum); |