#include <context_base.hpp>
Public Types | |
enum | file_format { asn1, pem } |
File format types. More... | |
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... | |
typedef int | options |
Bitmask type for SSL options. | |
enum | password_purpose { for_reading, for_writing } |
Purpose of PEM password. More... | |
typedef int | verify_mode |
Bitmask type for peer verification. | |
Public Member Functions | |
BOOST_STATIC_CONSTANT (int, default_workarounds=SSL_OP_ALL) | |
BOOST_STATIC_CONSTANT (int, single_dh_use=SSL_OP_SINGLE_DH_USE) | |
BOOST_STATIC_CONSTANT (int, no_sslv2=SSL_OP_NO_SSLv2) | |
BOOST_STATIC_CONSTANT (int, no_sslv3=SSL_OP_NO_SSLv3) | |
BOOST_STATIC_CONSTANT (int, no_tlsv1=SSL_OP_NO_TLSv1) | |
BOOST_STATIC_CONSTANT (int, verify_none=SSL_VERIFY_NONE) | |
BOOST_STATIC_CONSTANT (int, verify_peer=SSL_VERIFY_PEER) | |
BOOST_STATIC_CONSTANT (int, verify_fail_if_no_peer_cert=SSL_VERIFY_FAIL_IF_NO_PEER_CERT) | |
BOOST_STATIC_CONSTANT (int, verify_client_once=SSL_VERIFY_CLIENT_ONCE) | |
Protected Member Functions | |
~context_base () | |
Protected destructor to prevent deletion through this type. |
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.
Definition at line 32 of file context_base.hpp.
typedef int asio::ssl::context_base::options |
Bitmask type for SSL options.
Definition at line 76 of file context_base.hpp.
typedef int asio::ssl::context_base::verify_mode |
Bitmask type for peer verification.
Definition at line 112 of file context_base.hpp.
File format types.
Definition at line 102 of file context_base.hpp.
Different methods supported by a context.
Definition at line 36 of file context_base.hpp.
Purpose of PEM password.
for_reading |
The password is needed for reading/decryption. |
for_writing |
The password is needed for writing/encryption. |
Definition at line 137 of file context_base.hpp.
asio::ssl::context_base::~context_base | ( | ) | [inline, protected] |
Protected destructor to prevent deletion through this type.
Definition at line 148 of file context_base.hpp.
asio::ssl::context_base::BOOST_STATIC_CONSTANT | ( | int | , |
default_workarounds | = SSL_OP_ALL |
||
) |
asio::ssl::context_base::BOOST_STATIC_CONSTANT | ( | int | , |
single_dh_use | = SSL_OP_SINGLE_DH_USE |
||
) |
asio::ssl::context_base::BOOST_STATIC_CONSTANT | ( | int | , |
no_sslv2 | = SSL_OP_NO_SSLv2 |
||
) |
asio::ssl::context_base::BOOST_STATIC_CONSTANT | ( | int | , |
no_sslv3 | = SSL_OP_NO_SSLv3 |
||
) |
asio::ssl::context_base::BOOST_STATIC_CONSTANT | ( | int | , |
no_tlsv1 | = SSL_OP_NO_TLSv1 |
||
) |
asio::ssl::context_base::BOOST_STATIC_CONSTANT | ( | int | , |
verify_none | = SSL_VERIFY_NONE |
||
) |
asio::ssl::context_base::BOOST_STATIC_CONSTANT | ( | int | , |
verify_peer | = SSL_VERIFY_PEER |
||
) |
asio::ssl::context_base::BOOST_STATIC_CONSTANT | ( | int | , |
verify_fail_if_no_peer_cert | = SSL_VERIFY_FAIL_IF_NO_PEER_CERT |
||
) |
asio::ssl::context_base::BOOST_STATIC_CONSTANT | ( | int | , |
verify_client_once | = SSL_VERIFY_CLIENT_ONCE |
||
) |