1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>ssl::context::method</title> 5<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> 8<link rel="up" href="../ssl__context.html" title="ssl::context"> 9<link rel="prev" href="load_verify_file/overload2.html" title="ssl::context::load_verify_file (2 of 2 overloads)"> 10<link rel="next" href="native_handle.html" title="ssl::context::native_handle"> 11</head> 12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 13<table cellpadding="2" width="100%"><tr> 14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> 15<td align="center"><a href="../../../../../index.html">Home</a></td> 16<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> 17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> 18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> 19<td align="center"><a href="../../../../../more/index.htm">More</a></td> 20</tr></table> 21<hr> 22<div class="spirit-nav"> 23<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> 24</div> 25<div class="section"> 26<div class="titlepage"><div><div><h4 class="title"> 27<a name="boost_asio.reference.ssl__context.method"></a><a class="link" href="method.html" title="ssl::context::method">ssl::context::method</a> 28</h4></div></div></div> 29<p> 30 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method"></a> 31Different methods 32 supported by a context. 33 </p> 34<pre class="programlisting">enum method 35</pre> 36<p> 37 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv2"></a> 38 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv2_client"></a> 39 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv2_server"></a> 40 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv3"></a> 41 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv3_client"></a> 42 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv3_server"></a> 43 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv1"></a> 44 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv1_client"></a> 45 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv1_server"></a> 46 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv23"></a> 47 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv23_client"></a> 48 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv23_server"></a> 49 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv11"></a> 50 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv11_client"></a> 51 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv11_server"></a> 52 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv12"></a> 53 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv12_client"></a> 54 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv12_server"></a> 55 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv13"></a> 56 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv13_client"></a> 57 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv13_server"></a> 58 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tls"></a> 59 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tls_client"></a> 60 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tls_server"></a> 61 </p> 62<h6> 63<a name="boost_asio.reference.ssl__context.method.h0"></a> 64 <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> 65 </h6> 66<div class="variablelist"> 67<p class="title"><b></b></p> 68<dl class="variablelist"> 69<dt><span class="term">sslv2</span></dt> 70<dd><p> 71 Generic SSL version 2. 72 </p></dd> 73<dt><span class="term">sslv2_client</span></dt> 74<dd><p> 75 SSL version 2 client. 76 </p></dd> 77<dt><span class="term">sslv2_server</span></dt> 78<dd><p> 79 SSL version 2 server. 80 </p></dd> 81<dt><span class="term">sslv3</span></dt> 82<dd><p> 83 Generic SSL version 3. 84 </p></dd> 85<dt><span class="term">sslv3_client</span></dt> 86<dd><p> 87 SSL version 3 client. 88 </p></dd> 89<dt><span class="term">sslv3_server</span></dt> 90<dd><p> 91 SSL version 3 server. 92 </p></dd> 93<dt><span class="term">tlsv1</span></dt> 94<dd><p> 95 Generic TLS version 1. 96 </p></dd> 97<dt><span class="term">tlsv1_client</span></dt> 98<dd><p> 99 TLS version 1 client. 100 </p></dd> 101<dt><span class="term">tlsv1_server</span></dt> 102<dd><p> 103 TLS version 1 server. 104 </p></dd> 105<dt><span class="term">sslv23</span></dt> 106<dd><p> 107 Generic SSL/TLS. 108 </p></dd> 109<dt><span class="term">sslv23_client</span></dt> 110<dd><p> 111 SSL/TLS client. 112 </p></dd> 113<dt><span class="term">sslv23_server</span></dt> 114<dd><p> 115 SSL/TLS server. 116 </p></dd> 117<dt><span class="term">tlsv11</span></dt> 118<dd><p> 119 Generic TLS version 1.1. 120 </p></dd> 121<dt><span class="term">tlsv11_client</span></dt> 122<dd><p> 123 TLS version 1.1 client. 124 </p></dd> 125<dt><span class="term">tlsv11_server</span></dt> 126<dd><p> 127 TLS version 1.1 server. 128 </p></dd> 129<dt><span class="term">tlsv12</span></dt> 130<dd><p> 131 Generic TLS version 1.2. 132 </p></dd> 133<dt><span class="term">tlsv12_client</span></dt> 134<dd><p> 135 TLS version 1.2 client. 136 </p></dd> 137<dt><span class="term">tlsv12_server</span></dt> 138<dd><p> 139 TLS version 1.2 server. 140 </p></dd> 141<dt><span class="term">tlsv13</span></dt> 142<dd><p> 143 Generic TLS version 1.3. 144 </p></dd> 145<dt><span class="term">tlsv13_client</span></dt> 146<dd><p> 147 TLS version 1.3 client. 148 </p></dd> 149<dt><span class="term">tlsv13_server</span></dt> 150<dd><p> 151 TLS version 1.3 server. 152 </p></dd> 153<dt><span class="term">tls</span></dt> 154<dd><p> 155 Generic TLS. 156 </p></dd> 157<dt><span class="term">tls_client</span></dt> 158<dd><p> 159 TLS client. 160 </p></dd> 161<dt><span class="term">tls_server</span></dt> 162<dd><p> 163 TLS server. 164 </p></dd> 165</dl> 166</div> 167</div> 168<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 169<td align="left"></td> 170<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M. 171 Kohlhoff<p> 172 Distributed under the Boost Software License, Version 1.0. (See accompanying 173 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>) 174 </p> 175</div></td> 176</tr></table> 177<hr> 178<div class="spirit-nav"> 179<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> 180</div> 181</body> 182</html> 183