diff ui/certificatetablemodel.cpp @ 378:31079bd54036

Add fingerprint to certificate
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 15 Apr 2014 12:36:22 +0200
parents 9731d28b95af
children 1220b741cd51
line wrap: on
line diff
--- a/ui/certificatetablemodel.cpp	Tue Apr 15 12:34:04 2014 +0200
+++ b/ui/certificatetablemodel.cpp	Tue Apr 15 12:36:22 2014 +0200
@@ -7,7 +7,7 @@
     header.append(tr("CN"));
     header.append(tr("issued  on"));
     header.append(tr("expires on"));
-    header.append(tr("Fingerprint"));
+    header.append(tr("SHA1 Fingerprint"));
 
 }
 
@@ -51,7 +51,7 @@
         case 1: ret = cert.subjectCN(); break;
         case 2: ret = cert.validFrom(); break;
         case 3: ret = cert.validTo(); break;
-        case 4: ret = "Fingerprint"; break;
+        case 4: ret = cert.fingerprint(); break;
         default: ;
         }
         return ret;

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