8 #ifndef DIAG_CLIENT_LIB_LIB_BOOST_SUPPORT_SOCKET_TLS_TLS_CONTEXT_H_ 
    9 #define DIAG_CLIENT_LIB_LIB_BOOST_SUPPORT_SOCKET_TLS_TLS_CONTEXT_H_ 
   11 #include <boost/asio.hpp> 
   12 #include <boost/asio/ssl.hpp> 
   80              std::string_view private_key_path) noexcept;
 
   92              std::string_view private_key_path) noexcept;
 
Tls context class responsible for setting cipher suite and loading certificates.
boost::asio::ssl::context SslContext
Type alias for boost ssl context.
SslContext ssl_context_
Store the boost ssl context.
TlsContext(TlsContext &&other) noexcept=default
Defaulted move assignment and move constructor.
~TlsContext() noexcept=default
Destruct an instance of TcpSocket.
TlsContext & operator=(const TlsContext &other) noexcept=delete
SslContext & GetContext() noexcept
Function to get the ssl context reference.
TlsContext(Tls12VersionClient client, std::string_view ca_certification_path) noexcept
Constructs an instance of TlsContext.
TlsContext & operator=(TlsContext &&other) noexcept=default
TlsContext(const TlsContext &other) noexcept=delete
Deleted copy assignment and copy constructor.
TlsVersion< Tls12CipherSuites > TlsVersion12
Strong type for TLS version 1.2.
TlsVersion< Tls13CipherSuites > TlsVersion13
Strong type for TLS version 1.3.
detail::TlsVersion< Tls12CipherSuites > TlsVersion12
Strong type for TLS version 1.2.
detail::TlsVersion< Tls13CipherSuites > TlsVersion13
Strong type for TLS version 1.3.
Template type for Tls version.