dpp::detail::wrapped_ssl_ctx
wrapped_ssl_ctx.h
SSL_CTX * SSL_CTX* dpp::detail::wrapped_ssl_ctx::context context dpp::detail::wrapped_ssl_ctx::context {nullptr}

SSL_CTX pointer, raw C pointer nastiness.

dpp::detail::wrapped_ssl_ctx::wrapped_ssl_ctx
(bool is_server=false)
wrapped_ssl_ctx
dpp::detail::wrapped_ssl_ctx::wrapped_ssl_ctx
bool is_server false

Create a wrapped SSL context.

is_server

true to create a server context, false to create a client context

dpp::connection_exception

if context could not be created

dpp::detail::wrapped_ssl_ctx::wrapped_ssl_ctx
(const wrapped_ssl_ctx &)=delete
wrapped_ssl_ctx
dpp::detail::wrapped_ssl_ctx::wrapped_ssl_ctx
const wrapped_ssl_ctx &

Copy constructor.

Intentionally deleted

dpp::detail::wrapped_ssl_ctx::wrapped_ssl_ctx
(wrapped_ssl_ctx &&other) noexcept
wrapped_ssl_ctx
dpp::detail::wrapped_ssl_ctx::wrapped_ssl_ctx
wrapped_ssl_ctx && other

Move constructor.

other

source context

dpp::detail::wrapped_ssl_ctx::~wrapped_ssl_ctx
()
~wrapped_ssl_ctx
dpp::detail::wrapped_ssl_ctx::~wrapped_ssl_ctx
std::string std::string dpp::detail::wrapped_ssl_ctx::get_ssl_error () get_ssl_error dpp::detail::wrapped_ssl_ctx::get_ssl_error

Get last SSL error message.

SSL error message

wrapped_ssl_ctx & wrapped_ssl_ctx & dpp::detail::wrapped_ssl_ctx::operator= (const wrapped_ssl_ctx &)=delete operator= dpp::detail::wrapped_ssl_ctx::operator= const wrapped_ssl_ctx &

Copy assignment operator.

Intentionally deleted

wrapped_ssl_ctx & wrapped_ssl_ctx & dpp::detail::wrapped_ssl_ctx::operator= (wrapped_ssl_ctx &&other) noexcept operator= dpp::detail::wrapped_ssl_ctx::operator= wrapped_ssl_ctx && other

Move assignment operator.

other

source context

self

This class wraps a raw SSL_CTX pointer, managing moving, creation, and RAII destruction.

SSL_CTX *
dpp::detail::wrapped_ssl_ctx
context
- dpp::detail::wrapped_ssl_ctx
  context
- dpp::detail::wrapped_ssl_ctx
  get_ssl_error
- dpp::detail::wrapped_ssl_ctx
  operator=
- dpp::detail::wrapped_ssl_ctx
  operator=
- dpp::detail::wrapped_ssl_ctx
  wrapped_ssl_ctx
- dpp::detail::wrapped_ssl_ctx
  wrapped_ssl_ctx
- dpp::detail::wrapped_ssl_ctx
  wrapped_ssl_ctx
- dpp::detail::wrapped_ssl_ctx
  ~wrapped_ssl_ctx