diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-12-30 19:19:42 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-12-30 19:27:25 (GMT) |
commit | b5ae8c3a9ec236321d705f9a79234777fc28b5fc (patch) | |
tree | d634b3b4bf391b2e8a56d451bf911bcde3f36954 /Swiften/TLS/SimpleCertificate.h | |
parent | d64d480cae2db95a802323408745b0d49be9c660 (diff) | |
download | swift-contrib-b5ae8c3a9ec236321d705f9a79234777fc28b5fc.zip swift-contrib-b5ae8c3a9ec236321d705f9a79234777fc28b5fc.tar.bz2 |
Show certificate fingerprint in 'Trust certificate' dialog.
Diffstat (limited to 'Swiften/TLS/SimpleCertificate.h')
-rw-r--r-- | Swiften/TLS/SimpleCertificate.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Swiften/TLS/SimpleCertificate.h b/Swiften/TLS/SimpleCertificate.h index 2db8291..7af8530 100644 --- a/Swiften/TLS/SimpleCertificate.h +++ b/Swiften/TLS/SimpleCertificate.h @@ -55,7 +55,11 @@ namespace Swift { } ByteArray toDER() const { - return ByteArray(); + return der; + } + + void setDER(const ByteArray& der) { + this->der = der; } private: @@ -63,6 +67,7 @@ namespace Swift { private: String subjectName; + ByteArray der; std::vector<String> commonNames; std::vector<String> dnsNames; std::vector<String> xmppAddresses; |