Webdar 1.0.0
Web user interface to libdar
Public Member Functions | List of all members
ssl_context Class Reference

manages an SSL context and initiate openssl library More...

#include <ssl_context.hpp>

Public Member Functions

 ssl_context (const std::string &certificate, const std::string &privatekey)
 constructor
 
 ssl_context (const ssl_context &ref)=delete
 forbidding copy, allowing move
 
 ssl_context (ssl_context &&ref) noexcept=default
 
ssl_contextoperator= (const ssl_context &ref)=delete
 
ssl_contextoperator= (ssl_context &&ref) noexcept=default
 
 ~ssl_context ()
 destructor
 
SSL_CTX & get_context ()
 

Detailed Description

manages an SSL context and initiate openssl library

SSL_CTX are openssl structure holding certificate, privatekey connection method and algorithms... they are used to create an SSL object that ciphers/deciphers/authenticate SSL exchanges on a particular connection (for example a TCP connection)


The documentation for this class was generated from the following files: