qt5base-lts/tests/auto/network/ssl/qsslkey
Mårten Nordheim c45802e33a QSslKey: Implement PKCS#8 support for the generic backend
This patch adds the ability to decode keys which are encoded with PKCS#8
using the generic back-end (used in winrt and secure transport).

It works on both WinRT and macOS; however QSslKey seems unused in the
WinRT backend and it seems only RSA keys can be used for certificates
on macOS. Meaning that DSA and Ec, which in theory* should represent
their unencrypted versions, can't currently be tested properly.

* Can also be confirmed by loading the key using the ST or WinRT
backend, calling toPem(), writing the output to a file and then loading
the unencrypted key using openssl.

[ChangeLog][QtNetwork][QSslKey] Added support for PKCS#8-encoded keys
in the generic SSL back-end (used for SecureTransport on macOS and for
WinRT). Note that it does not support keys encrypted with a PKCS#12
algorithm.

Task-number: QTBUG-59068
Change-Id: Ib27338edc7dbcb5c5e4b02addfdb4b62ac93a4c3
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2018-04-23 12:55:38 +00:00
..
keys Fix loading pkcs#8 encrypted DER-encoded keys in openssl 2018-04-11 14:30:08 +00:00
.gitignore Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
BLACKLIST Unblacklist qsslkey for Linux 2018-04-09 09:34:50 +00:00
qsslkey.pro Use TESTDATA for QSsl* tests 2018-01-12 11:43:55 +00:00
rsa-with-passphrase-3des.pem ssl: add a test for 3DES encrypted keys 2014-08-30 17:24:05 +02:00
rsa-with-passphrase-des.pem ssl: add a test for 3DES encrypted keys 2014-08-30 17:24:05 +02:00
rsa-with-passphrase-rc2.pem ssl: common key parser support for encrypted keys 2014-09-02 23:16:25 +02:00
rsa-without-passphrase.pem Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
tst_qsslkey.cpp QSslKey: Implement PKCS#8 support for the generic backend 2018-04-23 12:55:38 +00:00