...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
SSL context.
template< typename Service> class basic_context : public ssl::context_base
Name |
Description |
---|---|
File format types. |
|
The native implementation type of the locking dispatcher. |
|
Different methods supported by a context. |
|
Bitmask type for SSL options. |
|
Purpose of PEM password. |
|
The type of the service that will be used to provide context operations. |
|
Bitmask type for peer verification. |
Name |
Description |
---|---|
Add a directory containing certificate authority files to be used for performing verification. |
|
Constructor. |
|
Get the underlying implementation in the native type. |
|
Load a certification authority file for performing verification. |
|
Set options on the context. |
|
Set the password callback. |
|
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. |
|
Do not request client certificate on renegotiation. Ignored unless verify_peer is set. |
|
Fail verification if the peer has no certificate. Ignored unless verify_peer is set. |
|
No verification. |
|
Verify the peer. |