I’m connecting a server and client using boost.asio’s
ssl facilities. I create a
boost::asio::ssl::stream, load up a self-signed certificate on the server and client, load the certificate’s private key on the server, and successfully perform the
I believe now that
boost::asio::ssl::stream::write_some() (and its
read variants) will automatically encrypt and decrypt messages for me. However, the documentation doesn’t confirm this.
If there is encryption, is this asymmetric encryption with the server’s public key, or symmetric encryption with a session key?
Read more here: Source link