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. More...
#include <context_base.hpp>
Public Types | |
enum | method { sslv2, sslv2_client, sslv2_server, sslv3, sslv3_client, sslv3_server, tlsv1, tlsv1_client, tlsv1_server, sslv23, sslv23_client, sslv23_server, tlsv11, tlsv11_client, tlsv11_server, tlsv12, tlsv12_client, tlsv12_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 long | options |
Bitmask type for SSL options. More... | |
typedef int | verify_mode |
Public Member Functions | |
BOOST_ASIO_STATIC_CONSTANT (long, default_workarounds=SSL_OP_ALL) | |
BOOST_ASIO_STATIC_CONSTANT (long, single_dh_use=SSL_OP_SINGLE_DH_USE) | |
BOOST_ASIO_STATIC_CONSTANT (long, no_sslv2=SSL_OP_NO_SSLv2) | |
BOOST_ASIO_STATIC_CONSTANT (long, no_sslv3=SSL_OP_NO_SSLv3) | |
BOOST_ASIO_STATIC_CONSTANT (long, no_tlsv1=SSL_OP_NO_TLSv1) | |
BOOST_ASIO_STATIC_CONSTANT (long, no_compression=0x20000L) | |
BOOST_ASIO_STATIC_CONSTANT (int, verify_none=SSL_VERIFY_NONE) | |
BOOST_ASIO_STATIC_CONSTANT (int, verify_peer=SSL_VERIFY_PEER) | |
BOOST_ASIO_STATIC_CONSTANT (int, verify_fail_if_no_peer_cert=SSL_VERIFY_FAIL_IF_NO_PEER_CERT) | |
BOOST_ASIO_STATIC_CONSTANT (int, verify_client_once=SSL_VERIFY_CLIENT_ONCE) | |
Protected Member Functions | |
~context_base () | |
Protected destructor to prevent deletion through this type. More... | |
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.
typedef long boost::asio::ssl::context_base::options |
Bitmask type for SSL options.
typedef int boost::asio::ssl::context_base::verify_mode |
Different methods supported by a context.
|
inlineprotected |
Protected destructor to prevent deletion through this type.
boost::asio::ssl::context_base::BOOST_ASIO_STATIC_CONSTANT | ( | long | , |
default_workarounds | = SSL_OP_ALL |
||
) |
boost::asio::ssl::context_base::BOOST_ASIO_STATIC_CONSTANT | ( | long | , |
single_dh_use | = SSL_OP_SINGLE_DH_USE |
||
) |
boost::asio::ssl::context_base::BOOST_ASIO_STATIC_CONSTANT | ( | long | , |
no_sslv2 | = SSL_OP_NO_SSLv2 |
||
) |
boost::asio::ssl::context_base::BOOST_ASIO_STATIC_CONSTANT | ( | long | , |
no_sslv3 | = SSL_OP_NO_SSLv3 |
||
) |
boost::asio::ssl::context_base::BOOST_ASIO_STATIC_CONSTANT | ( | long | , |
no_tlsv1 | = SSL_OP_NO_TLSv1 |
||
) |
boost::asio::ssl::context_base::BOOST_ASIO_STATIC_CONSTANT | ( | long | , |
no_compression | = 0x20000L |
||
) |
boost::asio::ssl::context_base::BOOST_ASIO_STATIC_CONSTANT | ( | int | , |
verify_none | = SSL_VERIFY_NONE |
||
) |
boost::asio::ssl::context_base::BOOST_ASIO_STATIC_CONSTANT | ( | int | , |
verify_peer | = SSL_VERIFY_PEER |
||
) |
boost::asio::ssl::context_base::BOOST_ASIO_STATIC_CONSTANT | ( | int | , |
verify_fail_if_no_peer_cert | = SSL_VERIFY_FAIL_IF_NO_PEER_CERT |
||
) |
boost::asio::ssl::context_base::BOOST_ASIO_STATIC_CONSTANT | ( | int | , |
verify_client_once | = SSL_VERIFY_CLIENT_ONCE |
||
) |