...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
The context_base class is used as a base for the basic_context class template so that we have a common place to define various enums.
class context_base
Name |
Description |
---|---|
File format types. |
|
Different methods supported by a context. |
|
Bitmask type for SSL options. |
|
Purpose of PEM password. |
|
Bitmask type for peer verification. |
Name |
Description |
---|---|
Protected destructor to prevent deletion through this type. |
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. |