11 #ifndef ASIO_SSL_CONTEXT_BASE_HPP 12 #define ASIO_SSL_CONTEXT_BASE_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 92 #if defined(GENERATING_DOCUMENTATION) 93 static const long default_workarounds = implementation_defined;
97 static const long single_dh_use = implementation_defined;
100 static const long no_sslv2 = implementation_defined;
103 static const long no_sslv3 = implementation_defined;
106 static const long no_tlsv1 = implementation_defined;
109 static const long no_tlsv1_1 = implementation_defined;
112 static const long no_tlsv1_2 = implementation_defined;
115 static const long no_compression = implementation_defined;
122 # if defined(SSL_OP_NO_TLSv1_1) 124 # else // defined(SSL_OP_NO_TLSv1_1) 126 # endif // defined(SSL_OP_NO_TLSv1_1) 127 # if defined(SSL_OP_NO_TLSv1_2) 129 # else // defined(SSL_OP_NO_TLSv1_2) 131 # endif // defined(SSL_OP_NO_TLSv1_2) 132 # if defined(SSL_OP_NO_COMPRESSION) 134 # else // defined(SSL_OP_NO_COMPRESSION) 136 # endif // defined(SSL_OP_NO_COMPRESSION) 149 #if !defined(GENERATING_DOCUMENTATION) 183 #endif // ASIO_SSL_CONTEXT_BASE_HPP The password is needed for reading/decryption.
const int verify_client_once
ASIO_STATIC_CONSTANT(long, default_workarounds=SSL_OP_ALL)
~context_base()
Protected destructor to prevent deletion through this type.
method
Different methods supported by a context.
password_purpose
Purpose of PEM password.
The password is needed for writing/encryption.
long options
Bitmask type for SSL options.
const int verify_fail_if_no_peer_cert
file_format
File format types.