Would be nice if there was support for PKCS11 (hardware tokens, i.e. smart cards) in QSslSocket
What can be done here to get this support of PKCS11 for QT/WebKit?
I am afraid there is not much that can be done, PKCS11 is not supported in OpenSSL currently as far as I can see.
And what about the engine command in openssl?
If we can extend QSslKey to allow external handles or callbacks (custom RSA_METHODS)
then there is possible implement smarcard private key validation.
You should check https://qt.gitorious.org/qt/qtbase/merge_requests/48 . An example is available at http://git.iksaif.net/?p=qsslkey-p11.git;a=summary .
It wont make to 4.8 probably, I wonder if there will be 4.9 before 5.0 release