Realistic 3D camera system
3D camera system components
Public Types | Public Member Functions | Static Public Member Functions | List of all members
asio::ssl::old::detail::openssl_context_service Class Reference

#include <openssl_context_service.hpp>

Inheritance diagram for asio::ssl::old::detail::openssl_context_service:
asio::detail::service_base< openssl_context_service > asio::io_service::service asio::detail::noncopyable

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

 openssl_context_service (asio::io_service &io_service)
 
void shutdown_service ()
 Destroy all user-defined handler objects owned by the service. More...
 
void create (impl_type &impl, context_base::method m)
 
void destroy (impl_type &impl)
 
asio::error_code set_options (impl_type &impl, context_base::options o, asio::error_code &ec)
 
asio::error_code set_verify_mode (impl_type &impl, context_base::verify_mode v, asio::error_code &ec)
 
asio::error_code load_verify_file (impl_type &impl, const std::string &filename, asio::error_code &ec)
 
asio::error_code add_verify_path (impl_type &impl, const std::string &path, 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_certificate_chain_file (impl_type &impl, const std::string &filename, 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)
 
template<typename Password_Callback >
asio::error_code set_password_callback (impl_type &impl, Password_Callback callback, asio::error_code &ec)
 
- Public Member Functions inherited from asio::detail::service_base< openssl_context_service >
 service_base (asio::io_service &io_service)
 
- Public Member Functions inherited from asio::io_service::service
asio::io_serviceget_io_service ()
 Get the io_service object that owns the service. More...
 

Static Public Member Functions

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

Additional Inherited Members

- Static Public Attributes inherited from asio::detail::service_base< openssl_context_service >
static asio::detail::service_id< openssl_context_service > id
 
- Protected Member Functions inherited from asio::io_service::service
ASIO_DECL service (asio::io_service &owner)
 Constructor. More...
 
virtual ASIO_DECL ~service ()
 Destructor. More...
 

Detailed Description

Definition at line 37 of file openssl_context_service.hpp.

Member Typedef Documentation

Definition at line 42 of file openssl_context_service.hpp.

Definition at line 46 of file openssl_context_service.hpp.

Constructor & Destructor Documentation

asio::ssl::old::detail::openssl_context_service::openssl_context_service ( asio::io_service io_service)
inline

Definition at line 49 of file openssl_context_service.hpp.

Member Function Documentation

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

Definition at line 175 of file openssl_context_service.hpp.

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

Definition at line 66 of file openssl_context_service.hpp.

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

Definition at line 121 of file openssl_context_service.hpp.

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

Definition at line 160 of file openssl_context_service.hpp.

static impl_type asio::ssl::old::detail::openssl_context_service::null ( )
inlinestatic

Definition at line 60 of file openssl_context_service.hpp.

static int asio::ssl::old::detail::openssl_context_service::password_callback ( char *  buf,
int  size,
int  purpose,
void *  data 
)
inlinestatic

Definition at line 328 of file openssl_context_service.hpp.

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

Definition at line 140 of file openssl_context_service.hpp.

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

Definition at line 348 of file openssl_context_service.hpp.

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

Definition at line 150 of file openssl_context_service.hpp.

void asio::ssl::old::detail::openssl_context_service::shutdown_service ( )
inlinevirtual

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

Implements asio::io_service::service.

Definition at line 55 of file openssl_context_service.hpp.

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

Definition at line 220 of file openssl_context_service.hpp.

asio::error_code asio::ssl::old::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 189 of file openssl_context_service.hpp.

asio::error_code asio::ssl::old::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 234 of file openssl_context_service.hpp.

asio::error_code asio::ssl::old::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 265 of file openssl_context_service.hpp.

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

Definition at line 297 of file openssl_context_service.hpp.


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