Realistic 3D camera system
3D camera system components
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
asio-1.10.6
include
asio
ssl
verify_context.hpp
Go to the documentation of this file.
1
//
2
// ssl/verify_context.hpp
3
// ~~~~~~~~~~~~~~~~~~~~~~
4
//
5
// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6
//
7
// Distributed under the Boost Software License, Version 1.0. (See accompanying
8
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9
//
10
11
#ifndef ASIO_SSL_VERIFY_CONTEXT_HPP
12
#define ASIO_SSL_VERIFY_CONTEXT_HPP
13
14
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
15
# pragma once
16
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17
18
#include "
asio/detail/config.hpp
"
19
20
#if !defined(ASIO_ENABLE_OLD_SSL)
21
# include "
asio/detail/noncopyable.hpp
"
22
# include "
asio/ssl/detail/openssl_types.hpp
"
23
#endif // !defined(ASIO_ENABLE_OLD_SSL)
24
25
#include "
asio/detail/push_options.hpp
"
26
27
namespace
asio
{
28
namespace
ssl {
29
30
#if !defined(ASIO_ENABLE_OLD_SSL)
31
34
37
class
verify_context
38
:
private
noncopyable
39
{
40
public
:
42
typedef
X509_STORE_CTX*
native_handle_type
;
43
45
explicit
verify_context
(native_handle_type handle)
46
: handle_(handle)
47
{
48
}
49
51
56
native_handle_type
native_handle
()
57
{
58
return
handle_;
59
}
60
61
private
:
62
// The underlying native implementation.
63
native_handle_type handle_;
64
};
65
66
#endif // defined(ASIO_ENABLE_OLD_SSL)
67
68
}
// namespace ssl
69
}
// namespace asio
70
71
#include "
asio/detail/pop_options.hpp
"
72
73
#endif // ASIO_SSL_VERIFY_CONTEXT_HPP
asio::ssl::verify_context::native_handle
native_handle_type native_handle()
Get the underlying implementation in the native type.
Definition:
verify_context.hpp:56
asio::ssl::verify_context::verify_context
verify_context(native_handle_type handle)
Constructor.
Definition:
verify_context.hpp:45
config.hpp
asio::detail::noncopyable
Definition:
noncopyable.hpp:25
asio::ssl::verify_context::native_handle_type
X509_STORE_CTX * native_handle_type
The native handle type of the verification context.
Definition:
verify_context.hpp:42
push_options.hpp
openssl_types.hpp
pop_options.hpp
noncopyable.hpp
asio::ssl::verify_context
Definition:
verify_context.hpp:37
asio
Definition:
async_result.hpp:23
Generated by
1.8.11