mirror of https://gitee.com/openkylin/qemu.git
d321e1e526
Introduce a QCryptoTLSSession object that will encapsulate all the code for setting up and using a client/sever TLS session. This isolates the code which depends on the gnutls library, avoiding #ifdefs in the rest of the codebase, as well as facilitating any possible future port to other TLS libraries, if desired. It makes use of the previously defined QCryptoTLSCreds object to access credentials to use with the session. It also includes further unit tests to validate the correctness of the TLS session handshake and certificate validation. This is functionally equivalent to the current TLS session handling code embedded in the VNC server, and will obsolete it. Signed-off-by: Daniel P. Berrange <berrange@redhat.com> |
||
---|---|---|
.. | ||
aes.h | ||
cipher.h | ||
desrfb.h | ||
hash.h | ||
init.h | ||
tlscreds.h | ||
tlscredsanon.h | ||
tlscredsx509.h | ||
tlssession.h |