Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-01-18 | Allow ownership transfer of certificates | Edwin Mons | |
OpenSSL TLS contexts assume ownership of any additional certificate passed into it. The CertificateFactory now returns a vector of unique_ptrs, and OpenSSLContext will do the needful with releasing ownership at the right moment. A unit test has been added that uses a chained certificate in client/server context. Before the fix, this test would either fail, or result in a segmentation fault, depending on the mood of OpenSSL. Test-Information: Unit tests pass on Debian 9 Ran manual tests with server test code, tested both chained and single certificates, and no longer observed crashes when accepting a connection. Change-Id: I21814969e45c7d77e9a1af14f2c958c4c0311cd0 | |||
2018-02-02 | Add support for extracting certificate chain from PEM string | Tobias Markmann | |
Add PrivateKey class to simply encapsulate arbitrary private key data and the corresponding password. This enables easy unit testing by loading the certificate and key from within a test case. Test-Information: Added unit tests for certificate and key generated by OpenSSL. Tested on macOS 10.13.2 with OpenSSL. Change-Id: I1c9ffc3c70f61af65c4f1c48670badaf74b672b7 | |||
2014-12-15 | Update Copyright in Swiften | Kevin Smith | |
Change-Id: I94ab4bbb68c603fe872abeb8090575de042f5cb4 | |||
2011-04-30 | Replace #icnlude "" by #include <> in Swiften. | Remko Tronçon | |
2010-11-09 | Created CertificateFactory. | Remko Tronçon | |
2010-03-28 | Removing submodules. | Remko Tronçon | |
2010-03-28 | Moved Swiften to a separate module. | Remko Tronçon | |