CppServer 1.0.5.0
C++ Server Library
Loading...
Searching...
No Matches
ssl_context.h
Go to the documentation of this file.
1
9#ifndef CPPSERVER_ASIO_SSL_CONTEXT_H
10#define CPPSERVER_ASIO_SSL_CONTEXT_H
11
12#include "service.h"
13
14namespace CppServer {
15namespace Asio {
16
18
23class SSLContext : public asio::ssl::context
24{
25public:
26 using asio::ssl::context::context;
27
28 SSLContext(const SSLContext&) = delete;
30 ~SSLContext() = default;
31
32 SSLContext& operator=(const SSLContext&) = delete;
34
36 void set_root_certs();
37};
38
39} // namespace Asio
40} // namespace CppServer
41
42#endif // CPPSERVER_ASIO_SSL_CONTEXT_H
SSLContext(const SSLContext &)=delete
void set_root_certs()
Configures the context to use system root certificates.
SSLContext & operator=(SSLContext &&)=delete
SSLContext(SSLContext &&)=delete
SSLContext & operator=(const SSLContext &)=delete
C++ Server project definitions.
Definition asio.h:56
Asio service definition.