21 #ifdef HZ_BUILD_WITH_SSL 
   22 #include <boost/asio/ssl/context.hpp> 
   25 #include "hazelcast/util/export.h" 
   27 #if  defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) 
   29 #pragma warning(disable: 4251)  
   34         namespace internal { 
namespace socket { 
class SocketFactory; }}
 
   36 #ifdef HZ_BUILD_WITH_SSL 
   38             enum HAZELCAST_API ssl_protocol {
 
   65 #ifdef HZ_BUILD_WITH_SSL 
   71                 ssl_config &set_context(boost::asio::ssl::context context);
 
   78                 bool is_enabled() 
const;
 
   96                 ssl_config &set_protocol(ssl_protocol protocol);
 
  103                 ssl_protocol get_protocol() 
const;
 
  110                 const std::vector<std::string> &get_verify_files() 
const;
 
  122                 ssl_config &add_verify_file(
const std::string &filename);
 
  127                 const std::string &get_cipher_list() 
const;
 
  139                 ssl_config &set_cipher_list(
const std::string &ciphers);
 
  142                 friend class internal::socket::SocketFactory;
 
  145                 ssl_protocol ssl_protocol_;
 
  146                 std::vector<std::string> client_verify_files_;
 
  147                 std::string cipher_list_;
 
  148                 std::shared_ptr<boost::asio::ssl::context> ssl_context_;
 
  149                 void check_context_enabled_already() 
const;
 
  156 #if  defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) 
Contains configuration parameters for ssl related behaviour.