#include <HTTPClientSSLContext.h>
 | 
|   | HTTPClientSSLContext (std::string const &sslVerifyDir, std::string const &sslVerifyFile, bool sslVerify, beast::Journal j, boost::asio::ssl::context_base::method method=boost::asio::ssl::context::sslv23) | 
|   | 
| boost::asio::ssl::context &  | context () | 
|   | 
| bool  | sslVerify () const | 
|   | 
| template<class T , class  = std::enable_if_t<            std::is_same<                T,                boost::asio::ssl::stream<boost::asio::ip::tcp::socket>>::                value ||            std::is_same<                T,                boost::asio::ssl::stream<boost::asio::ip::tcp::socket&>>::                value>>  | 
| boost::system::error_code  | preConnectVerify (T &strm, std::string const &host) | 
|   | invoked before connect/async_connect on an ssl stream to setup name verification.  
  | 
|   | 
| template<class T , class  = std::enable_if_t<            std::is_same<                T,                boost::asio::ssl::stream<boost::asio::ip::tcp::socket>>::                value ||            std::is_same<                T,                boost::asio::ssl::stream<boost::asio::ip::tcp::socket&>>::                value>>  | 
| boost::system::error_code  | postConnectVerify (T &strm, std::string const &host) | 
|   | invoked after connect/async_connect but before sending data on an ssl stream - to setup name verification.  
  | 
|   | 
 | 
| static bool  | rfc6125_verify (std::string const &domain, bool preverified, boost::asio::ssl::verify_context &ctx, beast::Journal j) | 
|   | callback invoked for name verification - just passes through to the asio host_name_verification (rfc6125) implementation.  
  | 
|   | 
Definition at line 35 of file HTTPClientSSLContext.h.
 
◆ HTTPClientSSLContext()
  
  
      
        
          | ripple::HTTPClientSSLContext::HTTPClientSSLContext  | 
          ( | 
          std::string const &  | 
          sslVerifyDir,  | 
         
        
           | 
           | 
          std::string const &  | 
          sslVerifyFile,  | 
         
        
           | 
           | 
          bool  | 
          sslVerify,  | 
         
        
           | 
           | 
          beast::Journal  | 
          j,  | 
         
        
           | 
           | 
          boost::asio::ssl::context_base::method  | 
          method = boost::asio::ssl::context::sslv23  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
explicit   | 
  
 
 
◆ context()
      
        
          | boost::asio::ssl::context & ripple::HTTPClientSSLContext::context  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ sslVerify()
      
        
          | bool ripple::HTTPClientSSLContext::sslVerify  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ preConnectVerify()
template<class T , class  = std::enable_if_t<            std::is_same<                T,                boost::asio::ssl::stream<boost::asio::ip::tcp::socket>>::                value ||            std::is_same<                T,                boost::asio::ssl::stream<boost::asio::ip::tcp::socket&>>::                value>> 
      
        
          | boost::system::error_code ripple::HTTPClientSSLContext::preConnectVerify  | 
          ( | 
          T &  | 
          strm,  | 
        
        
           | 
           | 
          std::string const &  | 
          host  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
invoked before connect/async_connect on an ssl stream to setup name verification. 
If we intend to verify the SSL connection, we need to set the default domain for server name indication prior to connecting
- Parameters
 - 
  
    | strm | asio ssl stream  | 
    | host | hostname to verify | 
  
   
- Returns
 - error_code indicating failures, if any 
 
Definition at line 110 of file HTTPClientSSLContext.h.
 
 
◆ postConnectVerify()
template<class T , class  = std::enable_if_t<            std::is_same<                T,                boost::asio::ssl::stream<boost::asio::ip::tcp::socket>>::                value ||            std::is_same<                T,                boost::asio::ssl::stream<boost::asio::ip::tcp::socket&>>::                value>> 
      
        
          | boost::system::error_code ripple::HTTPClientSSLContext::postConnectVerify  | 
          ( | 
          T &  | 
          strm,  | 
        
        
           | 
           | 
          std::string const &  | 
          host  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
invoked after connect/async_connect but before sending data on an ssl stream - to setup name verification. 
- Parameters
 - 
  
    | strm | asio ssl stream  | 
    | host | hostname to verify  | 
  
   
Definition at line 145 of file HTTPClientSSLContext.h.
 
 
◆ rfc6125_verify()
  
  
      
        
          | static bool ripple::HTTPClientSSLContext::rfc6125_verify  | 
          ( | 
          std::string const &  | 
          domain,  | 
         
        
           | 
           | 
          bool  | 
          preverified,  | 
         
        
           | 
           | 
          boost::asio::ssl::verify_context &  | 
          ctx,  | 
         
        
           | 
           | 
          beast::Journal  | 
          j  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
callback invoked for name verification - just passes through to the asio host_name_verification (rfc6125) implementation. 
- Parameters
 - 
  
    | domain | hostname expected  | 
    | preverified | passed by implementation  | 
    | ctx | passed by implementation  | 
    | j | journal for logging  | 
  
   
Definition at line 178 of file HTTPClientSSLContext.h.
 
 
◆ ssl_context_
  
  
      
        
          | boost::asio::ssl::context ripple::HTTPClientSSLContext::ssl_context_ | 
         
       
   | 
  
private   | 
  
 
 
◆ j_
◆ verify_
  
  
      
        
          | bool const ripple::HTTPClientSSLContext::verify_ | 
         
       
   | 
  
private   |