<ahref="_s_s_l_session_8h.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> <spanclass="comment">/* Copyright 2019 OSU OPEnS Lab</span></div><divclass="line"><aname="l00002"></a><spanclass="lineno"> 2</span> <spanclass="comment"> *</span></div><divclass="line"><aname="l00003"></a><spanclass="lineno"> 3</span> <spanclass="comment"> * Permission is hereby granted, free of charge, to any person obtaining a copy of this</span></div><divclass="line"><aname="l00004"></a><spanclass="lineno"> 4</span> <spanclass="comment"> * software and associated documentation files (the "Software"), to deal in the Software</span></div><divclass="line"><aname="l00005"></a><spanclass="lineno"> 5</span> <spanclass="comment"> * without restriction, including without limitation the rights to use, copy, modify,</span></div><divclass="line"><aname="l00006"></a><spanclass="lineno"> 6</span> <spanclass="comment"> * merge, publish, distribute, sublicense, and/or sell copies of the Software, and to</span></div><divclass="line"><aname="l00007"></a><spanclass="lineno"> 7</span> <spanclass="comment"> * permit persons to whom the Software is furnished to do so, subject to the following</span></div><divclass="line"><aname="l00008"></a><spanclass="lineno"> 8</span> <spanclass="comment"> * conditions:</span></div><divclass="line"><aname="l00009"></a><spanclass="lineno"> 9</span> <spanclass="comment"> *</span></div><divclass="line"><aname="l00010"></a><spanclass="lineno"> 10</span> <spanclass="comment"> * The above copyright notice and this permission notice shall be included in all</span></div><divclass="line"><aname="l00011"></a><spanclass="lineno"> 11</span> <spanclass="comment"> * copies or substantial portions of the Software.</span></div><divclass="line"><aname="l00012"></a><spanclass="lineno"> 12</span> <spanclass="comment"> *</span></div><divclass="line"><aname="l00013"></a><spanclass="lineno"> 13</span> <spanclass="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,</span></div><divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> <spanclass="comment"> * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A</span></div><divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="comment"> * PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT</span></div><divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="comment"> * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION</span></div><divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="comment"> * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE</span></div><divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> <spanclass="comment"> * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</span></div><divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> <spanclass="comment"> */</span></div><divclass="line"><aname="l00020"></a><spanclass="lineno"> 20</span> </div><divclass="line"><aname="l00028"></a><spanclass="lineno"> 28</span> <spanclass="preprocessor">#include "bearssl.h"</span></div><divclass="line"><aname="l00029"></a><spanclass="lineno"> 29</span> <spanclass="preprocessor">#include "Arduino.h"</span></div><divclass="line"><aname="l00030"></a><spanclass="lineno"> 30</span> <spanclass="preprocessor">#include "IPAddress.h"</span></div><divclass="line"><aname="l00031"></a><spanclass="lineno"> 31</span> </div><divclass="line"><aname="l00032"></a><spanclass="lineno"> 32</span> <spanclass="preprocessor">#ifndef SSLSession_H_</s
<divclass="ttc"id="class_s_s_l_session_html_acbe6549b55d50541d09a16f770e65afc"><divclass="ttname"><ahref="class_s_s_l_session.html#acbe6549b55d50541d09a16f770e65afc">SSLSession::to_br_session</a></div><divclass="ttdeci">br_ssl_session_parameters * to_br_session()</div><divclass="ttdoc">Returns a pointer to the ::br_ssl_session_parameters component of this class.</div><divclass="ttdef"><b>Definition:</b> SSLSession.h:121</div></div>
<divclass="ttc"id="class_s_s_l_session_html_a2fa15ce0b7caae25dfb567954175257e"><divclass="ttname"><ahref="class_s_s_l_session.html#a2fa15ce0b7caae25dfb567954175257e">SSLSession::set_parameters</a></div><divclass="ttdeci">void set_parameters(const IPAddress &ip, const char *hostname=NULL)</div><divclass="ttdoc">Set the ip address and hostname of the session.</div><divclass="ttdef"><b>Definition:</b> SSLSession.cpp:4</div></div>
<divclass="ttc"id="class_s_s_l_session_html_a3305941fa615f7134526b718917716ee"><divclass="ttname"><ahref="class_s_s_l_session.html#a3305941fa615f7134526b718917716ee">SSLSession::clear_parameters</a></div><divclass="ttdeci">void clear_parameters()</div><divclass="ttdoc">Delete the parameters and invalidate the session.</div><divclass="ttdef"><b>Definition:</b> SSLSession.cpp:19</div></div>
<divclass="ttc"id="class_s_s_l_session_html_abb3f7bbe70e3a59f9ce492c55507f36f"><divclass="ttname"><ahref="class_s_s_l_session.html#abb3f7bbe70e3a59f9ce492c55507f36f">SSLSession::operator=</a></div><divclass="ttdeci">SSLSession & operator=(const SSLSession &)=delete</div><divclass="ttdoc">use clear_parameters or set_parameters instead</div></div>
<divclass="ttc"id="class_s_s_l_session_html_a878e1e8788634c5c42778369fbf7bab0"><divclass="ttname"><ahref="class_s_s_l_session.html#a878e1e8788634c5c42778369fbf7bab0">SSLSession::get_ip</a></div><divclass="ttdeci">const IPAddress & get_ip() const</div><divclass="ttdoc">Get ::IPAddress associated with this session.</div><divclass="ttdef"><b>Definition:</b> SSLSession.h:86</div></div>
<divclass="ttc"id="class_s_s_l_session_html_a825373c5ba1aa6c45e74dc8a72b21820"><divclass="ttname"><ahref="class_s_s_l_session.html#a825373c5ba1aa6c45e74dc8a72b21820">SSLSession::get_hostname</a></div><divclass="ttdeci">const String & get_hostname() const</div><divclass="ttdoc">Get the hostname string associated with this session.</div><divclass="ttdef"><b>Definition:</b> SSLSession.h:76</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<divid="nav-path"class="navpath"><!-- id is needed for treeview function! -->