/
SoRusV
/
esp32_https_server
Обзор
Документация
Войти
/
SoRusV
/
esp32_https_server
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/SSLCert_8hpp_source.html
113 строк
22 KB
Frank Hessel
Add generated documentation
27 авг 2019, 16:28
Не верифицирован
27 авг 2019, 16:28
dfaacb1
Код
Авторство
О чём код?
<!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>ESP32 HTTPS Server: /home/frank/Projekte/esp32/https_server/esp32_https_server/src/SSLCert.hpp Source File</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="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); </script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.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">ESP32 HTTPS Server </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.13 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); </script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){initNavTree('SSLCert_8hpp_source.html','');}); </script> <div id="doc-content"> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div class="header"> <div class="headertitle"> <div class="title">SSLCert.hpp</div> </div> </div><!--header--> <div class="contents"> <div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef SRC_SSLCERT_HPP_</span></div><div class="line"><a name="l00002">< … [Строка слишком длинная. Вы можете скачать файл] <div class="ttc" id="classhttpsserver_1_1SSLCert_html_a98ac0171081ce48684d5e7e15545cefc"><div class="ttname"><a href="classhttpsserver_1_1SSLCert.html#a98ac0171081ce48684d5e7e15545cefc">httpsserver::SSLCert::clear</a></div><div class="ttdeci">void clear()</div><div class="ttdoc">Clears the key buffers and deletes them. </div><div class="ttdef"><b>Definition:</b> SSLCert.cpp:44</div></div> <div class="ttc" id="namespacehttpsserver_html_abdec669031bd8d35895acf4ab78b0540a67f843a9321473661d7db6b337e7ddf9"><div class="ttname"><a href="namespacehttpsserver.html#abdec669031bd8d35895acf4ab78b0540a67f843a9321473661d7db6b337e7ddf9">httpsserver::KEYSIZE_2048</a></div><div class="ttdoc">RSA key with 2048 bit. </div><div class="ttdef"><b>Definition:</b> SSLCert.hpp:153</div></div> <div class="ttc" id="namespacehttpsserver_html_abdec669031bd8d35895acf4ab78b0540ae4cc1de2fea6a438e180a1e61f453627"><div class="ttname"><a href="namespacehttpsserver.html#abdec669031bd8d35895acf4ab78b0540ae4cc1de2fea6a438e180a1e61f453627">httpsserver::KEYSIZE_1024</a></div><div class="ttdoc">RSA key with 1024 bit. </div><div class="ttdef"><b>Definition:</b> SSLCert.hpp:151</div></div> <div class="ttc" id="classhttpsserver_1_1SSLCert_html_af207176d23d8de362e2302f0528a58d5"><div class="ttname"><a href="classhttpsserver_1_1SSLCert.html#af207176d23d8de362e2302f0528a58d5">httpsserver::SSLCert::getCertData</a></div><div class="ttdeci">unsigned char * getCertData()</div><div class="ttdoc">Returns the certificate data. </div><div class="ttdef"><b>Definition:</b> SSLCert.cpp:26</div></div> <div class="ttc" id="classhttpsserver_1_1SSLCert_html"><div class="ttname"><a href="classhttpsserver_1_1SSLCert.html">httpsserver::SSLCert</a></div><div class="ttdoc">Certificate and private key that can be passed to the HTTPSServer. </div><div class="ttdef"><b>Definition:</b> SSLCert.hpp:59</div></div> <div class="ttc" id="namespacehttpsserver_html_a0c2a1f6a28893f118e6980dab067d651"><div class="ttname"><a href="namespacehttpsserver.html#a0c2a1f6a28893f118e6980dab067d651">httpsserver::createSelfSignedCert</a></div><div class="ttdeci">int createSelfSignedCert(SSLCert &certCtx, SSLKeySize keySize, std::string dn, std::string validFrom, std::string validUntil)</div><div class="ttdoc">Creates a self-signed certificate on the ESP32. </div><div class="ttdef"><b>Definition:</b> SSLCert.cpp:287</div></div> <div class="ttc" id="classhttpsserver_1_1SSLCert_html_ad59dc48ab7c1a35afe02d737332de052"><div class="ttname"><a href="classhttpsserver_1_1SSLCert.html#ad59dc48ab7c1a35afe02d737332de052">httpsserver::SSLCert::SSLCert</a></div><div class="ttdeci">SSLCert(unsigned char *certData=NULL, uint16_t certLength=0, unsigned char *pkData=NULL, uint16_t pkLength=0)</div><div class="ttdoc">Creates a new SSLCert. </div><div class="ttdef"><b>Definition:</b> SSLCert.cpp:5</div></div> <div class="ttc" id="classhttpsserver_1_1SSLCert_html_ab55f58e4c49aa31e0e1a2a560248c14b"><div class="ttname"><a href="classhttpsserver_1_1SSLCert.html#ab55f58e4c49aa31e0e1a2a560248c14b">httpsserver::SSLCert::setCert</a></div><div class="ttdeci">void setCert(unsigned char *_certData, uint16_t length)</div><div class="ttdoc">Sets the certificate data in DER format. </div><div class="ttdef"><b>Definition:</b> SSLCert.cpp:39</div></div> <div class="ttc" id="classhttpsserver_1_1SSLCert_html_a53f54e9daaa5e86d7a6c203ea28b35bd"><div class="ttname"><a href="classhttpsserver_1_1SSLCert.html#a53f54e9daaa5e86d7a6c203ea28b35bd">httpsserver::SSLCert::getPKData</a></div><div class="ttdeci">unsigned char * getPKData()</div><div class="ttdoc">Returns the private key data. </div><div class="ttdef"><b>Definition:</b> SSLCert.cpp:30</div></div> <div class="ttc" id="namespacehttpsserver_html_abdec669031bd8d35895acf4ab78b0540ac85bb475fb6c09799af50bc28e5f3d44"><div class="ttname"><a href="namespacehttpsserver.html#abdec669031bd8d35895acf4ab78b0540ac85bb475fb6c09799af50bc28e5f3d44">httpsserver::KEYSIZE_4096</a></div><div class="ttdoc">RSA key with 4096 bit. </div><div class="ttdef"><b>Definition:</b> SSLCert.hpp:155</div></div> <div class="ttc" id="classhttpsserver_1_1SSLCert_html_a47015d793e39e101668cea8712c866bd"><div class="ttname"><a href="classhttpsserver_1_1SSLCert.html#a47015d793e39e101668cea8712c866bd">httpsserver::SSLCert::getCertLength</a></div><div class="ttdeci">uint16_t getCertLength()</div><div class="ttdoc">Returns the length of the certificate in byte. </div><div class="ttdef"><b>Definition:</b> SSLCert.cpp:18</div></div> <div class="ttc" id="namespacehttpsserver_html"><div class="ttname"><a href="namespacehttpsserver.html">httpsserver</a></div><div class="ttdef"><b>Definition:</b> ConnectionContext.cpp:3</div></div> <div class="ttc" id="classhttpsserver_1_1SSLCert_html_a31d7697c089188afb23545c22c26894e"><div class="ttname"><a href="classhttpsserver_1_1SSLCert.html#a31d7697c089188afb23545c22c26894e">httpsserver::SSLCert::setPK</a></div><div class="ttdeci">void setPK(unsigned char *_pkData, uint16_t length)</div><div class="ttdoc">Sets the private key in DER format. </div><div class="ttdef"><b>Definition:</b> SSLCert.cpp:34</div></div> <div class="ttc" id="namespacehttpsserver_html_abdec669031bd8d35895acf4ab78b0540"><div class="ttname"><a href="namespacehttpsserver.html#abdec669031bd8d35895acf4ab78b0540">httpsserver::SSLKeySize</a></div><div class="ttdeci">SSLKeySize</div><div class="ttdoc">Defines the key size for key generation. </div><div class="ttdef"><b>Definition:</b> SSLCert.hpp:149</div></div> </div><!-- fragment --></div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><b>SSLCert.hpp</b></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> </ul> </div> </body> </html>