Mercurial > trustbridge
comparison ui/certificate.cpp @ 356:67b471c4d1fc
Default for loaded certificates from file to install
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 10 Apr 2014 16:23:29 +0200 |
parents | 5f1494fab517 |
children | 31079bd54036 |
comparison
equal
deleted
inserted
replaced
355:5f1494fab517 | 356:67b471c4d1fc |
---|---|
73 | 73 |
74 parseDetails(derData); | 74 parseDetails(derData); |
75 | 75 |
76 mValid = !mSubjectCN.isEmpty(); | 76 mValid = !mSubjectCN.isEmpty(); |
77 | 77 |
78 mBaseLine = derData.toBase64(); | 78 /* Default is installation for new certificates */ |
79 mBaseLine = QString::fromLatin1("I:") + derData.toBase64(); | |
79 } | 80 } |
80 | 81 |
81 Certificate::Certificate(const QString& b64Line) : | 82 Certificate::Certificate(const QString& b64Line) : |
82 mValid(false) | 83 mValid(false) |
83 { | 84 { |