$search

asio::ssl::detail::openssl_context_service Class Reference

#include <openssl_context_service.hpp>

Inheritance diagram for asio::ssl::detail::openssl_context_service:
Inheritance graph
[legend]

List of all members.

Public Types

typedef ::SSL_CTX * impl_type
typedef boost::function
< std::string(std::size_t,
context_base::password_purpose)> 
password_callback_type

Public Member Functions

asio::error_code add_verify_path (impl_type &impl, const std::string &path, asio::error_code &ec)
void create (impl_type &impl, context_base::method m)
void destroy (impl_type &impl)
asio::error_code load_verify_file (impl_type &impl, const std::string &filename, asio::error_code &ec)
 openssl_context_service (asio::io_service &io_service)
asio::error_code set_options (impl_type &impl, context_base::options o, asio::error_code &ec)
template<typename Password_Callback >
asio::error_code set_password_callback (impl_type &impl, Password_Callback callback, asio::error_code &ec)
asio::error_code set_verify_mode (impl_type &impl, context_base::verify_mode v, asio::error_code &ec)
void shutdown_service ()
 Destroy all user-defined handler objects owned by the service.
asio::error_code use_certificate_chain_file (impl_type &impl, const std::string &filename, asio::error_code &ec)
asio::error_code use_certificate_file (impl_type &impl, const std::string &filename, context_base::file_format format, asio::error_code &ec)
asio::error_code use_private_key_file (impl_type &impl, const std::string &filename, context_base::file_format format, asio::error_code &ec)
asio::error_code use_rsa_private_key_file (impl_type &impl, const std::string &filename, context_base::file_format format, asio::error_code &ec)
asio::error_code use_tmp_dh_file (impl_type &impl, const std::string &filename, asio::error_code &ec)

Static Public Member Functions

static impl_type null ()
static int password_callback (char *buf, int size, int purpose, void *data)

Private Attributes

openssl_init init_

Detailed Description

Definition at line 38 of file openssl_context_service.hpp.


Member Typedef Documentation

Definition at line 43 of file openssl_context_service.hpp.

Definition at line 47 of file openssl_context_service.hpp.


Constructor & Destructor Documentation

asio::ssl::detail::openssl_context_service::openssl_context_service ( asio::io_service io_service  )  [inline]

Definition at line 50 of file openssl_context_service.hpp.


Member Function Documentation

asio::error_code asio::ssl::detail::openssl_context_service::add_verify_path ( impl_type impl,
const std::string &  path,
asio::error_code ec 
) [inline]

Definition at line 169 of file openssl_context_service.hpp.

void asio::ssl::detail::openssl_context_service::create ( impl_type impl,
context_base::method  m 
) [inline]

Definition at line 67 of file openssl_context_service.hpp.

void asio::ssl::detail::openssl_context_service::destroy ( impl_type impl  )  [inline]

Definition at line 115 of file openssl_context_service.hpp.

asio::error_code asio::ssl::detail::openssl_context_service::load_verify_file ( impl_type impl,
const std::string &  filename,
asio::error_code ec 
) [inline]

Definition at line 154 of file openssl_context_service.hpp.

static impl_type asio::ssl::detail::openssl_context_service::null (  )  [inline, static]

Definition at line 61 of file openssl_context_service.hpp.

static int asio::ssl::detail::openssl_context_service::password_callback ( char *  buf,
int  size,
int  purpose,
void *  data 
) [inline, static]

Definition at line 322 of file openssl_context_service.hpp.

asio::error_code asio::ssl::detail::openssl_context_service::set_options ( impl_type impl,
context_base::options  o,
asio::error_code ec 
) [inline]

Definition at line 134 of file openssl_context_service.hpp.

template<typename Password_Callback >
asio::error_code asio::ssl::detail::openssl_context_service::set_password_callback ( impl_type impl,
Password_Callback  callback,
asio::error_code ec 
) [inline]

Definition at line 342 of file openssl_context_service.hpp.

asio::error_code asio::ssl::detail::openssl_context_service::set_verify_mode ( impl_type impl,
context_base::verify_mode  v,
asio::error_code ec 
) [inline]

Definition at line 144 of file openssl_context_service.hpp.

void asio::ssl::detail::openssl_context_service::shutdown_service (  )  [inline, virtual]

Destroy all user-defined handler objects owned by the service.

Implements asio::io_service::service.

Definition at line 56 of file openssl_context_service.hpp.

asio::error_code asio::ssl::detail::openssl_context_service::use_certificate_chain_file ( impl_type impl,
const std::string &  filename,
asio::error_code ec 
) [inline]

Definition at line 214 of file openssl_context_service.hpp.

asio::error_code asio::ssl::detail::openssl_context_service::use_certificate_file ( impl_type impl,
const std::string &  filename,
context_base::file_format  format,
asio::error_code ec 
) [inline]

Definition at line 183 of file openssl_context_service.hpp.

asio::error_code asio::ssl::detail::openssl_context_service::use_private_key_file ( impl_type impl,
const std::string &  filename,
context_base::file_format  format,
asio::error_code ec 
) [inline]

Definition at line 228 of file openssl_context_service.hpp.

asio::error_code asio::ssl::detail::openssl_context_service::use_rsa_private_key_file ( impl_type impl,
const std::string &  filename,
context_base::file_format  format,
asio::error_code ec 
) [inline]

Definition at line 259 of file openssl_context_service.hpp.

asio::error_code asio::ssl::detail::openssl_context_service::use_tmp_dh_file ( impl_type impl,
const std::string &  filename,
asio::error_code ec 
) [inline]

Definition at line 291 of file openssl_context_service.hpp.


Member Data Documentation

Definition at line 370 of file openssl_context_service.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Castor
Author(s): Carpe Noctem
autogenerated on Fri Mar 1 14:41:50 2013