[DEV] add v1.76.0

This commit is contained in:
2021-10-05 21:37:46 +02:00
parent a97e9ae7d4
commit d0115b733d
45133 changed files with 4744437 additions and 1026325 deletions

View File

@@ -0,0 +1,50 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::~context</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="use_tmp_dh_file/overload2.html" title="ssl::context::use_tmp_dh_file (2 of 2 overloads)">
<link rel="next" href="../ssl__context_base.html" title="ssl::context_base">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="use_tmp_dh_file/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../ssl__context_base.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context._context"></a><a class="link" href="_context.html" title="ssl::context::~context">ssl::context::~context</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context._context"></a>
Destructor.
</p>
<pre class="programlisting">~context();
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="use_tmp_dh_file/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../ssl__context_base.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,58 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::add_certificate_authority</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="../ssl__context.html" title="ssl::context">
<link rel="next" href="add_certificate_authority/overload1.html" title="ssl::context::add_certificate_authority (1 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../ssl__context.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="add_certificate_authority/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.add_certificate_authority"></a><a class="link" href="add_certificate_authority.html" title="ssl::context::add_certificate_authority">ssl::context::add_certificate_authority</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.add_certificate_authority"></a>
Add
certification authority for performing verification.
</p>
<pre class="programlisting">void <a class="link" href="add_certificate_authority/overload1.html" title="ssl::context::add_certificate_authority (1 of 2 overloads)">add_certificate_authority</a>(
const const_buffer &amp; ca);
<span class="emphasis"><em>» <a class="link" href="add_certificate_authority/overload1.html" title="ssl::context::add_certificate_authority (1 of 2 overloads)">more...</a></em></span>
void <a class="link" href="add_certificate_authority/overload2.html" title="ssl::context::add_certificate_authority (2 of 2 overloads)">add_certificate_authority</a>(
const const_buffer &amp; ca,
boost::system::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="add_certificate_authority/overload2.html" title="ssl::context::add_certificate_authority (2 of 2 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../ssl__context.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="add_certificate_authority/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,89 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::add_certificate_authority (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../add_certificate_authority.html" title="ssl::context::add_certificate_authority">
<link rel="prev" href="../add_certificate_authority.html" title="ssl::context::add_certificate_authority">
<link rel="next" href="overload2.html" title="ssl::context::add_certificate_authority (2 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../add_certificate_authority.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../add_certificate_authority.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.add_certificate_authority.overload1"></a><a class="link" href="overload1.html" title="ssl::context::add_certificate_authority (1 of 2 overloads)">ssl::context::add_certificate_authority
(1 of 2 overloads)</a>
</h5></div></div></div>
<p>
Add certification authority for performing verification.
</p>
<pre class="programlisting">void add_certificate_authority(
const const_buffer &amp; ca);
</pre>
<p>
This function is used to add one trusted certification authority from
a memory buffer.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.add_certificate_authority.overload1.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.add_certificate_authority.overload1.parameters"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.add_certificate_authority.overload1.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">ca</span></dt>
<dd><p>
The buffer containing the certification authority certificate.
The certificate must use the PEM format.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.add_certificate_authority.overload1.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.add_certificate_authority.overload1.exceptions"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.add_certificate_authority.overload1.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">boost::system::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.add_certificate_authority.overload1.h2"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.add_certificate_authority.overload1.remarks"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.add_certificate_authority.overload1.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_get_cert_store</code> and <code class="computeroutput">X509_STORE_add_cert</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../add_certificate_authority.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../add_certificate_authority.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,81 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::add_certificate_authority (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../add_certificate_authority.html" title="ssl::context::add_certificate_authority">
<link rel="prev" href="overload1.html" title="ssl::context::add_certificate_authority (1 of 2 overloads)">
<link rel="next" href="../add_verify_path.html" title="ssl::context::add_verify_path">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../add_certificate_authority.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../add_verify_path.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.add_certificate_authority.overload2"></a><a class="link" href="overload2.html" title="ssl::context::add_certificate_authority (2 of 2 overloads)">ssl::context::add_certificate_authority
(2 of 2 overloads)</a>
</h5></div></div></div>
<p>
Add certification authority for performing verification.
</p>
<pre class="programlisting">void add_certificate_authority(
const const_buffer &amp; ca,
boost::system::error_code &amp; ec);
</pre>
<p>
This function is used to add one trusted certification authority from
a memory buffer.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.add_certificate_authority.overload2.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.add_certificate_authority.overload2.parameters"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.add_certificate_authority.overload2.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">ca</span></dt>
<dd><p>
The buffer containing the certification authority certificate.
The certificate must use the PEM format.
</p></dd>
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.add_certificate_authority.overload2.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.add_certificate_authority.overload2.remarks"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.add_certificate_authority.overload2.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_get_cert_store</code> and <code class="computeroutput">X509_STORE_add_cert</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../add_certificate_authority.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../add_verify_path.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,59 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::add_verify_path</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="add_certificate_authority/overload2.html" title="ssl::context::add_certificate_authority (2 of 2 overloads)">
<link rel="next" href="add_verify_path/overload1.html" title="ssl::context::add_verify_path (1 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="add_certificate_authority/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="add_verify_path/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.add_verify_path"></a><a class="link" href="add_verify_path.html" title="ssl::context::add_verify_path">ssl::context::add_verify_path</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.add_verify_path"></a>
Add
a directory containing certificate authority files to be used for performing
verification.
</p>
<pre class="programlisting">void <a class="link" href="add_verify_path/overload1.html" title="ssl::context::add_verify_path (1 of 2 overloads)">add_verify_path</a>(
const std::string &amp; path);
<span class="emphasis"><em>» <a class="link" href="add_verify_path/overload1.html" title="ssl::context::add_verify_path (1 of 2 overloads)">more...</a></em></span>
void <a class="link" href="add_verify_path/overload2.html" title="ssl::context::add_verify_path (2 of 2 overloads)">add_verify_path</a>(
const std::string &amp; path,
boost::system::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="add_verify_path/overload2.html" title="ssl::context::add_verify_path (2 of 2 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="add_certificate_authority/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="add_verify_path/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,91 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::add_verify_path (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../add_verify_path.html" title="ssl::context::add_verify_path">
<link rel="prev" href="../add_verify_path.html" title="ssl::context::add_verify_path">
<link rel="next" href="overload2.html" title="ssl::context::add_verify_path (2 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../add_verify_path.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../add_verify_path.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.add_verify_path.overload1"></a><a class="link" href="overload1.html" title="ssl::context::add_verify_path (1 of 2 overloads)">ssl::context::add_verify_path
(1 of 2 overloads)</a>
</h5></div></div></div>
<p>
Add a directory containing certificate authority files to be used for
performing verification.
</p>
<pre class="programlisting">void add_verify_path(
const std::string &amp; path);
</pre>
<p>
This function is used to specify the name of a directory containing certification
authority certificates. Each file in the directory must contain a single
certificate. The files must be named using the subject name's hash and
an extension of ".0".
</p>
<h6>
<a name="boost_asio.reference.ssl__context.add_verify_path.overload1.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.add_verify_path.overload1.parameters"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.add_verify_path.overload1.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">path</span></dt>
<dd><p>
The name of a directory containing the certificates.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.add_verify_path.overload1.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.add_verify_path.overload1.exceptions"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.add_verify_path.overload1.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">boost::system::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.add_verify_path.overload1.h2"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.add_verify_path.overload1.remarks"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.add_verify_path.overload1.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_load_verify_locations</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../add_verify_path.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../add_verify_path.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,83 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::add_verify_path (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../add_verify_path.html" title="ssl::context::add_verify_path">
<link rel="prev" href="overload1.html" title="ssl::context::add_verify_path (1 of 2 overloads)">
<link rel="next" href="../clear_options.html" title="ssl::context::clear_options">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../add_verify_path.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../clear_options.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.add_verify_path.overload2"></a><a class="link" href="overload2.html" title="ssl::context::add_verify_path (2 of 2 overloads)">ssl::context::add_verify_path
(2 of 2 overloads)</a>
</h5></div></div></div>
<p>
Add a directory containing certificate authority files to be used for
performing verification.
</p>
<pre class="programlisting">void add_verify_path(
const std::string &amp; path,
boost::system::error_code &amp; ec);
</pre>
<p>
This function is used to specify the name of a directory containing certification
authority certificates. Each file in the directory must contain a single
certificate. The files must be named using the subject name's hash and
an extension of ".0".
</p>
<h6>
<a name="boost_asio.reference.ssl__context.add_verify_path.overload2.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.add_verify_path.overload2.parameters"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.add_verify_path.overload2.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">path</span></dt>
<dd><p>
The name of a directory containing the certificates.
</p></dd>
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.add_verify_path.overload2.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.add_verify_path.overload2.remarks"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.add_verify_path.overload2.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_load_verify_locations</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../add_verify_path.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../clear_options.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,58 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::clear_options</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="add_verify_path/overload2.html" title="ssl::context::add_verify_path (2 of 2 overloads)">
<link rel="next" href="clear_options/overload1.html" title="ssl::context::clear_options (1 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="add_verify_path/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="clear_options/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.clear_options"></a><a class="link" href="clear_options.html" title="ssl::context::clear_options">ssl::context::clear_options</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.clear_options"></a>
Clear
options on the context.
</p>
<pre class="programlisting">void <a class="link" href="clear_options/overload1.html" title="ssl::context::clear_options (1 of 2 overloads)">clear_options</a>(
options o);
<span class="emphasis"><em>» <a class="link" href="clear_options/overload1.html" title="ssl::context::clear_options (1 of 2 overloads)">more...</a></em></span>
void <a class="link" href="clear_options/overload2.html" title="ssl::context::clear_options (2 of 2 overloads)">clear_options</a>(
options o,
boost::system::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="clear_options/overload2.html" title="ssl::context::clear_options (2 of 2 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="add_verify_path/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="clear_options/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,90 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::clear_options (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../clear_options.html" title="ssl::context::clear_options">
<link rel="prev" href="../clear_options.html" title="ssl::context::clear_options">
<link rel="next" href="overload2.html" title="ssl::context::clear_options (2 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../clear_options.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../clear_options.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.clear_options.overload1"></a><a class="link" href="overload1.html" title="ssl::context::clear_options (1 of 2 overloads)">ssl::context::clear_options
(1 of 2 overloads)</a>
</h5></div></div></div>
<p>
Clear options on the context.
</p>
<pre class="programlisting">void clear_options(
options o);
</pre>
<p>
This function may be used to configure the SSL options used by the context.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.clear_options.overload1.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.clear_options.overload1.parameters"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.clear_options.overload1.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">o</span></dt>
<dd><p>
A bitmask of options. The available option values are defined in
the <a class="link" href="../../ssl__context_base.html" title="ssl::context_base"><code class="computeroutput">ssl::context_base</code></a>
class. The specified options, if currently enabled on the context,
are cleared.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.clear_options.overload1.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.clear_options.overload1.exceptions"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.clear_options.overload1.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">boost::system::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.clear_options.overload1.h2"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.clear_options.overload1.remarks"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.clear_options.overload1.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_clear_options</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../clear_options.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../clear_options.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,82 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::clear_options (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../clear_options.html" title="ssl::context::clear_options">
<link rel="prev" href="overload1.html" title="ssl::context::clear_options (1 of 2 overloads)">
<link rel="next" href="../context.html" title="ssl::context::context">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../clear_options.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../context.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.clear_options.overload2"></a><a class="link" href="overload2.html" title="ssl::context::clear_options (2 of 2 overloads)">ssl::context::clear_options
(2 of 2 overloads)</a>
</h5></div></div></div>
<p>
Clear options on the context.
</p>
<pre class="programlisting">void clear_options(
options o,
boost::system::error_code &amp; ec);
</pre>
<p>
This function may be used to configure the SSL options used by the context.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.clear_options.overload2.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.clear_options.overload2.parameters"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.clear_options.overload2.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">o</span></dt>
<dd><p>
A bitmask of options. The available option values are defined in
the <a class="link" href="../../ssl__context_base.html" title="ssl::context_base"><code class="computeroutput">ssl::context_base</code></a>
class. The specified options, if currently enabled on the context,
are cleared.
</p></dd>
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.clear_options.overload2.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.clear_options.overload2.remarks"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.clear_options.overload2.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_clear_options</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../clear_options.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../context.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,66 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::context</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="clear_options/overload2.html" title="ssl::context::clear_options (2 of 2 overloads)">
<link rel="next" href="context/overload1.html" title="ssl::context::context (1 of 3 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="clear_options/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="context/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.context"></a><a class="link" href="context.html" title="ssl::context::context">ssl::context::context</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.context"></a>
Constructor.
</p>
<pre class="programlisting">explicit <a class="link" href="context/overload1.html" title="ssl::context::context (1 of 3 overloads)">context</a>(
method m);
<span class="emphasis"><em>» <a class="link" href="context/overload1.html" title="ssl::context::context (1 of 3 overloads)">more...</a></em></span>
</pre>
<p>
Construct to take ownership of a native handle.
</p>
<pre class="programlisting">explicit <a class="link" href="context/overload2.html" title="ssl::context::context (2 of 3 overloads)">context</a>(
native_handle_type native_handle);
<span class="emphasis"><em>» <a class="link" href="context/overload2.html" title="ssl::context::context (2 of 3 overloads)">more...</a></em></span>
</pre>
<p>
Move-construct a context from another.
</p>
<pre class="programlisting"><a class="link" href="context/overload3.html" title="ssl::context::context (3 of 3 overloads)">context</a>(
context &amp;&amp; other);
<span class="emphasis"><em>» <a class="link" href="context/overload3.html" title="ssl::context::context (3 of 3 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="clear_options/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="context/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,51 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::context (1 of 3 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../context.html" title="ssl::context::context">
<link rel="prev" href="../context.html" title="ssl::context::context">
<link rel="next" href="overload2.html" title="ssl::context::context (2 of 3 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../context.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../context.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.context.overload1"></a><a class="link" href="overload1.html" title="ssl::context::context (1 of 3 overloads)">ssl::context::context
(1 of 3 overloads)</a>
</h5></div></div></div>
<p>
Constructor.
</p>
<pre class="programlisting">context(
method m);
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../context.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../context.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,51 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::context (2 of 3 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../context.html" title="ssl::context::context">
<link rel="prev" href="overload1.html" title="ssl::context::context (1 of 3 overloads)">
<link rel="next" href="overload3.html" title="ssl::context::context (3 of 3 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../context.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload3.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.context.overload2"></a><a class="link" href="overload2.html" title="ssl::context::context (2 of 3 overloads)">ssl::context::context
(2 of 3 overloads)</a>
</h5></div></div></div>
<p>
Construct to take ownership of a native handle.
</p>
<pre class="programlisting">context(
native_handle_type native_handle);
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../context.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload3.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,78 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::context (3 of 3 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../context.html" title="ssl::context::context">
<link rel="prev" href="overload2.html" title="ssl::context::context (2 of 3 overloads)">
<link rel="next" href="../default_workarounds.html" title="ssl::context::default_workarounds">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload2.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../context.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../default_workarounds.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.context.overload3"></a><a class="link" href="overload3.html" title="ssl::context::context (3 of 3 overloads)">ssl::context::context
(3 of 3 overloads)</a>
</h5></div></div></div>
<p>
Move-construct a context from another.
</p>
<pre class="programlisting">context(
context &amp;&amp; other);
</pre>
<p>
This constructor moves an SSL context from one object to another.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.context.overload3.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.context.overload3.parameters"></a></span><a class="link" href="overload3.html#boost_asio.reference.ssl__context.context.overload3.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">other</span></dt>
<dd><p>
The other context object from which the move will occur.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.context.overload3.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.context.overload3.remarks"></a></span><a class="link" href="overload3.html#boost_asio.reference.ssl__context.context.overload3.remarks">Remarks</a>
</h6>
<p>
Following the move, the following operations only are valid for the moved-from
object: * Destruction.
</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
As a target for move-assignment.
</li></ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload2.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../context.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../default_workarounds.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,51 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::default_workarounds</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="context/overload3.html" title="ssl::context::context (3 of 3 overloads)">
<link rel="next" href="file_format.html" title="ssl::context::file_format">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="context/overload3.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="file_format.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.default_workarounds"></a><a class="link" href="default_workarounds.html" title="ssl::context::default_workarounds">ssl::context::default_workarounds</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.default_workarounds"></a>
Implement
various bug workarounds.
</p>
<pre class="programlisting">static const long default_workarounds = implementation_defined;
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="context/overload3.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="file_format.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,72 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::file_format</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="default_workarounds.html" title="ssl::context::default_workarounds">
<link rel="next" href="load_verify_file.html" title="ssl::context::load_verify_file">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="default_workarounds.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="load_verify_file.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.file_format"></a><a class="link" href="file_format.html" title="ssl::context::file_format">ssl::context::file_format</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.file_format"></a>
File
format types.
</p>
<pre class="programlisting">enum file_format
</pre>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.file_format.asn1"></a>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.file_format.pem"></a>
</p>
<h6>
<a name="boost_asio.reference.ssl__context.file_format.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.file_format.values"></a></span><a class="link" href="file_format.html#boost_asio.reference.ssl__context.file_format.values">Values</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">asn1</span></dt>
<dd><p>
ASN.1 file.
</p></dd>
<dt><span class="term">pem</span></dt>
<dd><p>
PEM file.
</p></dd>
</dl>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="default_workarounds.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="load_verify_file.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,58 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::load_verify_file</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="file_format.html" title="ssl::context::file_format">
<link rel="next" href="load_verify_file/overload1.html" title="ssl::context::load_verify_file (1 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="file_format.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="load_verify_file/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.load_verify_file"></a><a class="link" href="load_verify_file.html" title="ssl::context::load_verify_file">ssl::context::load_verify_file</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.load_verify_file"></a>
Load
a certification authority file for performing verification.
</p>
<pre class="programlisting">void <a class="link" href="load_verify_file/overload1.html" title="ssl::context::load_verify_file (1 of 2 overloads)">load_verify_file</a>(
const std::string &amp; filename);
<span class="emphasis"><em>» <a class="link" href="load_verify_file/overload1.html" title="ssl::context::load_verify_file (1 of 2 overloads)">more...</a></em></span>
void <a class="link" href="load_verify_file/overload2.html" title="ssl::context::load_verify_file (2 of 2 overloads)">load_verify_file</a>(
const std::string &amp; filename,
boost::system::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="load_verify_file/overload2.html" title="ssl::context::load_verify_file (2 of 2 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="file_format.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="load_verify_file/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,89 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::load_verify_file (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../load_verify_file.html" title="ssl::context::load_verify_file">
<link rel="prev" href="../load_verify_file.html" title="ssl::context::load_verify_file">
<link rel="next" href="overload2.html" title="ssl::context::load_verify_file (2 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../load_verify_file.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../load_verify_file.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.load_verify_file.overload1"></a><a class="link" href="overload1.html" title="ssl::context::load_verify_file (1 of 2 overloads)">ssl::context::load_verify_file
(1 of 2 overloads)</a>
</h5></div></div></div>
<p>
Load a certification authority file for performing verification.
</p>
<pre class="programlisting">void load_verify_file(
const std::string &amp; filename);
</pre>
<p>
This function is used to load one or more trusted certification authorities
from a file.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.load_verify_file.overload1.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.load_verify_file.overload1.parameters"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.load_verify_file.overload1.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">filename</span></dt>
<dd><p>
The name of a file containing certification authority certificates
in PEM format.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.load_verify_file.overload1.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.load_verify_file.overload1.exceptions"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.load_verify_file.overload1.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">boost::system::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.load_verify_file.overload1.h2"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.load_verify_file.overload1.remarks"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.load_verify_file.overload1.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_load_verify_locations</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../load_verify_file.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../load_verify_file.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,81 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::load_verify_file (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../load_verify_file.html" title="ssl::context::load_verify_file">
<link rel="prev" href="overload1.html" title="ssl::context::load_verify_file (1 of 2 overloads)">
<link rel="next" href="../method.html" title="ssl::context::method">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../load_verify_file.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../method.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.load_verify_file.overload2"></a><a class="link" href="overload2.html" title="ssl::context::load_verify_file (2 of 2 overloads)">ssl::context::load_verify_file
(2 of 2 overloads)</a>
</h5></div></div></div>
<p>
Load a certification authority file for performing verification.
</p>
<pre class="programlisting">void load_verify_file(
const std::string &amp; filename,
boost::system::error_code &amp; ec);
</pre>
<p>
This function is used to load the certificates for one or more trusted
certification authorities from a file.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.load_verify_file.overload2.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.load_verify_file.overload2.parameters"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.load_verify_file.overload2.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">filename</span></dt>
<dd><p>
The name of a file containing certification authority certificates
in PEM format.
</p></dd>
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.load_verify_file.overload2.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.load_verify_file.overload2.remarks"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.load_verify_file.overload2.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_load_verify_locations</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../load_verify_file.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../method.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,182 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::method</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="load_verify_file/overload2.html" title="ssl::context::load_verify_file (2 of 2 overloads)">
<link rel="next" href="native_handle.html" title="ssl::context::native_handle">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="load_verify_file/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="native_handle.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.method"></a><a class="link" href="method.html" title="ssl::context::method">ssl::context::method</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.method"></a>
Different methods
supported by a context.
</p>
<pre class="programlisting">enum method
</pre>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv2"></a>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv2_client"></a>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv2_server"></a>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv3"></a>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv3_client"></a>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv3_server"></a>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv1"></a>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv1_client"></a>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv1_server"></a>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv23"></a>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv23_client"></a>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv23_server"></a>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv11"></a>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv11_client"></a>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv11_server"></a>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv12"></a>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv12_client"></a>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv12_server"></a>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv13"></a>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv13_client"></a>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv13_server"></a>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tls"></a>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tls_client"></a>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tls_server"></a>
</p>
<h6>
<a name="boost_asio.reference.ssl__context.method.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.method.values"></a></span><a class="link" href="method.html#boost_asio.reference.ssl__context.method.values">Values</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">sslv2</span></dt>
<dd><p>
Generic SSL version 2.
</p></dd>
<dt><span class="term">sslv2_client</span></dt>
<dd><p>
SSL version 2 client.
</p></dd>
<dt><span class="term">sslv2_server</span></dt>
<dd><p>
SSL version 2 server.
</p></dd>
<dt><span class="term">sslv3</span></dt>
<dd><p>
Generic SSL version 3.
</p></dd>
<dt><span class="term">sslv3_client</span></dt>
<dd><p>
SSL version 3 client.
</p></dd>
<dt><span class="term">sslv3_server</span></dt>
<dd><p>
SSL version 3 server.
</p></dd>
<dt><span class="term">tlsv1</span></dt>
<dd><p>
Generic TLS version 1.
</p></dd>
<dt><span class="term">tlsv1_client</span></dt>
<dd><p>
TLS version 1 client.
</p></dd>
<dt><span class="term">tlsv1_server</span></dt>
<dd><p>
TLS version 1 server.
</p></dd>
<dt><span class="term">sslv23</span></dt>
<dd><p>
Generic SSL/TLS.
</p></dd>
<dt><span class="term">sslv23_client</span></dt>
<dd><p>
SSL/TLS client.
</p></dd>
<dt><span class="term">sslv23_server</span></dt>
<dd><p>
SSL/TLS server.
</p></dd>
<dt><span class="term">tlsv11</span></dt>
<dd><p>
Generic TLS version 1.1.
</p></dd>
<dt><span class="term">tlsv11_client</span></dt>
<dd><p>
TLS version 1.1 client.
</p></dd>
<dt><span class="term">tlsv11_server</span></dt>
<dd><p>
TLS version 1.1 server.
</p></dd>
<dt><span class="term">tlsv12</span></dt>
<dd><p>
Generic TLS version 1.2.
</p></dd>
<dt><span class="term">tlsv12_client</span></dt>
<dd><p>
TLS version 1.2 client.
</p></dd>
<dt><span class="term">tlsv12_server</span></dt>
<dd><p>
TLS version 1.2 server.
</p></dd>
<dt><span class="term">tlsv13</span></dt>
<dd><p>
Generic TLS version 1.3.
</p></dd>
<dt><span class="term">tlsv13_client</span></dt>
<dd><p>
TLS version 1.3 client.
</p></dd>
<dt><span class="term">tlsv13_server</span></dt>
<dd><p>
TLS version 1.3 server.
</p></dd>
<dt><span class="term">tls</span></dt>
<dd><p>
Generic TLS.
</p></dd>
<dt><span class="term">tls_client</span></dt>
<dd><p>
TLS client.
</p></dd>
<dt><span class="term">tls_server</span></dt>
<dd><p>
TLS server.
</p></dd>
</dl>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="load_verify_file/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="native_handle.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,56 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::native_handle</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="method.html" title="ssl::context::method">
<link rel="next" href="native_handle_type.html" title="ssl::context::native_handle_type">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="method.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="native_handle_type.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.native_handle"></a><a class="link" href="native_handle.html" title="ssl::context::native_handle">ssl::context::native_handle</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.native_handle"></a>
Get
the underlying implementation in the native type.
</p>
<pre class="programlisting">native_handle_type native_handle();
</pre>
<p>
This function may be used to obtain the underlying implementation of the
context. This is intended to allow access to context functionality that
is not otherwise provided.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="method.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="native_handle_type.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,61 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::native_handle_type</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="native_handle.html" title="ssl::context::native_handle">
<link rel="next" href="no_compression.html" title="ssl::context::no_compression">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="native_handle.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="no_compression.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.native_handle_type"></a><a class="link" href="native_handle_type.html" title="ssl::context::native_handle_type">ssl::context::native_handle_type</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.native_handle_type"></a>
The
native handle type of the SSL context.
</p>
<pre class="programlisting">typedef SSL_CTX * native_handle_type;
</pre>
<h6>
<a name="boost_asio.reference.ssl__context.native_handle_type.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.native_handle_type.requirements"></a></span><a class="link" href="native_handle_type.html#boost_asio.reference.ssl__context.native_handle_type.requirements">Requirements</a>
</h6>
<p>
<span class="emphasis"><em>Header: </em></span><code class="literal">boost/asio/ssl/context.hpp</code>
</p>
<p>
<span class="emphasis"><em>Convenience header: </em></span><code class="literal">boost/asio/ssl.hpp</code>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="native_handle.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="no_compression.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,51 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::no_compression</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="native_handle_type.html" title="ssl::context::native_handle_type">
<link rel="next" href="no_sslv2.html" title="ssl::context::no_sslv2">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="native_handle_type.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="no_sslv2.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.no_compression"></a><a class="link" href="no_compression.html" title="ssl::context::no_compression">ssl::context::no_compression</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.no_compression"></a>
Disable
compression. Compression is disabled by default.
</p>
<pre class="programlisting">static const long no_compression = implementation_defined;
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="native_handle_type.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="no_sslv2.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,51 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::no_sslv2</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="no_compression.html" title="ssl::context::no_compression">
<link rel="next" href="no_sslv3.html" title="ssl::context::no_sslv3">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="no_compression.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="no_sslv3.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.no_sslv2"></a><a class="link" href="no_sslv2.html" title="ssl::context::no_sslv2">ssl::context::no_sslv2</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.no_sslv2"></a>
Disable SSL
v2.
</p>
<pre class="programlisting">static const long no_sslv2 = implementation_defined;
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="no_compression.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="no_sslv3.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,51 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::no_sslv3</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="no_sslv2.html" title="ssl::context::no_sslv2">
<link rel="next" href="no_tlsv1.html" title="ssl::context::no_tlsv1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="no_sslv2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="no_tlsv1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.no_sslv3"></a><a class="link" href="no_sslv3.html" title="ssl::context::no_sslv3">ssl::context::no_sslv3</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.no_sslv3"></a>
Disable SSL
v3.
</p>
<pre class="programlisting">static const long no_sslv3 = implementation_defined;
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="no_sslv2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="no_tlsv1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,51 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::no_tlsv1</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="no_sslv3.html" title="ssl::context::no_sslv3">
<link rel="next" href="no_tlsv1_1.html" title="ssl::context::no_tlsv1_1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="no_sslv3.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="no_tlsv1_1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.no_tlsv1"></a><a class="link" href="no_tlsv1.html" title="ssl::context::no_tlsv1">ssl::context::no_tlsv1</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.no_tlsv1"></a>
Disable TLS
v1.
</p>
<pre class="programlisting">static const long no_tlsv1 = implementation_defined;
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="no_sslv3.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="no_tlsv1_1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,51 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::no_tlsv1_1</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="no_tlsv1.html" title="ssl::context::no_tlsv1">
<link rel="next" href="no_tlsv1_2.html" title="ssl::context::no_tlsv1_2">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="no_tlsv1.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="no_tlsv1_2.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.no_tlsv1_1"></a><a class="link" href="no_tlsv1_1.html" title="ssl::context::no_tlsv1_1">ssl::context::no_tlsv1_1</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.no_tlsv1_1"></a>
Disable
TLS v1.1.
</p>
<pre class="programlisting">static const long no_tlsv1_1 = implementation_defined;
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="no_tlsv1.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="no_tlsv1_2.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,51 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::no_tlsv1_2</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="no_tlsv1_1.html" title="ssl::context::no_tlsv1_1">
<link rel="next" href="no_tlsv1_3.html" title="ssl::context::no_tlsv1_3">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="no_tlsv1_1.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="no_tlsv1_3.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.no_tlsv1_2"></a><a class="link" href="no_tlsv1_2.html" title="ssl::context::no_tlsv1_2">ssl::context::no_tlsv1_2</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.no_tlsv1_2"></a>
Disable
TLS v1.2.
</p>
<pre class="programlisting">static const long no_tlsv1_2 = implementation_defined;
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="no_tlsv1_1.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="no_tlsv1_3.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,51 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::no_tlsv1_3</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="no_tlsv1_2.html" title="ssl::context::no_tlsv1_2">
<link rel="next" href="operator_eq_.html" title="ssl::context::operator=">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="no_tlsv1_2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="operator_eq_.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.no_tlsv1_3"></a><a class="link" href="no_tlsv1_3.html" title="ssl::context::no_tlsv1_3">ssl::context::no_tlsv1_3</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.no_tlsv1_3"></a>
Disable
TLS v1.3.
</p>
<pre class="programlisting">static const long no_tlsv1_3 = implementation_defined;
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="no_tlsv1_2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="operator_eq_.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,79 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::operator=</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="no_tlsv1_3.html" title="ssl::context::no_tlsv1_3">
<link rel="next" href="options.html" title="ssl::context::options">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="no_tlsv1_3.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="options.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.operator_eq_"></a><a class="link" href="operator_eq_.html" title="ssl::context::operator=">ssl::context::operator=</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.operator_eq_"></a>
Move-assign
a context from another.
</p>
<pre class="programlisting">context &amp; operator=(
context &amp;&amp; other);
</pre>
<p>
This assignment operator moves an SSL context from one object to another.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.operator_eq_.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.operator_eq_.parameters"></a></span><a class="link" href="operator_eq_.html#boost_asio.reference.ssl__context.operator_eq_.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">other</span></dt>
<dd><p>
The other context object from which the move will occur.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.operator_eq_.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.operator_eq_.remarks"></a></span><a class="link" href="operator_eq_.html#boost_asio.reference.ssl__context.operator_eq_.remarks">Remarks</a>
</h6>
<p>
Following the move, the following operations only are valid for the moved-from
object: * Destruction.
</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
As a target for move-assignment.
</li></ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="no_tlsv1_3.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="options.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,61 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::options</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="operator_eq_.html" title="ssl::context::operator=">
<link rel="next" href="password_purpose.html" title="ssl::context::password_purpose">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="operator_eq_.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="password_purpose.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.options"></a><a class="link" href="options.html" title="ssl::context::options">ssl::context::options</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.options"></a>
Bitmask type
for SSL options.
</p>
<pre class="programlisting">typedef long options;
</pre>
<h6>
<a name="boost_asio.reference.ssl__context.options.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.options.requirements"></a></span><a class="link" href="options.html#boost_asio.reference.ssl__context.options.requirements">Requirements</a>
</h6>
<p>
<span class="emphasis"><em>Header: </em></span><code class="literal">boost/asio/ssl/context.hpp</code>
</p>
<p>
<span class="emphasis"><em>Convenience header: </em></span><code class="literal">boost/asio/ssl.hpp</code>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="operator_eq_.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="password_purpose.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,72 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::password_purpose</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="options.html" title="ssl::context::options">
<link rel="next" href="set_default_verify_paths.html" title="ssl::context::set_default_verify_paths">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="options.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="set_default_verify_paths.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.password_purpose"></a><a class="link" href="password_purpose.html" title="ssl::context::password_purpose">ssl::context::password_purpose</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.password_purpose"></a>
Purpose
of PEM password.
</p>
<pre class="programlisting">enum password_purpose
</pre>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.password_purpose.for_reading"></a>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.password_purpose.for_writing"></a>
</p>
<h6>
<a name="boost_asio.reference.ssl__context.password_purpose.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.password_purpose.values"></a></span><a class="link" href="password_purpose.html#boost_asio.reference.ssl__context.password_purpose.values">Values</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">for_reading</span></dt>
<dd><p>
The password is needed for reading/decryption.
</p></dd>
<dt><span class="term">for_writing</span></dt>
<dd><p>
The password is needed for writing/encryption.
</p></dd>
</dl>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="options.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="set_default_verify_paths.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,57 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::set_default_verify_paths</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="password_purpose.html" title="ssl::context::password_purpose">
<link rel="next" href="set_default_verify_paths/overload1.html" title="ssl::context::set_default_verify_paths (1 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="password_purpose.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="set_default_verify_paths/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.set_default_verify_paths"></a><a class="link" href="set_default_verify_paths.html" title="ssl::context::set_default_verify_paths">ssl::context::set_default_verify_paths</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.set_default_verify_paths"></a>
Configures
the context to use the default directories for finding certification authority
certificates.
</p>
<pre class="programlisting">void <a class="link" href="set_default_verify_paths/overload1.html" title="ssl::context::set_default_verify_paths (1 of 2 overloads)">set_default_verify_paths</a>();
<span class="emphasis"><em>» <a class="link" href="set_default_verify_paths/overload1.html" title="ssl::context::set_default_verify_paths (1 of 2 overloads)">more...</a></em></span>
void <a class="link" href="set_default_verify_paths/overload2.html" title="ssl::context::set_default_verify_paths (2 of 2 overloads)">set_default_verify_paths</a>(
boost::system::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="set_default_verify_paths/overload2.html" title="ssl::context::set_default_verify_paths (2 of 2 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="password_purpose.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="set_default_verify_paths/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,75 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::set_default_verify_paths (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../set_default_verify_paths.html" title="ssl::context::set_default_verify_paths">
<link rel="prev" href="../set_default_verify_paths.html" title="ssl::context::set_default_verify_paths">
<link rel="next" href="overload2.html" title="ssl::context::set_default_verify_paths (2 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../set_default_verify_paths.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set_default_verify_paths.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.set_default_verify_paths.overload1"></a><a class="link" href="overload1.html" title="ssl::context::set_default_verify_paths (1 of 2 overloads)">ssl::context::set_default_verify_paths
(1 of 2 overloads)</a>
</h5></div></div></div>
<p>
Configures the context to use the default directories for finding certification
authority certificates.
</p>
<pre class="programlisting">void set_default_verify_paths();
</pre>
<p>
This function specifies that the context should use the default, system-dependent
directories for locating certification authority certificates.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.set_default_verify_paths.overload1.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_default_verify_paths.overload1.exceptions"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.set_default_verify_paths.overload1.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">boost::system::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.set_default_verify_paths.overload1.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_default_verify_paths.overload1.remarks"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.set_default_verify_paths.overload1.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_set_default_verify_paths</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../set_default_verify_paths.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set_default_verify_paths.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,76 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::set_default_verify_paths (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../set_default_verify_paths.html" title="ssl::context::set_default_verify_paths">
<link rel="prev" href="overload1.html" title="ssl::context::set_default_verify_paths (1 of 2 overloads)">
<link rel="next" href="../set_options.html" title="ssl::context::set_options">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set_default_verify_paths.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../set_options.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.set_default_verify_paths.overload2"></a><a class="link" href="overload2.html" title="ssl::context::set_default_verify_paths (2 of 2 overloads)">ssl::context::set_default_verify_paths
(2 of 2 overloads)</a>
</h5></div></div></div>
<p>
Configures the context to use the default directories for finding certification
authority certificates.
</p>
<pre class="programlisting">void set_default_verify_paths(
boost::system::error_code &amp; ec);
</pre>
<p>
This function specifies that the context should use the default, system-dependent
directories for locating certification authority certificates.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.set_default_verify_paths.overload2.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_default_verify_paths.overload2.parameters"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.set_default_verify_paths.overload2.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.set_default_verify_paths.overload2.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_default_verify_paths.overload2.remarks"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.set_default_verify_paths.overload2.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_set_default_verify_paths</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set_default_verify_paths.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../set_options.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,58 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::set_options</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="set_default_verify_paths/overload2.html" title="ssl::context::set_default_verify_paths (2 of 2 overloads)">
<link rel="next" href="set_options/overload1.html" title="ssl::context::set_options (1 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="set_default_verify_paths/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="set_options/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.set_options"></a><a class="link" href="set_options.html" title="ssl::context::set_options">ssl::context::set_options</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.set_options"></a>
Set
options on the context.
</p>
<pre class="programlisting">void <a class="link" href="set_options/overload1.html" title="ssl::context::set_options (1 of 2 overloads)">set_options</a>(
options o);
<span class="emphasis"><em>» <a class="link" href="set_options/overload1.html" title="ssl::context::set_options (1 of 2 overloads)">more...</a></em></span>
void <a class="link" href="set_options/overload2.html" title="ssl::context::set_options (2 of 2 overloads)">set_options</a>(
options o,
boost::system::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="set_options/overload2.html" title="ssl::context::set_options (2 of 2 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="set_default_verify_paths/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="set_options/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,90 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::set_options (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../set_options.html" title="ssl::context::set_options">
<link rel="prev" href="../set_options.html" title="ssl::context::set_options">
<link rel="next" href="overload2.html" title="ssl::context::set_options (2 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../set_options.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set_options.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.set_options.overload1"></a><a class="link" href="overload1.html" title="ssl::context::set_options (1 of 2 overloads)">ssl::context::set_options
(1 of 2 overloads)</a>
</h5></div></div></div>
<p>
Set options on the context.
</p>
<pre class="programlisting">void set_options(
options o);
</pre>
<p>
This function may be used to configure the SSL options used by the context.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.set_options.overload1.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_options.overload1.parameters"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.set_options.overload1.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">o</span></dt>
<dd><p>
A bitmask of options. The available option values are defined in
the <a class="link" href="../../ssl__context_base.html" title="ssl::context_base"><code class="computeroutput">ssl::context_base</code></a>
class. The options are bitwise-ored with any existing value for
the options.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.set_options.overload1.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_options.overload1.exceptions"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.set_options.overload1.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">boost::system::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.set_options.overload1.h2"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_options.overload1.remarks"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.set_options.overload1.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_set_options</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../set_options.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set_options.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,82 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::set_options (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../set_options.html" title="ssl::context::set_options">
<link rel="prev" href="overload1.html" title="ssl::context::set_options (1 of 2 overloads)">
<link rel="next" href="../set_password_callback.html" title="ssl::context::set_password_callback">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set_options.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../set_password_callback.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.set_options.overload2"></a><a class="link" href="overload2.html" title="ssl::context::set_options (2 of 2 overloads)">ssl::context::set_options
(2 of 2 overloads)</a>
</h5></div></div></div>
<p>
Set options on the context.
</p>
<pre class="programlisting">void set_options(
options o,
boost::system::error_code &amp; ec);
</pre>
<p>
This function may be used to configure the SSL options used by the context.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.set_options.overload2.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_options.overload2.parameters"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.set_options.overload2.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">o</span></dt>
<dd><p>
A bitmask of options. The available option values are defined in
the <a class="link" href="../../ssl__context_base.html" title="ssl::context_base"><code class="computeroutput">ssl::context_base</code></a>
class. The options are bitwise-ored with any existing value for
the options.
</p></dd>
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.set_options.overload2.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_options.overload2.remarks"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.set_options.overload2.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_set_options</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set_options.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../set_password_callback.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,62 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::set_password_callback</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="set_options/overload2.html" title="ssl::context::set_options (2 of 2 overloads)">
<link rel="next" href="set_password_callback/overload1.html" title="ssl::context::set_password_callback (1 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="set_options/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="set_password_callback/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.set_password_callback"></a><a class="link" href="set_password_callback.html" title="ssl::context::set_password_callback">ssl::context::set_password_callback</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.set_password_callback"></a>
Set
the password callback.
</p>
<pre class="programlisting">template&lt;
typename PasswordCallback&gt;
void <a class="link" href="set_password_callback/overload1.html" title="ssl::context::set_password_callback (1 of 2 overloads)">set_password_callback</a>(
PasswordCallback callback);
<span class="emphasis"><em>» <a class="link" href="set_password_callback/overload1.html" title="ssl::context::set_password_callback (1 of 2 overloads)">more...</a></em></span>
template&lt;
typename PasswordCallback&gt;
void <a class="link" href="set_password_callback/overload2.html" title="ssl::context::set_password_callback (2 of 2 overloads)">set_password_callback</a>(
PasswordCallback callback,
boost::system::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="set_password_callback/overload2.html" title="ssl::context::set_password_callback (2 of 2 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="set_options/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="set_password_callback/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,101 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::set_password_callback (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../set_password_callback.html" title="ssl::context::set_password_callback">
<link rel="prev" href="../set_password_callback.html" title="ssl::context::set_password_callback">
<link rel="next" href="overload2.html" title="ssl::context::set_password_callback (2 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../set_password_callback.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set_password_callback.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.set_password_callback.overload1"></a><a class="link" href="overload1.html" title="ssl::context::set_password_callback (1 of 2 overloads)">ssl::context::set_password_callback
(1 of 2 overloads)</a>
</h5></div></div></div>
<p>
Set the password callback.
</p>
<pre class="programlisting">template&lt;
typename PasswordCallback&gt;
void set_password_callback(
PasswordCallback callback);
</pre>
<p>
This function is used to specify a callback function to obtain password
information about an encrypted key in PEM format.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.set_password_callback.overload1.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_password_callback.overload1.parameters"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.set_password_callback.overload1.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">callback</span></dt>
<dd>
<p>
The function object to be used for obtaining the password. The
function signature of the handler must be:
</p>
<pre class="programlisting">std::string password_callback(
std::size_t max_length, // The maximum size for a password.
password_purpose purpose // Whether password is for reading or writing.
);
</pre>
<p>
The return value of the callback is a string containing the password.
</p>
</dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.set_password_callback.overload1.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_password_callback.overload1.exceptions"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.set_password_callback.overload1.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">boost::system::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.set_password_callback.overload1.h2"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_password_callback.overload1.remarks"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.set_password_callback.overload1.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_set_default_passwd_cb</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../set_password_callback.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set_password_callback.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,93 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::set_password_callback (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../set_password_callback.html" title="ssl::context::set_password_callback">
<link rel="prev" href="overload1.html" title="ssl::context::set_password_callback (1 of 2 overloads)">
<link rel="next" href="../set_verify_callback.html" title="ssl::context::set_verify_callback">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set_password_callback.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../set_verify_callback.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.set_password_callback.overload2"></a><a class="link" href="overload2.html" title="ssl::context::set_password_callback (2 of 2 overloads)">ssl::context::set_password_callback
(2 of 2 overloads)</a>
</h5></div></div></div>
<p>
Set the password callback.
</p>
<pre class="programlisting">template&lt;
typename PasswordCallback&gt;
void set_password_callback(
PasswordCallback callback,
boost::system::error_code &amp; ec);
</pre>
<p>
This function is used to specify a callback function to obtain password
information about an encrypted key in PEM format.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.set_password_callback.overload2.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_password_callback.overload2.parameters"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.set_password_callback.overload2.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">callback</span></dt>
<dd>
<p>
The function object to be used for obtaining the password. The
function signature of the handler must be:
</p>
<pre class="programlisting">std::string password_callback(
std::size_t max_length, // The maximum size for a password.
password_purpose purpose // Whether password is for reading or writing.
);
</pre>
<p>
The return value of the callback is a string containing the password.
</p>
</dd>
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.set_password_callback.overload2.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_password_callback.overload2.remarks"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.set_password_callback.overload2.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_set_default_passwd_cb</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set_password_callback.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../set_verify_callback.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,62 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::set_verify_callback</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="set_password_callback/overload2.html" title="ssl::context::set_password_callback (2 of 2 overloads)">
<link rel="next" href="set_verify_callback/overload1.html" title="ssl::context::set_verify_callback (1 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="set_password_callback/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="set_verify_callback/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.set_verify_callback"></a><a class="link" href="set_verify_callback.html" title="ssl::context::set_verify_callback">ssl::context::set_verify_callback</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.set_verify_callback"></a>
Set
the callback used to verify peer certificates.
</p>
<pre class="programlisting">template&lt;
typename VerifyCallback&gt;
void <a class="link" href="set_verify_callback/overload1.html" title="ssl::context::set_verify_callback (1 of 2 overloads)">set_verify_callback</a>(
VerifyCallback callback);
<span class="emphasis"><em>» <a class="link" href="set_verify_callback/overload1.html" title="ssl::context::set_verify_callback (1 of 2 overloads)">more...</a></em></span>
template&lt;
typename VerifyCallback&gt;
void <a class="link" href="set_verify_callback/overload2.html" title="ssl::context::set_verify_callback (2 of 2 overloads)">set_verify_callback</a>(
VerifyCallback callback,
boost::system::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="set_verify_callback/overload2.html" title="ssl::context::set_verify_callback (2 of 2 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="set_password_callback/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="set_verify_callback/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,102 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::set_verify_callback (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../set_verify_callback.html" title="ssl::context::set_verify_callback">
<link rel="prev" href="../set_verify_callback.html" title="ssl::context::set_verify_callback">
<link rel="next" href="overload2.html" title="ssl::context::set_verify_callback (2 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../set_verify_callback.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set_verify_callback.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.set_verify_callback.overload1"></a><a class="link" href="overload1.html" title="ssl::context::set_verify_callback (1 of 2 overloads)">ssl::context::set_verify_callback
(1 of 2 overloads)</a>
</h5></div></div></div>
<p>
Set the callback used to verify peer certificates.
</p>
<pre class="programlisting">template&lt;
typename VerifyCallback&gt;
void set_verify_callback(
VerifyCallback callback);
</pre>
<p>
This function is used to specify a callback function that will be called
by the implementation when it needs to verify a peer certificate.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.set_verify_callback.overload1.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_verify_callback.overload1.parameters"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.set_verify_callback.overload1.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">callback</span></dt>
<dd>
<p>
The function object to be used for verifying a certificate. The
function signature of the handler must be:
</p>
<pre class="programlisting">bool verify_callback(
bool preverified, // True if the certificate passed pre-verification.
verify_context&amp; ctx // The peer certificate and other context.
);
</pre>
<p>
The return value of the callback is true if the certificate has
passed verification, false otherwise.
</p>
</dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.set_verify_callback.overload1.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_verify_callback.overload1.exceptions"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.set_verify_callback.overload1.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">boost::system::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.set_verify_callback.overload1.h2"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_verify_callback.overload1.remarks"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.set_verify_callback.overload1.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_set_verify</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../set_verify_callback.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set_verify_callback.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,94 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::set_verify_callback (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../set_verify_callback.html" title="ssl::context::set_verify_callback">
<link rel="prev" href="overload1.html" title="ssl::context::set_verify_callback (1 of 2 overloads)">
<link rel="next" href="../set_verify_depth.html" title="ssl::context::set_verify_depth">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set_verify_callback.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../set_verify_depth.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.set_verify_callback.overload2"></a><a class="link" href="overload2.html" title="ssl::context::set_verify_callback (2 of 2 overloads)">ssl::context::set_verify_callback
(2 of 2 overloads)</a>
</h5></div></div></div>
<p>
Set the callback used to verify peer certificates.
</p>
<pre class="programlisting">template&lt;
typename VerifyCallback&gt;
void set_verify_callback(
VerifyCallback callback,
boost::system::error_code &amp; ec);
</pre>
<p>
This function is used to specify a callback function that will be called
by the implementation when it needs to verify a peer certificate.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.set_verify_callback.overload2.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_verify_callback.overload2.parameters"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.set_verify_callback.overload2.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">callback</span></dt>
<dd>
<p>
The function object to be used for verifying a certificate. The
function signature of the handler must be:
</p>
<pre class="programlisting">bool verify_callback(
bool preverified, // True if the certificate passed pre-verification.
verify_context&amp; ctx // The peer certificate and other context.
);
</pre>
<p>
The return value of the callback is true if the certificate has
passed verification, false otherwise.
</p>
</dd>
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.set_verify_callback.overload2.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_verify_callback.overload2.remarks"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.set_verify_callback.overload2.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_set_verify</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set_verify_callback.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../set_verify_depth.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,58 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::set_verify_depth</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="set_verify_callback/overload2.html" title="ssl::context::set_verify_callback (2 of 2 overloads)">
<link rel="next" href="set_verify_depth/overload1.html" title="ssl::context::set_verify_depth (1 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="set_verify_callback/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="set_verify_depth/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.set_verify_depth"></a><a class="link" href="set_verify_depth.html" title="ssl::context::set_verify_depth">ssl::context::set_verify_depth</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.set_verify_depth"></a>
Set
the peer verification depth.
</p>
<pre class="programlisting">void <a class="link" href="set_verify_depth/overload1.html" title="ssl::context::set_verify_depth (1 of 2 overloads)">set_verify_depth</a>(
int depth);
<span class="emphasis"><em>» <a class="link" href="set_verify_depth/overload1.html" title="ssl::context::set_verify_depth (1 of 2 overloads)">more...</a></em></span>
void <a class="link" href="set_verify_depth/overload2.html" title="ssl::context::set_verify_depth (2 of 2 overloads)">set_verify_depth</a>(
int depth,
boost::system::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="set_verify_depth/overload2.html" title="ssl::context::set_verify_depth (2 of 2 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="set_verify_callback/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="set_verify_depth/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,89 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::set_verify_depth (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../set_verify_depth.html" title="ssl::context::set_verify_depth">
<link rel="prev" href="../set_verify_depth.html" title="ssl::context::set_verify_depth">
<link rel="next" href="overload2.html" title="ssl::context::set_verify_depth (2 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../set_verify_depth.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set_verify_depth.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.set_verify_depth.overload1"></a><a class="link" href="overload1.html" title="ssl::context::set_verify_depth (1 of 2 overloads)">ssl::context::set_verify_depth
(1 of 2 overloads)</a>
</h5></div></div></div>
<p>
Set the peer verification depth.
</p>
<pre class="programlisting">void set_verify_depth(
int depth);
</pre>
<p>
This function may be used to configure the maximum verification depth
allowed by the context.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.set_verify_depth.overload1.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_verify_depth.overload1.parameters"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.set_verify_depth.overload1.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">depth</span></dt>
<dd><p>
Maximum depth for the certificate chain verification that shall
be allowed.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.set_verify_depth.overload1.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_verify_depth.overload1.exceptions"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.set_verify_depth.overload1.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">boost::system::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.set_verify_depth.overload1.h2"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_verify_depth.overload1.remarks"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.set_verify_depth.overload1.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_set_verify_depth</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../set_verify_depth.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set_verify_depth.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,81 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::set_verify_depth (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../set_verify_depth.html" title="ssl::context::set_verify_depth">
<link rel="prev" href="overload1.html" title="ssl::context::set_verify_depth (1 of 2 overloads)">
<link rel="next" href="../set_verify_mode.html" title="ssl::context::set_verify_mode">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set_verify_depth.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../set_verify_mode.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.set_verify_depth.overload2"></a><a class="link" href="overload2.html" title="ssl::context::set_verify_depth (2 of 2 overloads)">ssl::context::set_verify_depth
(2 of 2 overloads)</a>
</h5></div></div></div>
<p>
Set the peer verification depth.
</p>
<pre class="programlisting">void set_verify_depth(
int depth,
boost::system::error_code &amp; ec);
</pre>
<p>
This function may be used to configure the maximum verification depth
allowed by the context.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.set_verify_depth.overload2.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_verify_depth.overload2.parameters"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.set_verify_depth.overload2.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">depth</span></dt>
<dd><p>
Maximum depth for the certificate chain verification that shall
be allowed.
</p></dd>
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.set_verify_depth.overload2.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_verify_depth.overload2.remarks"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.set_verify_depth.overload2.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_set_verify_depth</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set_verify_depth.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../set_verify_mode.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,58 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::set_verify_mode</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="set_verify_depth/overload2.html" title="ssl::context::set_verify_depth (2 of 2 overloads)">
<link rel="next" href="set_verify_mode/overload1.html" title="ssl::context::set_verify_mode (1 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="set_verify_depth/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="set_verify_mode/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.set_verify_mode"></a><a class="link" href="set_verify_mode.html" title="ssl::context::set_verify_mode">ssl::context::set_verify_mode</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.set_verify_mode"></a>
Set
the peer verification mode.
</p>
<pre class="programlisting">void <a class="link" href="set_verify_mode/overload1.html" title="ssl::context::set_verify_mode (1 of 2 overloads)">set_verify_mode</a>(
verify_mode v);
<span class="emphasis"><em>» <a class="link" href="set_verify_mode/overload1.html" title="ssl::context::set_verify_mode (1 of 2 overloads)">more...</a></em></span>
void <a class="link" href="set_verify_mode/overload2.html" title="ssl::context::set_verify_mode (2 of 2 overloads)">set_verify_mode</a>(
verify_mode v,
boost::system::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="set_verify_mode/overload2.html" title="ssl::context::set_verify_mode (2 of 2 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="set_verify_depth/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="set_verify_mode/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,89 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::set_verify_mode (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../set_verify_mode.html" title="ssl::context::set_verify_mode">
<link rel="prev" href="../set_verify_mode.html" title="ssl::context::set_verify_mode">
<link rel="next" href="overload2.html" title="ssl::context::set_verify_mode (2 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../set_verify_mode.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set_verify_mode.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.set_verify_mode.overload1"></a><a class="link" href="overload1.html" title="ssl::context::set_verify_mode (1 of 2 overloads)">ssl::context::set_verify_mode
(1 of 2 overloads)</a>
</h5></div></div></div>
<p>
Set the peer verification mode.
</p>
<pre class="programlisting">void set_verify_mode(
verify_mode v);
</pre>
<p>
This function may be used to configure the peer verification mode used
by the context.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.set_verify_mode.overload1.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_verify_mode.overload1.parameters"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.set_verify_mode.overload1.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">v</span></dt>
<dd><p>
A bitmask of peer verification modes. See <a class="link" href="../../ssl__verify_mode.html" title="ssl::verify_mode"><code class="computeroutput">ssl::verify_mode</code></a>
for available values.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.set_verify_mode.overload1.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_verify_mode.overload1.exceptions"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.set_verify_mode.overload1.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">boost::system::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.set_verify_mode.overload1.h2"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_verify_mode.overload1.remarks"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.set_verify_mode.overload1.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_set_verify</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../set_verify_mode.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set_verify_mode.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,81 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::set_verify_mode (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../set_verify_mode.html" title="ssl::context::set_verify_mode">
<link rel="prev" href="overload1.html" title="ssl::context::set_verify_mode (1 of 2 overloads)">
<link rel="next" href="../single_dh_use.html" title="ssl::context::single_dh_use">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set_verify_mode.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../single_dh_use.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.set_verify_mode.overload2"></a><a class="link" href="overload2.html" title="ssl::context::set_verify_mode (2 of 2 overloads)">ssl::context::set_verify_mode
(2 of 2 overloads)</a>
</h5></div></div></div>
<p>
Set the peer verification mode.
</p>
<pre class="programlisting">void set_verify_mode(
verify_mode v,
boost::system::error_code &amp; ec);
</pre>
<p>
This function may be used to configure the peer verification mode used
by the context.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.set_verify_mode.overload2.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_verify_mode.overload2.parameters"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.set_verify_mode.overload2.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">v</span></dt>
<dd><p>
A bitmask of peer verification modes. See <a class="link" href="../../ssl__verify_mode.html" title="ssl::verify_mode"><code class="computeroutput">ssl::verify_mode</code></a>
for available values.
</p></dd>
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.set_verify_mode.overload2.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.set_verify_mode.overload2.remarks"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.set_verify_mode.overload2.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_set_verify</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set_verify_mode.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../single_dh_use.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,51 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::single_dh_use</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="set_verify_mode/overload2.html" title="ssl::context::set_verify_mode (2 of 2 overloads)">
<link rel="next" href="use_certificate.html" title="ssl::context::use_certificate">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="set_verify_mode/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="use_certificate.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.single_dh_use"></a><a class="link" href="single_dh_use.html" title="ssl::context::single_dh_use">ssl::context::single_dh_use</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.single_dh_use"></a>
Always
create a new key when using tmp_dh parameters.
</p>
<pre class="programlisting">static const long single_dh_use = implementation_defined;
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="set_verify_mode/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="use_certificate.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,60 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_certificate</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="single_dh_use.html" title="ssl::context::single_dh_use">
<link rel="next" href="use_certificate/overload1.html" title="ssl::context::use_certificate (1 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="single_dh_use.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="use_certificate/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.use_certificate"></a><a class="link" href="use_certificate.html" title="ssl::context::use_certificate">ssl::context::use_certificate</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.use_certificate"></a>
Use
a certificate from a memory buffer.
</p>
<pre class="programlisting">void <a class="link" href="use_certificate/overload1.html" title="ssl::context::use_certificate (1 of 2 overloads)">use_certificate</a>(
const const_buffer &amp; certificate,
file_format format);
<span class="emphasis"><em>» <a class="link" href="use_certificate/overload1.html" title="ssl::context::use_certificate (1 of 2 overloads)">more...</a></em></span>
void <a class="link" href="use_certificate/overload2.html" title="ssl::context::use_certificate (2 of 2 overloads)">use_certificate</a>(
const const_buffer &amp; certificate,
file_format format,
boost::system::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="use_certificate/overload2.html" title="ssl::context::use_certificate (2 of 2 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="single_dh_use.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="use_certificate/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,92 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_certificate (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../use_certificate.html" title="ssl::context::use_certificate">
<link rel="prev" href="../use_certificate.html" title="ssl::context::use_certificate">
<link rel="next" href="overload2.html" title="ssl::context::use_certificate (2 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../use_certificate.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_certificate.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.use_certificate.overload1"></a><a class="link" href="overload1.html" title="ssl::context::use_certificate (1 of 2 overloads)">ssl::context::use_certificate
(1 of 2 overloads)</a>
</h5></div></div></div>
<p>
Use a certificate from a memory buffer.
</p>
<pre class="programlisting">void use_certificate(
const const_buffer &amp; certificate,
file_format format);
</pre>
<p>
This function is used to load a certificate into the context from a buffer.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.use_certificate.overload1.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_certificate.overload1.parameters"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_certificate.overload1.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">certificate</span></dt>
<dd><p>
The buffer containing the certificate.
</p></dd>
<dt><span class="term">format</span></dt>
<dd><p>
The certificate format (ASN.1 or PEM).
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_certificate.overload1.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_certificate.overload1.exceptions"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_certificate.overload1.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">boost::system::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_certificate.overload1.h2"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_certificate.overload1.remarks"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_certificate.overload1.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_use_certificate</code> or SSL_CTX_use_certificate_ASN1.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../use_certificate.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_certificate.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,84 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_certificate (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../use_certificate.html" title="ssl::context::use_certificate">
<link rel="prev" href="overload1.html" title="ssl::context::use_certificate (1 of 2 overloads)">
<link rel="next" href="../use_certificate_chain.html" title="ssl::context::use_certificate_chain">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_certificate.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../use_certificate_chain.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.use_certificate.overload2"></a><a class="link" href="overload2.html" title="ssl::context::use_certificate (2 of 2 overloads)">ssl::context::use_certificate
(2 of 2 overloads)</a>
</h5></div></div></div>
<p>
Use a certificate from a memory buffer.
</p>
<pre class="programlisting">void use_certificate(
const const_buffer &amp; certificate,
file_format format,
boost::system::error_code &amp; ec);
</pre>
<p>
This function is used to load a certificate into the context from a buffer.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.use_certificate.overload2.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_certificate.overload2.parameters"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.use_certificate.overload2.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">certificate</span></dt>
<dd><p>
The buffer containing the certificate.
</p></dd>
<dt><span class="term">format</span></dt>
<dd><p>
The certificate format (ASN.1 or PEM).
</p></dd>
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_certificate.overload2.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_certificate.overload2.remarks"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.use_certificate.overload2.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_use_certificate</code> or SSL_CTX_use_certificate_ASN1.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_certificate.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../use_certificate_chain.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,58 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_certificate_chain</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="use_certificate/overload2.html" title="ssl::context::use_certificate (2 of 2 overloads)">
<link rel="next" href="use_certificate_chain/overload1.html" title="ssl::context::use_certificate_chain (1 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="use_certificate/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="use_certificate_chain/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.use_certificate_chain"></a><a class="link" href="use_certificate_chain.html" title="ssl::context::use_certificate_chain">ssl::context::use_certificate_chain</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.use_certificate_chain"></a>
Use
a certificate chain from a memory buffer.
</p>
<pre class="programlisting">void <a class="link" href="use_certificate_chain/overload1.html" title="ssl::context::use_certificate_chain (1 of 2 overloads)">use_certificate_chain</a>(
const const_buffer &amp; chain);
<span class="emphasis"><em>» <a class="link" href="use_certificate_chain/overload1.html" title="ssl::context::use_certificate_chain (1 of 2 overloads)">more...</a></em></span>
void <a class="link" href="use_certificate_chain/overload2.html" title="ssl::context::use_certificate_chain (2 of 2 overloads)">use_certificate_chain</a>(
const const_buffer &amp; chain,
boost::system::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="use_certificate_chain/overload2.html" title="ssl::context::use_certificate_chain (2 of 2 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="use_certificate/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="use_certificate_chain/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,89 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_certificate_chain (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../use_certificate_chain.html" title="ssl::context::use_certificate_chain">
<link rel="prev" href="../use_certificate_chain.html" title="ssl::context::use_certificate_chain">
<link rel="next" href="overload2.html" title="ssl::context::use_certificate_chain (2 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../use_certificate_chain.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_certificate_chain.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.use_certificate_chain.overload1"></a><a class="link" href="overload1.html" title="ssl::context::use_certificate_chain (1 of 2 overloads)">ssl::context::use_certificate_chain
(1 of 2 overloads)</a>
</h5></div></div></div>
<p>
Use a certificate chain from a memory buffer.
</p>
<pre class="programlisting">void use_certificate_chain(
const const_buffer &amp; chain);
</pre>
<p>
This function is used to load a certificate chain into the context from
a buffer.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.use_certificate_chain.overload1.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_certificate_chain.overload1.parameters"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_certificate_chain.overload1.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">chain</span></dt>
<dd><p>
The buffer containing the certificate chain. The certificate chain
must use the PEM format.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_certificate_chain.overload1.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_certificate_chain.overload1.exceptions"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_certificate_chain.overload1.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">boost::system::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_certificate_chain.overload1.h2"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_certificate_chain.overload1.remarks"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_certificate_chain.overload1.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_use_certificate</code> and SSL_CTX_add_extra_chain_cert.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../use_certificate_chain.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_certificate_chain.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,81 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_certificate_chain (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../use_certificate_chain.html" title="ssl::context::use_certificate_chain">
<link rel="prev" href="overload1.html" title="ssl::context::use_certificate_chain (1 of 2 overloads)">
<link rel="next" href="../use_certificate_chain_file.html" title="ssl::context::use_certificate_chain_file">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_certificate_chain.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../use_certificate_chain_file.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.use_certificate_chain.overload2"></a><a class="link" href="overload2.html" title="ssl::context::use_certificate_chain (2 of 2 overloads)">ssl::context::use_certificate_chain
(2 of 2 overloads)</a>
</h5></div></div></div>
<p>
Use a certificate chain from a memory buffer.
</p>
<pre class="programlisting">void use_certificate_chain(
const const_buffer &amp; chain,
boost::system::error_code &amp; ec);
</pre>
<p>
This function is used to load a certificate chain into the context from
a buffer.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.use_certificate_chain.overload2.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_certificate_chain.overload2.parameters"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.use_certificate_chain.overload2.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">chain</span></dt>
<dd><p>
The buffer containing the certificate chain. The certificate chain
must use the PEM format.
</p></dd>
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_certificate_chain.overload2.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_certificate_chain.overload2.remarks"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.use_certificate_chain.overload2.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_use_certificate</code> and SSL_CTX_add_extra_chain_cert.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_certificate_chain.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../use_certificate_chain_file.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,58 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_certificate_chain_file</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="use_certificate_chain/overload2.html" title="ssl::context::use_certificate_chain (2 of 2 overloads)">
<link rel="next" href="use_certificate_chain_file/overload1.html" title="ssl::context::use_certificate_chain_file (1 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="use_certificate_chain/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="use_certificate_chain_file/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.use_certificate_chain_file"></a><a class="link" href="use_certificate_chain_file.html" title="ssl::context::use_certificate_chain_file">ssl::context::use_certificate_chain_file</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.use_certificate_chain_file"></a>
Use
a certificate chain from a file.
</p>
<pre class="programlisting">void <a class="link" href="use_certificate_chain_file/overload1.html" title="ssl::context::use_certificate_chain_file (1 of 2 overloads)">use_certificate_chain_file</a>(
const std::string &amp; filename);
<span class="emphasis"><em>» <a class="link" href="use_certificate_chain_file/overload1.html" title="ssl::context::use_certificate_chain_file (1 of 2 overloads)">more...</a></em></span>
void <a class="link" href="use_certificate_chain_file/overload2.html" title="ssl::context::use_certificate_chain_file (2 of 2 overloads)">use_certificate_chain_file</a>(
const std::string &amp; filename,
boost::system::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="use_certificate_chain_file/overload2.html" title="ssl::context::use_certificate_chain_file (2 of 2 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="use_certificate_chain/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="use_certificate_chain_file/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,89 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_certificate_chain_file (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../use_certificate_chain_file.html" title="ssl::context::use_certificate_chain_file">
<link rel="prev" href="../use_certificate_chain_file.html" title="ssl::context::use_certificate_chain_file">
<link rel="next" href="overload2.html" title="ssl::context::use_certificate_chain_file (2 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../use_certificate_chain_file.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_certificate_chain_file.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.use_certificate_chain_file.overload1"></a><a class="link" href="overload1.html" title="ssl::context::use_certificate_chain_file (1 of 2 overloads)">ssl::context::use_certificate_chain_file
(1 of 2 overloads)</a>
</h5></div></div></div>
<p>
Use a certificate chain from a file.
</p>
<pre class="programlisting">void use_certificate_chain_file(
const std::string &amp; filename);
</pre>
<p>
This function is used to load a certificate chain into the context from
a file.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.use_certificate_chain_file.overload1.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_certificate_chain_file.overload1.parameters"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_certificate_chain_file.overload1.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">filename</span></dt>
<dd><p>
The name of the file containing the certificate. The file must
use the PEM format.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_certificate_chain_file.overload1.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_certificate_chain_file.overload1.exceptions"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_certificate_chain_file.overload1.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">boost::system::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_certificate_chain_file.overload1.h2"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_certificate_chain_file.overload1.remarks"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_certificate_chain_file.overload1.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_use_certificate_chain_file</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../use_certificate_chain_file.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_certificate_chain_file.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,81 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_certificate_chain_file (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../use_certificate_chain_file.html" title="ssl::context::use_certificate_chain_file">
<link rel="prev" href="overload1.html" title="ssl::context::use_certificate_chain_file (1 of 2 overloads)">
<link rel="next" href="../use_certificate_file.html" title="ssl::context::use_certificate_file">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_certificate_chain_file.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../use_certificate_file.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.use_certificate_chain_file.overload2"></a><a class="link" href="overload2.html" title="ssl::context::use_certificate_chain_file (2 of 2 overloads)">ssl::context::use_certificate_chain_file
(2 of 2 overloads)</a>
</h5></div></div></div>
<p>
Use a certificate chain from a file.
</p>
<pre class="programlisting">void use_certificate_chain_file(
const std::string &amp; filename,
boost::system::error_code &amp; ec);
</pre>
<p>
This function is used to load a certificate chain into the context from
a file.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.use_certificate_chain_file.overload2.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_certificate_chain_file.overload2.parameters"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.use_certificate_chain_file.overload2.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">filename</span></dt>
<dd><p>
The name of the file containing the certificate. The file must
use the PEM format.
</p></dd>
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_certificate_chain_file.overload2.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_certificate_chain_file.overload2.remarks"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.use_certificate_chain_file.overload2.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_use_certificate_chain_file</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_certificate_chain_file.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../use_certificate_file.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,60 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_certificate_file</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="use_certificate_chain_file/overload2.html" title="ssl::context::use_certificate_chain_file (2 of 2 overloads)">
<link rel="next" href="use_certificate_file/overload1.html" title="ssl::context::use_certificate_file (1 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="use_certificate_chain_file/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="use_certificate_file/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.use_certificate_file"></a><a class="link" href="use_certificate_file.html" title="ssl::context::use_certificate_file">ssl::context::use_certificate_file</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.use_certificate_file"></a>
Use
a certificate from a file.
</p>
<pre class="programlisting">void <a class="link" href="use_certificate_file/overload1.html" title="ssl::context::use_certificate_file (1 of 2 overloads)">use_certificate_file</a>(
const std::string &amp; filename,
file_format format);
<span class="emphasis"><em>» <a class="link" href="use_certificate_file/overload1.html" title="ssl::context::use_certificate_file (1 of 2 overloads)">more...</a></em></span>
void <a class="link" href="use_certificate_file/overload2.html" title="ssl::context::use_certificate_file (2 of 2 overloads)">use_certificate_file</a>(
const std::string &amp; filename,
file_format format,
boost::system::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="use_certificate_file/overload2.html" title="ssl::context::use_certificate_file (2 of 2 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="use_certificate_chain_file/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="use_certificate_file/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,92 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_certificate_file (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../use_certificate_file.html" title="ssl::context::use_certificate_file">
<link rel="prev" href="../use_certificate_file.html" title="ssl::context::use_certificate_file">
<link rel="next" href="overload2.html" title="ssl::context::use_certificate_file (2 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../use_certificate_file.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_certificate_file.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.use_certificate_file.overload1"></a><a class="link" href="overload1.html" title="ssl::context::use_certificate_file (1 of 2 overloads)">ssl::context::use_certificate_file
(1 of 2 overloads)</a>
</h5></div></div></div>
<p>
Use a certificate from a file.
</p>
<pre class="programlisting">void use_certificate_file(
const std::string &amp; filename,
file_format format);
</pre>
<p>
This function is used to load a certificate into the context from a file.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.use_certificate_file.overload1.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_certificate_file.overload1.parameters"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_certificate_file.overload1.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">filename</span></dt>
<dd><p>
The name of the file containing the certificate.
</p></dd>
<dt><span class="term">format</span></dt>
<dd><p>
The file format (ASN.1 or PEM).
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_certificate_file.overload1.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_certificate_file.overload1.exceptions"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_certificate_file.overload1.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">boost::system::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_certificate_file.overload1.h2"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_certificate_file.overload1.remarks"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_certificate_file.overload1.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_use_certificate_file</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../use_certificate_file.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_certificate_file.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,84 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_certificate_file (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../use_certificate_file.html" title="ssl::context::use_certificate_file">
<link rel="prev" href="overload1.html" title="ssl::context::use_certificate_file (1 of 2 overloads)">
<link rel="next" href="../use_private_key.html" title="ssl::context::use_private_key">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_certificate_file.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../use_private_key.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.use_certificate_file.overload2"></a><a class="link" href="overload2.html" title="ssl::context::use_certificate_file (2 of 2 overloads)">ssl::context::use_certificate_file
(2 of 2 overloads)</a>
</h5></div></div></div>
<p>
Use a certificate from a file.
</p>
<pre class="programlisting">void use_certificate_file(
const std::string &amp; filename,
file_format format,
boost::system::error_code &amp; ec);
</pre>
<p>
This function is used to load a certificate into the context from a file.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.use_certificate_file.overload2.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_certificate_file.overload2.parameters"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.use_certificate_file.overload2.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">filename</span></dt>
<dd><p>
The name of the file containing the certificate.
</p></dd>
<dt><span class="term">format</span></dt>
<dd><p>
The file format (ASN.1 or PEM).
</p></dd>
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_certificate_file.overload2.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_certificate_file.overload2.remarks"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.use_certificate_file.overload2.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_use_certificate_file</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_certificate_file.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../use_private_key.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,60 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_private_key</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="use_certificate_file/overload2.html" title="ssl::context::use_certificate_file (2 of 2 overloads)">
<link rel="next" href="use_private_key/overload1.html" title="ssl::context::use_private_key (1 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="use_certificate_file/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="use_private_key/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.use_private_key"></a><a class="link" href="use_private_key.html" title="ssl::context::use_private_key">ssl::context::use_private_key</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.use_private_key"></a>
Use
a private key from a memory buffer.
</p>
<pre class="programlisting">void <a class="link" href="use_private_key/overload1.html" title="ssl::context::use_private_key (1 of 2 overloads)">use_private_key</a>(
const const_buffer &amp; private_key,
file_format format);
<span class="emphasis"><em>» <a class="link" href="use_private_key/overload1.html" title="ssl::context::use_private_key (1 of 2 overloads)">more...</a></em></span>
void <a class="link" href="use_private_key/overload2.html" title="ssl::context::use_private_key (2 of 2 overloads)">use_private_key</a>(
const const_buffer &amp; private_key,
file_format format,
boost::system::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="use_private_key/overload2.html" title="ssl::context::use_private_key (2 of 2 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="use_certificate_file/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="use_private_key/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,92 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_private_key (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../use_private_key.html" title="ssl::context::use_private_key">
<link rel="prev" href="../use_private_key.html" title="ssl::context::use_private_key">
<link rel="next" href="overload2.html" title="ssl::context::use_private_key (2 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../use_private_key.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_private_key.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.use_private_key.overload1"></a><a class="link" href="overload1.html" title="ssl::context::use_private_key (1 of 2 overloads)">ssl::context::use_private_key
(1 of 2 overloads)</a>
</h5></div></div></div>
<p>
Use a private key from a memory buffer.
</p>
<pre class="programlisting">void use_private_key(
const const_buffer &amp; private_key,
file_format format);
</pre>
<p>
This function is used to load a private key into the context from a buffer.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.use_private_key.overload1.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_private_key.overload1.parameters"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_private_key.overload1.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">private_key</span></dt>
<dd><p>
The buffer containing the private key.
</p></dd>
<dt><span class="term">format</span></dt>
<dd><p>
The private key format (ASN.1 or PEM).
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_private_key.overload1.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_private_key.overload1.exceptions"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_private_key.overload1.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">boost::system::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_private_key.overload1.h2"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_private_key.overload1.remarks"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_private_key.overload1.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_use_PrivateKey</code> or SSL_CTX_use_PrivateKey_ASN1.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../use_private_key.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_private_key.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,84 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_private_key (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../use_private_key.html" title="ssl::context::use_private_key">
<link rel="prev" href="overload1.html" title="ssl::context::use_private_key (1 of 2 overloads)">
<link rel="next" href="../use_private_key_file.html" title="ssl::context::use_private_key_file">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_private_key.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../use_private_key_file.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.use_private_key.overload2"></a><a class="link" href="overload2.html" title="ssl::context::use_private_key (2 of 2 overloads)">ssl::context::use_private_key
(2 of 2 overloads)</a>
</h5></div></div></div>
<p>
Use a private key from a memory buffer.
</p>
<pre class="programlisting">void use_private_key(
const const_buffer &amp; private_key,
file_format format,
boost::system::error_code &amp; ec);
</pre>
<p>
This function is used to load a private key into the context from a buffer.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.use_private_key.overload2.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_private_key.overload2.parameters"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.use_private_key.overload2.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">private_key</span></dt>
<dd><p>
The buffer containing the private key.
</p></dd>
<dt><span class="term">format</span></dt>
<dd><p>
The private key format (ASN.1 or PEM).
</p></dd>
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_private_key.overload2.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_private_key.overload2.remarks"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.use_private_key.overload2.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_use_PrivateKey</code> or SSL_CTX_use_PrivateKey_ASN1.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_private_key.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../use_private_key_file.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,60 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_private_key_file</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="use_private_key/overload2.html" title="ssl::context::use_private_key (2 of 2 overloads)">
<link rel="next" href="use_private_key_file/overload1.html" title="ssl::context::use_private_key_file (1 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="use_private_key/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="use_private_key_file/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.use_private_key_file"></a><a class="link" href="use_private_key_file.html" title="ssl::context::use_private_key_file">ssl::context::use_private_key_file</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.use_private_key_file"></a>
Use
a private key from a file.
</p>
<pre class="programlisting">void <a class="link" href="use_private_key_file/overload1.html" title="ssl::context::use_private_key_file (1 of 2 overloads)">use_private_key_file</a>(
const std::string &amp; filename,
file_format format);
<span class="emphasis"><em>» <a class="link" href="use_private_key_file/overload1.html" title="ssl::context::use_private_key_file (1 of 2 overloads)">more...</a></em></span>
void <a class="link" href="use_private_key_file/overload2.html" title="ssl::context::use_private_key_file (2 of 2 overloads)">use_private_key_file</a>(
const std::string &amp; filename,
file_format format,
boost::system::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="use_private_key_file/overload2.html" title="ssl::context::use_private_key_file (2 of 2 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="use_private_key/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="use_private_key_file/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,92 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_private_key_file (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../use_private_key_file.html" title="ssl::context::use_private_key_file">
<link rel="prev" href="../use_private_key_file.html" title="ssl::context::use_private_key_file">
<link rel="next" href="overload2.html" title="ssl::context::use_private_key_file (2 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../use_private_key_file.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_private_key_file.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.use_private_key_file.overload1"></a><a class="link" href="overload1.html" title="ssl::context::use_private_key_file (1 of 2 overloads)">ssl::context::use_private_key_file
(1 of 2 overloads)</a>
</h5></div></div></div>
<p>
Use a private key from a file.
</p>
<pre class="programlisting">void use_private_key_file(
const std::string &amp; filename,
file_format format);
</pre>
<p>
This function is used to load a private key into the context from a file.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.use_private_key_file.overload1.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_private_key_file.overload1.parameters"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_private_key_file.overload1.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">filename</span></dt>
<dd><p>
The name of the file containing the private key.
</p></dd>
<dt><span class="term">format</span></dt>
<dd><p>
The file format (ASN.1 or PEM).
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_private_key_file.overload1.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_private_key_file.overload1.exceptions"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_private_key_file.overload1.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">boost::system::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_private_key_file.overload1.h2"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_private_key_file.overload1.remarks"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_private_key_file.overload1.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_use_PrivateKey_file</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../use_private_key_file.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_private_key_file.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,84 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_private_key_file (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../use_private_key_file.html" title="ssl::context::use_private_key_file">
<link rel="prev" href="overload1.html" title="ssl::context::use_private_key_file (1 of 2 overloads)">
<link rel="next" href="../use_rsa_private_key.html" title="ssl::context::use_rsa_private_key">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_private_key_file.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../use_rsa_private_key.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.use_private_key_file.overload2"></a><a class="link" href="overload2.html" title="ssl::context::use_private_key_file (2 of 2 overloads)">ssl::context::use_private_key_file
(2 of 2 overloads)</a>
</h5></div></div></div>
<p>
Use a private key from a file.
</p>
<pre class="programlisting">void use_private_key_file(
const std::string &amp; filename,
file_format format,
boost::system::error_code &amp; ec);
</pre>
<p>
This function is used to load a private key into the context from a file.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.use_private_key_file.overload2.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_private_key_file.overload2.parameters"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.use_private_key_file.overload2.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">filename</span></dt>
<dd><p>
The name of the file containing the private key.
</p></dd>
<dt><span class="term">format</span></dt>
<dd><p>
The file format (ASN.1 or PEM).
</p></dd>
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_private_key_file.overload2.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_private_key_file.overload2.remarks"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.use_private_key_file.overload2.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_use_PrivateKey_file</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_private_key_file.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../use_rsa_private_key.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,60 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_rsa_private_key</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="use_private_key_file/overload2.html" title="ssl::context::use_private_key_file (2 of 2 overloads)">
<link rel="next" href="use_rsa_private_key/overload1.html" title="ssl::context::use_rsa_private_key (1 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="use_private_key_file/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="use_rsa_private_key/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.use_rsa_private_key"></a><a class="link" href="use_rsa_private_key.html" title="ssl::context::use_rsa_private_key">ssl::context::use_rsa_private_key</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.use_rsa_private_key"></a>
Use
an RSA private key from a memory buffer.
</p>
<pre class="programlisting">void <a class="link" href="use_rsa_private_key/overload1.html" title="ssl::context::use_rsa_private_key (1 of 2 overloads)">use_rsa_private_key</a>(
const const_buffer &amp; private_key,
file_format format);
<span class="emphasis"><em>» <a class="link" href="use_rsa_private_key/overload1.html" title="ssl::context::use_rsa_private_key (1 of 2 overloads)">more...</a></em></span>
void <a class="link" href="use_rsa_private_key/overload2.html" title="ssl::context::use_rsa_private_key (2 of 2 overloads)">use_rsa_private_key</a>(
const const_buffer &amp; private_key,
file_format format,
boost::system::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="use_rsa_private_key/overload2.html" title="ssl::context::use_rsa_private_key (2 of 2 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="use_private_key_file/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="use_rsa_private_key/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,93 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_rsa_private_key (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../use_rsa_private_key.html" title="ssl::context::use_rsa_private_key">
<link rel="prev" href="../use_rsa_private_key.html" title="ssl::context::use_rsa_private_key">
<link rel="next" href="overload2.html" title="ssl::context::use_rsa_private_key (2 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../use_rsa_private_key.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_rsa_private_key.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.use_rsa_private_key.overload1"></a><a class="link" href="overload1.html" title="ssl::context::use_rsa_private_key (1 of 2 overloads)">ssl::context::use_rsa_private_key
(1 of 2 overloads)</a>
</h5></div></div></div>
<p>
Use an RSA private key from a memory buffer.
</p>
<pre class="programlisting">void use_rsa_private_key(
const const_buffer &amp; private_key,
file_format format);
</pre>
<p>
This function is used to load an RSA private key into the context from
a buffer.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.use_rsa_private_key.overload1.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_rsa_private_key.overload1.parameters"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_rsa_private_key.overload1.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">private_key</span></dt>
<dd><p>
The buffer containing the RSA private key.
</p></dd>
<dt><span class="term">format</span></dt>
<dd><p>
The private key format (ASN.1 or PEM).
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_rsa_private_key.overload1.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_rsa_private_key.overload1.exceptions"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_rsa_private_key.overload1.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">boost::system::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_rsa_private_key.overload1.h2"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_rsa_private_key.overload1.remarks"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_rsa_private_key.overload1.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_use_RSAPrivateKey</code> or SSL_CTX_use_RSAPrivateKey_ASN1.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../use_rsa_private_key.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_rsa_private_key.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,85 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_rsa_private_key (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../use_rsa_private_key.html" title="ssl::context::use_rsa_private_key">
<link rel="prev" href="overload1.html" title="ssl::context::use_rsa_private_key (1 of 2 overloads)">
<link rel="next" href="../use_rsa_private_key_file.html" title="ssl::context::use_rsa_private_key_file">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_rsa_private_key.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../use_rsa_private_key_file.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.use_rsa_private_key.overload2"></a><a class="link" href="overload2.html" title="ssl::context::use_rsa_private_key (2 of 2 overloads)">ssl::context::use_rsa_private_key
(2 of 2 overloads)</a>
</h5></div></div></div>
<p>
Use an RSA private key from a memory buffer.
</p>
<pre class="programlisting">void use_rsa_private_key(
const const_buffer &amp; private_key,
file_format format,
boost::system::error_code &amp; ec);
</pre>
<p>
This function is used to load an RSA private key into the context from
a buffer.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.use_rsa_private_key.overload2.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_rsa_private_key.overload2.parameters"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.use_rsa_private_key.overload2.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">private_key</span></dt>
<dd><p>
The buffer containing the RSA private key.
</p></dd>
<dt><span class="term">format</span></dt>
<dd><p>
The private key format (ASN.1 or PEM).
</p></dd>
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_rsa_private_key.overload2.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_rsa_private_key.overload2.remarks"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.use_rsa_private_key.overload2.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_use_RSAPrivateKey</code> or SSL_CTX_use_RSAPrivateKey_ASN1.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_rsa_private_key.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../use_rsa_private_key_file.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,60 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_rsa_private_key_file</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="use_rsa_private_key/overload2.html" title="ssl::context::use_rsa_private_key (2 of 2 overloads)">
<link rel="next" href="use_rsa_private_key_file/overload1.html" title="ssl::context::use_rsa_private_key_file (1 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="use_rsa_private_key/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="use_rsa_private_key_file/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.use_rsa_private_key_file"></a><a class="link" href="use_rsa_private_key_file.html" title="ssl::context::use_rsa_private_key_file">ssl::context::use_rsa_private_key_file</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.use_rsa_private_key_file"></a>
Use
an RSA private key from a file.
</p>
<pre class="programlisting">void <a class="link" href="use_rsa_private_key_file/overload1.html" title="ssl::context::use_rsa_private_key_file (1 of 2 overloads)">use_rsa_private_key_file</a>(
const std::string &amp; filename,
file_format format);
<span class="emphasis"><em>» <a class="link" href="use_rsa_private_key_file/overload1.html" title="ssl::context::use_rsa_private_key_file (1 of 2 overloads)">more...</a></em></span>
void <a class="link" href="use_rsa_private_key_file/overload2.html" title="ssl::context::use_rsa_private_key_file (2 of 2 overloads)">use_rsa_private_key_file</a>(
const std::string &amp; filename,
file_format format,
boost::system::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="use_rsa_private_key_file/overload2.html" title="ssl::context::use_rsa_private_key_file (2 of 2 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="use_rsa_private_key/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="use_rsa_private_key_file/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,93 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_rsa_private_key_file (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../use_rsa_private_key_file.html" title="ssl::context::use_rsa_private_key_file">
<link rel="prev" href="../use_rsa_private_key_file.html" title="ssl::context::use_rsa_private_key_file">
<link rel="next" href="overload2.html" title="ssl::context::use_rsa_private_key_file (2 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../use_rsa_private_key_file.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_rsa_private_key_file.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.use_rsa_private_key_file.overload1"></a><a class="link" href="overload1.html" title="ssl::context::use_rsa_private_key_file (1 of 2 overloads)">ssl::context::use_rsa_private_key_file
(1 of 2 overloads)</a>
</h5></div></div></div>
<p>
Use an RSA private key from a file.
</p>
<pre class="programlisting">void use_rsa_private_key_file(
const std::string &amp; filename,
file_format format);
</pre>
<p>
This function is used to load an RSA private key into the context from
a file.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.use_rsa_private_key_file.overload1.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_rsa_private_key_file.overload1.parameters"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_rsa_private_key_file.overload1.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">filename</span></dt>
<dd><p>
The name of the file containing the RSA private key.
</p></dd>
<dt><span class="term">format</span></dt>
<dd><p>
The file format (ASN.1 or PEM).
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_rsa_private_key_file.overload1.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_rsa_private_key_file.overload1.exceptions"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_rsa_private_key_file.overload1.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">boost::system::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_rsa_private_key_file.overload1.h2"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_rsa_private_key_file.overload1.remarks"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_rsa_private_key_file.overload1.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_use_RSAPrivateKey_file</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../use_rsa_private_key_file.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_rsa_private_key_file.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,85 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_rsa_private_key_file (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../use_rsa_private_key_file.html" title="ssl::context::use_rsa_private_key_file">
<link rel="prev" href="overload1.html" title="ssl::context::use_rsa_private_key_file (1 of 2 overloads)">
<link rel="next" href="../use_tmp_dh.html" title="ssl::context::use_tmp_dh">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_rsa_private_key_file.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../use_tmp_dh.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.use_rsa_private_key_file.overload2"></a><a class="link" href="overload2.html" title="ssl::context::use_rsa_private_key_file (2 of 2 overloads)">ssl::context::use_rsa_private_key_file
(2 of 2 overloads)</a>
</h5></div></div></div>
<p>
Use an RSA private key from a file.
</p>
<pre class="programlisting">void use_rsa_private_key_file(
const std::string &amp; filename,
file_format format,
boost::system::error_code &amp; ec);
</pre>
<p>
This function is used to load an RSA private key into the context from
a file.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.use_rsa_private_key_file.overload2.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_rsa_private_key_file.overload2.parameters"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.use_rsa_private_key_file.overload2.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">filename</span></dt>
<dd><p>
The name of the file containing the RSA private key.
</p></dd>
<dt><span class="term">format</span></dt>
<dd><p>
The file format (ASN.1 or PEM).
</p></dd>
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_rsa_private_key_file.overload2.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_rsa_private_key_file.overload2.remarks"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.use_rsa_private_key_file.overload2.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_use_RSAPrivateKey_file</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_rsa_private_key_file.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../use_tmp_dh.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,58 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_tmp_dh</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="use_rsa_private_key_file/overload2.html" title="ssl::context::use_rsa_private_key_file (2 of 2 overloads)">
<link rel="next" href="use_tmp_dh/overload1.html" title="ssl::context::use_tmp_dh (1 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="use_rsa_private_key_file/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="use_tmp_dh/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.use_tmp_dh"></a><a class="link" href="use_tmp_dh.html" title="ssl::context::use_tmp_dh">ssl::context::use_tmp_dh</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.use_tmp_dh"></a>
Use the
specified memory buffer to obtain the temporary Diffie-Hellman parameters.
</p>
<pre class="programlisting">void <a class="link" href="use_tmp_dh/overload1.html" title="ssl::context::use_tmp_dh (1 of 2 overloads)">use_tmp_dh</a>(
const const_buffer &amp; dh);
<span class="emphasis"><em>» <a class="link" href="use_tmp_dh/overload1.html" title="ssl::context::use_tmp_dh (1 of 2 overloads)">more...</a></em></span>
void <a class="link" href="use_tmp_dh/overload2.html" title="ssl::context::use_tmp_dh (2 of 2 overloads)">use_tmp_dh</a>(
const const_buffer &amp; dh,
boost::system::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="use_tmp_dh/overload2.html" title="ssl::context::use_tmp_dh (2 of 2 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="use_rsa_private_key_file/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="use_tmp_dh/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,90 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_tmp_dh (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../use_tmp_dh.html" title="ssl::context::use_tmp_dh">
<link rel="prev" href="../use_tmp_dh.html" title="ssl::context::use_tmp_dh">
<link rel="next" href="overload2.html" title="ssl::context::use_tmp_dh (2 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../use_tmp_dh.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_tmp_dh.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.use_tmp_dh.overload1"></a><a class="link" href="overload1.html" title="ssl::context::use_tmp_dh (1 of 2 overloads)">ssl::context::use_tmp_dh
(1 of 2 overloads)</a>
</h5></div></div></div>
<p>
Use the specified memory buffer to obtain the temporary Diffie-Hellman
parameters.
</p>
<pre class="programlisting">void use_tmp_dh(
const const_buffer &amp; dh);
</pre>
<p>
This function is used to load Diffie-Hellman parameters into the context
from a buffer.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.use_tmp_dh.overload1.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_tmp_dh.overload1.parameters"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_tmp_dh.overload1.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">dh</span></dt>
<dd><p>
The memory buffer containing the Diffie-Hellman parameters. The
buffer must use the PEM format.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_tmp_dh.overload1.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_tmp_dh.overload1.exceptions"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_tmp_dh.overload1.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">boost::system::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_tmp_dh.overload1.h2"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_tmp_dh.overload1.remarks"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_tmp_dh.overload1.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_set_tmp_dh</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../use_tmp_dh.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_tmp_dh.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,82 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_tmp_dh (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../use_tmp_dh.html" title="ssl::context::use_tmp_dh">
<link rel="prev" href="overload1.html" title="ssl::context::use_tmp_dh (1 of 2 overloads)">
<link rel="next" href="../use_tmp_dh_file.html" title="ssl::context::use_tmp_dh_file">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_tmp_dh.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../use_tmp_dh_file.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.use_tmp_dh.overload2"></a><a class="link" href="overload2.html" title="ssl::context::use_tmp_dh (2 of 2 overloads)">ssl::context::use_tmp_dh
(2 of 2 overloads)</a>
</h5></div></div></div>
<p>
Use the specified memory buffer to obtain the temporary Diffie-Hellman
parameters.
</p>
<pre class="programlisting">void use_tmp_dh(
const const_buffer &amp; dh,
boost::system::error_code &amp; ec);
</pre>
<p>
This function is used to load Diffie-Hellman parameters into the context
from a buffer.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.use_tmp_dh.overload2.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_tmp_dh.overload2.parameters"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.use_tmp_dh.overload2.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">dh</span></dt>
<dd><p>
The memory buffer containing the Diffie-Hellman parameters. The
buffer must use the PEM format.
</p></dd>
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_tmp_dh.overload2.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_tmp_dh.overload2.remarks"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.use_tmp_dh.overload2.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_set_tmp_dh</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_tmp_dh.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../use_tmp_dh_file.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,58 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_tmp_dh_file</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="use_tmp_dh/overload2.html" title="ssl::context::use_tmp_dh (2 of 2 overloads)">
<link rel="next" href="use_tmp_dh_file/overload1.html" title="ssl::context::use_tmp_dh_file (1 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="use_tmp_dh/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="use_tmp_dh_file/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.use_tmp_dh_file"></a><a class="link" href="use_tmp_dh_file.html" title="ssl::context::use_tmp_dh_file">ssl::context::use_tmp_dh_file</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ssl__context.use_tmp_dh_file"></a>
Use
the specified file to obtain the temporary Diffie-Hellman parameters.
</p>
<pre class="programlisting">void <a class="link" href="use_tmp_dh_file/overload1.html" title="ssl::context::use_tmp_dh_file (1 of 2 overloads)">use_tmp_dh_file</a>(
const std::string &amp; filename);
<span class="emphasis"><em>» <a class="link" href="use_tmp_dh_file/overload1.html" title="ssl::context::use_tmp_dh_file (1 of 2 overloads)">more...</a></em></span>
void <a class="link" href="use_tmp_dh_file/overload2.html" title="ssl::context::use_tmp_dh_file (2 of 2 overloads)">use_tmp_dh_file</a>(
const std::string &amp; filename,
boost::system::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="use_tmp_dh_file/overload2.html" title="ssl::context::use_tmp_dh_file (2 of 2 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="use_tmp_dh/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="use_tmp_dh_file/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,89 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_tmp_dh_file (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../use_tmp_dh_file.html" title="ssl::context::use_tmp_dh_file">
<link rel="prev" href="../use_tmp_dh_file.html" title="ssl::context::use_tmp_dh_file">
<link rel="next" href="overload2.html" title="ssl::context::use_tmp_dh_file (2 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../use_tmp_dh_file.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_tmp_dh_file.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.use_tmp_dh_file.overload1"></a><a class="link" href="overload1.html" title="ssl::context::use_tmp_dh_file (1 of 2 overloads)">ssl::context::use_tmp_dh_file
(1 of 2 overloads)</a>
</h5></div></div></div>
<p>
Use the specified file to obtain the temporary Diffie-Hellman parameters.
</p>
<pre class="programlisting">void use_tmp_dh_file(
const std::string &amp; filename);
</pre>
<p>
This function is used to load Diffie-Hellman parameters into the context
from a file.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.use_tmp_dh_file.overload1.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_tmp_dh_file.overload1.parameters"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_tmp_dh_file.overload1.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">filename</span></dt>
<dd><p>
The name of the file containing the Diffie-Hellman parameters.
The file must use the PEM format.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_tmp_dh_file.overload1.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_tmp_dh_file.overload1.exceptions"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_tmp_dh_file.overload1.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">boost::system::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_tmp_dh_file.overload1.h2"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_tmp_dh_file.overload1.remarks"></a></span><a class="link" href="overload1.html#boost_asio.reference.ssl__context.use_tmp_dh_file.overload1.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_set_tmp_dh</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../use_tmp_dh_file.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_tmp_dh_file.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,81 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::use_tmp_dh_file (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../use_tmp_dh_file.html" title="ssl::context::use_tmp_dh_file">
<link rel="prev" href="overload1.html" title="ssl::context::use_tmp_dh_file (1 of 2 overloads)">
<link rel="next" href="../_context.html" title="ssl::context::~context">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_tmp_dh_file.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../_context.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.ssl__context.use_tmp_dh_file.overload2"></a><a class="link" href="overload2.html" title="ssl::context::use_tmp_dh_file (2 of 2 overloads)">ssl::context::use_tmp_dh_file
(2 of 2 overloads)</a>
</h5></div></div></div>
<p>
Use the specified file to obtain the temporary Diffie-Hellman parameters.
</p>
<pre class="programlisting">void use_tmp_dh_file(
const std::string &amp; filename,
boost::system::error_code &amp; ec);
</pre>
<p>
This function is used to load Diffie-Hellman parameters into the context
from a file.
</p>
<h6>
<a name="boost_asio.reference.ssl__context.use_tmp_dh_file.overload2.h0"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_tmp_dh_file.overload2.parameters"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.use_tmp_dh_file.overload2.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">filename</span></dt>
<dd><p>
The name of the file containing the Diffie-Hellman parameters.
The file must use the PEM format.
</p></dd>
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.ssl__context.use_tmp_dh_file.overload2.h1"></a>
<span class="phrase"><a name="boost_asio.reference.ssl__context.use_tmp_dh_file.overload2.remarks"></a></span><a class="link" href="overload2.html#boost_asio.reference.ssl__context.use_tmp_dh_file.overload2.remarks">Remarks</a>
</h6>
<p>
Calls <code class="computeroutput">SSL_CTX_set_tmp_dh</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_tmp_dh_file.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../_context.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>