...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 certification authority for performing verification. |
|
Add a directory containing certificate authority files to be used for performing verification. |
|
Clear options on the context. |
|
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 depth. |
|
Set the peer verification mode. |
|
Use a certificate from a memory buffer. |
|
Use a certificate chain from a memory buffer. |
|
Use a certificate chain from a file. |
|
Use a certificate from a file. |
|
Use a private key from a memory buffer. |
|
Use a private key from a file. |
|
Use an RSA private key from a memory buffer. |
|
Use an RSA private key from a file. |
|
Use the specified memory buffer to obtain the temporary Diffie-Hellman parameters. |
|
Use the specified file to obtain the temporary Diffie-Hellman parameters. |
|
Destructor. |
Name |
Description |
---|---|
Implement various bug workarounds. |
|
Disable compression. Compression is disabled by default. |
|
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