Reference | Class Hierarchy | Class Index | Member Index |
Public Types | |
enum | method { sslv2, sslv2_client, sslv2_server, sslv3, sslv3_client, sslv3_server, tlsv1, tlsv1_client, tlsv1_server, sslv23, sslv23_client, sslv23_server } |
Different methods supported by a context. More... | |
enum | file_format { asn1, pem } |
File format types. More... | |
enum | password_purpose { for_reading, for_writing } |
Purpose of PEM password. More... | |
typedef int | options |
Bitmask type for SSL options. | |
typedef int | verify_mode |
Bitmask type for peer verification. | |
Static Public Attributes | |
static const int | default_workarounds = implementation_defined |
Implement various bug workarounds. | |
static const int | single_dh_use = implementation_defined |
Always create a new key when using tmp_dh parameters. | |
static const int | no_sslv2 = implementation_defined |
Disable SSL v2. | |
static const int | no_sslv3 = implementation_defined |
Disable SSL v3. | |
static const int | no_tlsv1 = implementation_defined |
Disable TLS v1. | |
static const int | verify_none = implementation_defined |
No verification. | |
static const int | verify_peer = implementation_defined |
Verify the peer. | |
static const int | verify_fail_if_no_peer_cert = implementation_defined |
Fail verification if the peer has no certificate. Ignored unless verify_peer is set. | |
static const int | verify_client_once = implementation_defined |
Do not request client certificate on renegotiation. Ignored unless verify_peer is set. | |
Protected Member Functions | |
~context_base () | |
Protected destructor to prevent deletion through this type. |
typedef int asio::ssl::context_base::options |
Bitmask type for SSL options.
typedef int asio::ssl::context_base::verify_mode |
Bitmask type for peer verification.
Different methods supported by a context.
asio::ssl::context_base::~context_base | ( | ) | [protected] |
Protected destructor to prevent deletion through this type.
const int asio::ssl::context_base::default_workarounds = implementation_defined [static] |
Implement various bug workarounds.
const int asio::ssl::context_base::single_dh_use = implementation_defined [static] |
Always create a new key when using tmp_dh parameters.
const int asio::ssl::context_base::no_sslv2 = implementation_defined [static] |
Disable SSL v2.
const int asio::ssl::context_base::no_sslv3 = implementation_defined [static] |
Disable SSL v3.
const int asio::ssl::context_base::no_tlsv1 = implementation_defined [static] |
Disable TLS v1.
const int asio::ssl::context_base::verify_none = implementation_defined [static] |
No verification.
const int asio::ssl::context_base::verify_peer = implementation_defined [static] |
Verify the peer.
const int asio::ssl::context_base::verify_fail_if_no_peer_cert = implementation_defined [static] |
Fail verification if the peer has no certificate. Ignored unless verify_peer is set.
const int asio::ssl::context_base::verify_client_once = implementation_defined [static] |
Do not request client certificate on renegotiation. Ignored unless verify_peer is set.