Realistic 3D camera system
3D camera system components
|
Default service implementation for a context. More...
#include <context_service.hpp>
Public Types | |
typedef service_impl_type::impl_type | impl_type |
The type of the context. More... | |
Public Member Functions | |
context_service (asio::io_service &io_service) | |
Constructor. More... | |
impl_type | null () const |
Return a null context implementation. More... | |
void | create (impl_type &impl, context_base::method m) |
Create a new context implementation. More... | |
void | destroy (impl_type &impl) |
Destroy a context implementation. More... | |
asio::error_code | set_options (impl_type &impl, context_base::options o, asio::error_code &ec) |
Set options on the context. More... | |
asio::error_code | set_verify_mode (impl_type &impl, context_base::verify_mode v, asio::error_code &ec) |
Set peer verification mode. More... | |
asio::error_code | load_verify_file (impl_type &impl, const std::string &filename, asio::error_code &ec) |
Load a certification authority file for performing verification. More... | |
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) |
Use a certificate from a file. More... | |
asio::error_code | use_certificate_chain_file (impl_type &impl, const std::string &filename, asio::error_code &ec) |
Use a certificate chain from a file. More... | |
asio::error_code | use_private_key_file (impl_type &impl, const std::string &filename, context_base::file_format format, asio::error_code &ec) |
Use a private key from a file. More... | |
asio::error_code | use_rsa_private_key_file (impl_type &impl, const std::string &filename, context_base::file_format format, asio::error_code &ec) |
Use an RSA private key from a file. More... | |
asio::error_code | use_tmp_dh_file (impl_type &impl, const std::string &filename, asio::error_code &ec) |
Use the specified file to obtain the temporary Diffie-Hellman parameters. More... | |
template<typename PasswordCallback > | |
asio::error_code | set_password_callback (impl_type &impl, PasswordCallback callback, asio::error_code &ec) |
Set the password callback. More... | |
Public Member Functions inherited from asio::detail::service_base< context_service > | |
service_base (asio::io_service &io_service) | |
Public Member Functions inherited from asio::io_service::service | |
asio::io_service & | get_io_service () |
Get the io_service object that owns the service. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from asio::detail::service_base< context_service > | |
static asio::detail::service_id< 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... | |
Default service implementation for a context.
Definition at line 34 of file context_service.hpp.
The type of the context.
Definition at line 55 of file context_service.hpp.
|
inlineexplicit |
Constructor.
Definition at line 59 of file context_service.hpp.
|
inline |
Add a directory containing certification authority files to be used for performing verification.
Definition at line 106 of file context_service.hpp.
|
inline |
Create a new context implementation.
Definition at line 72 of file context_service.hpp.
|
inline |
Destroy a context implementation.
Definition at line 78 of file context_service.hpp.
|
inline |
Load a certification authority file for performing verification.
Definition at line 98 of file context_service.hpp.
|
inline |
Return a null context implementation.
Definition at line 66 of file context_service.hpp.
|
inline |
Set options on the context.
Definition at line 84 of file context_service.hpp.
|
inline |
Set the password callback.
Definition at line 152 of file context_service.hpp.
|
inline |
Set peer verification mode.
Definition at line 91 of file context_service.hpp.
|
inline |
Use a certificate chain from a file.
Definition at line 121 of file context_service.hpp.
|
inline |
Use a certificate from a file.
Definition at line 113 of file context_service.hpp.
|
inline |
Use a private key from a file.
Definition at line 128 of file context_service.hpp.
|
inline |
Use an RSA private key from a file.
Definition at line 136 of file context_service.hpp.
|
inline |
Use the specified file to obtain the temporary Diffie-Hellman parameters.
Definition at line 144 of file context_service.hpp.