| Reference | Class Hierarchy | Class Index | Member Index |
Inheritance diagram for asio::ssl::context_service:

Public Types | |
| typedef implementation_defined | impl_type |
| The type of the context. | |
Public Member Functions | |
| context_service (asio::io_service &io_service) | |
| Constructor. | |
| void | shutdown_service () |
| Destroy all user-defined handler objects owned by the service. | |
| impl_type | null () const |
| Return a null context implementation. | |
| void | create (impl_type &impl, context_base::method m) |
| Create a new context implementation. | |
| void | destroy (impl_type &impl) |
| Destroy a context implementation. | |
| asio::error_code | set_options (impl_type &impl, context_base::options o, asio::error_code &ec) |
| Set options on the context. | |
| asio::error_code | set_verify_mode (impl_type &impl, context_base::verify_mode v, asio::error_code &ec) |
| Set peer verification mode. | |
| 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. | |
| asio::error_code | add_verify_path (impl_type &impl, const std::string &path, asio::error_code &ec) |
| Add a directory containing certification authority files to be used for performing verification. | |
| 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. | |
| 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. | |
| 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. | |
| 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. | |
| 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. | |
| template<typename PasswordCallback> | |
| asio::error_code | set_password_callback (impl_type &impl, PasswordCallback callback, asio::error_code &ec) |
| Set the password callback. | |
| asio::io_service & | io_service () |
| Get the io_service object that owns the service. | |
Static Public Attributes | |
| static asio::io_service::id | id |
| The unique service identifier. | |
| typedef implementation_defined asio::ssl::context_service::impl_type |
The type of the context.
| asio::ssl::context_service::context_service | ( | asio::io_service & | io_service | ) | [explicit] |
Constructor.
| void asio::ssl::context_service::shutdown_service | ( | ) | [virtual] |
Destroy all user-defined handler objects owned by the service.
Implements asio::io_service::service.
| impl_type asio::ssl::context_service::null | ( | ) | const |
Return a null context implementation.
| void asio::ssl::context_service::create | ( | impl_type & | impl, | |
| context_base::method | m | |||
| ) |
Create a new context implementation.
| void asio::ssl::context_service::destroy | ( | impl_type & | impl | ) |
Destroy a context implementation.
| asio::error_code asio::ssl::context_service::set_options | ( | impl_type & | impl, | |
| context_base::options | o, | |||
| asio::error_code & | ec | |||
| ) |
Set options on the context.
| asio::error_code asio::ssl::context_service::set_verify_mode | ( | impl_type & | impl, | |
| context_base::verify_mode | v, | |||
| asio::error_code & | ec | |||
| ) |
Set peer verification mode.
| asio::error_code asio::ssl::context_service::load_verify_file | ( | impl_type & | impl, | |
| const std::string & | filename, | |||
| asio::error_code & | ec | |||
| ) |
Load a certification authority file for performing verification.
| asio::error_code asio::ssl::context_service::add_verify_path | ( | impl_type & | impl, | |
| const std::string & | path, | |||
| asio::error_code & | ec | |||
| ) |
Add a directory containing certification authority files to be used for performing verification.
| asio::error_code asio::ssl::context_service::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.
| asio::error_code asio::ssl::context_service::use_certificate_chain_file | ( | impl_type & | impl, | |
| const std::string & | filename, | |||
| asio::error_code & | ec | |||
| ) |
Use a certificate chain from a file.
| asio::error_code asio::ssl::context_service::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.
| asio::error_code asio::ssl::context_service::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.
| asio::error_code asio::ssl::context_service::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.
| asio::error_code asio::ssl::context_service::set_password_callback | ( | impl_type & | impl, | |
| PasswordCallback | callback, | |||
| asio::error_code & | ec | |||
| ) |
Set the password callback.
| asio::io_service & asio::io_service::service::io_service | ( | ) | [inherited] |
Get the io_service object that owns the service.
The unique service identifier.