...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
class context : public ssl::context_base, noncopyable
Name |
Description |
---|---|
File format types. |
|
(Deprecated: Use native_handle_type.) The native type of the SSL context. |
|
Different methods supported by a context. |
|
The native handle type of the SSL context. |
|
Bitmask type for SSL options. |
|
Purpose of PEM password. |
Name |
Description |
---|---|
Add a directory containing certificate authority files to be used for performing verification. |
|
Constructor. Deprecated constructor taking a reference to an io_service object. Move-construct a context from another. |
|
(Deprecated: Use native_handle().) Get the underlying implementation in the native type. |
|
Load a certification authority file for performing verification. |
|
Get the underlying implementation in the native type. |
|
Move-assign a context from another. |
|
Configures the context to use the default directories for finding certification authority certificates. |
|
Set options on the context. |
|
Set the password callback. |
|
Set the callback used to verify peer certificates. |
|
Set the peer verification mode. |
|
Use a certificate chain from a file. |
|
Use a certificate from a file. |
|
Use a private key from a file. |
|
Use an RSA private key from a file. |
|
Use the specified file to obtain the temporary Diffie-Hellman parameters. |
|
Destructor. |
Name |
Description |
---|---|
Implement various bug workarounds. |
|
Disable SSL v2. |
|
Disable SSL v3. |
|
Disable TLS v1. |
|
Always create a new key when using tmp_dh parameters. |
Header: boost/asio/ssl/context.hpp
Convenience header: boost/asio/ssl.hpp