<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.13"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>mbed TLS v2.7.8: SSL/TLS communication module</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">mbed TLS v2.7.8 </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.13 --> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> $(function() { initMenu('',false,false,'search.php','Search'); }); </script> <div id="main-nav"></div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">SSL/TLS communication module</div> </div> </div><!--header--> <div class="contents"> <p>The SSL/TLS communication module provides the means to create an SSL/TLS communication channel.</p> <p>The basic provisions are:</p><ul> <li>initialise an SSL/TLS context (see <code><a class="el" href="ssl_8h.html#a8560dea66d7830a11874188727ec4c45" title="Initialize an SSL context Just makes the context ready for mbedtls_ssl_setup() or mbedtls_ssl_free() ...">mbedtls_ssl_init()</a></code>).</li> <li>perform an SSL/TLS handshake (see <code><a class="el" href="ssl_8h.html#a4a37e497cd08c896870a42b1b618186e" title="Perform the SSL handshake. ">mbedtls_ssl_handshake()</a></code>).</li> <li>read/write (see <code><a class="el" href="ssl_8h.html#aa2c29eeb1deaf5ad9f01a7515006ede5" title="Read at most 'len' application data bytes. ">mbedtls_ssl_read()</a></code> and <code><a class="el" href="ssl_8h.html#a5bbda87d484de82df730758b475f32e5" title="Try to write exactly 'len' application data bytes. ">mbedtls_ssl_write()</a></code>).</li> <li>notify a peer that connection is being closed (see <code><a class="el" href="ssl_8h.html#ac2c1b17128ead2df3082e27b603deb4c" title="Notify the peer that the connection is being closed. ">mbedtls_ssl_close_notify()</a></code>).</li> </ul> <p>Many aspects of such a channel are set through parameters and callback functions:</p><ul> <li>the endpoint role: client or server.</li> <li>the authentication mode. Should verification take place.</li> <li>the Host-to-host communication channel. A TCP/IP module is provided.</li> <li>the random number generator (RNG).</li> <li>the ciphers to use for encryption/decryption.</li> <li>session control functions.</li> <li>X.509 parameters for certificate-handling and key exchange.</li> </ul> <p>This module can be used to create an SSL/TLS server and client and to provide a basic framework to setup and communicate through an SSL/TLS communication channel.<br /> Note that you need to provide for several aspects yourself as mentioned above. </p> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Tue Jan 1 2019 18:27:18 for mbed TLS v2.7.8 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> </body> </html>