Warning, file /include/boost/asio/ssl/verify_context.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef BOOST_ASIO_SSL_VERIFY_CONTEXT_HPP
0012 #define BOOST_ASIO_SSL_VERIFY_CONTEXT_HPP
0013
0014 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
0015 # pragma once
0016 #endif
0017
0018 #include <boost/asio/detail/config.hpp>
0019
0020 #include <boost/asio/detail/noncopyable.hpp>
0021 #include <boost/asio/ssl/detail/openssl_types.hpp>
0022
0023 #include <boost/asio/detail/push_options.hpp>
0024
0025 namespace boost {
0026 namespace asio {
0027 namespace ssl {
0028
0029
0030
0031
0032
0033
0034 class verify_context
0035 : private noncopyable
0036 {
0037 public:
0038
0039 typedef X509_STORE_CTX* native_handle_type;
0040
0041
0042 explicit verify_context(native_handle_type handle)
0043 : handle_(handle)
0044 {
0045 }
0046
0047
0048
0049
0050
0051
0052
0053 native_handle_type native_handle()
0054 {
0055 return handle_;
0056 }
0057
0058 private:
0059
0060 native_handle_type handle_;
0061 };
0062
0063 }
0064 }
0065 }
0066
0067 #include <boost/asio/detail/pop_options.hpp>
0068
0069 #endif