CppServer
1.0.4.0
C++ Server Library
include
server
asio
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
14
namespace
CppServer
{
15
namespace
Asio {
16
18
23
class
SSLContext
:
public
asio::ssl::context
24
{
25
public
:
26
using
asio::ssl::context::context;
27
28
SSLContext
(
const
SSLContext
&) =
delete
;
29
SSLContext
(
SSLContext
&&) =
delete
;
30
~SSLContext
() =
default
;
31
32
SSLContext
&
operator=
(
const
SSLContext
&) =
delete
;
33
SSLContext
&
operator=
(
SSLContext
&&) =
delete
;
34
36
void
set_root_certs
();
37
};
38
39
}
// namespace Asio
40
}
// namespace CppServer
41
42
#endif
// CPPSERVER_ASIO_SSL_CONTEXT_H
CppServer::Asio::SSLContext
SSL context.
Definition:
ssl_context.h:24
CppServer::Asio::SSLContext::operator=
SSLContext & operator=(SSLContext &&)=delete
CppServer::Asio::SSLContext::SSLContext
SSLContext(const SSLContext &)=delete
CppServer::Asio::SSLContext::~SSLContext
~SSLContext()=default
CppServer::Asio::SSLContext::set_root_certs
void set_root_certs()
Configures the context to use system root certificates.
Definition:
ssl_context.cpp:18
CppServer::Asio::SSLContext::operator=
SSLContext & operator=(const SSLContext &)=delete
CppServer::Asio::SSLContext::SSLContext
SSLContext(SSLContext &&)=delete
CppServer
C++ Server project definitions.
Definition:
asio.h:56
service.h
Asio service definition.
Generated by
1.9.1