Sophie

Sophie

distrib > PLD > ac > amd64 > media > dist > by-pkgid > 90467ea6a387df728f7218a11e972208 > files > 7842

kdelibs-apidocs-3.5.6-3.amd64.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!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" lang="en_US" xml:lang="en_US">

<head>
  <title>kio/kssl: KSSL Class Reference (kio/kssl)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <meta http-equiv="Content-Style-Type" content="text/css" />

  <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org"  r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org"  r (n 0 s 0 v 0 l 0))' />

  <meta name="trademark" content="KDE e.V." />
  <meta name="description" content="K Desktop Environment Homepage, KDE.org" />
  <meta name="MSSmartTagsPreventParsing" content="true" />
  <meta name="robots" content="all" />

  <link rel="shortcut icon" href="../../../favicon.ico" />

<link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" />



</head>

<body>

<div id="nav_header_top" align="right">
  <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a>

  <a href="../../.."><img id="nav_header_logo" alt="Home" align="left" src="../../../kde_gear_64.png" border="0" /></a>
  <span class="doNotDisplay">::</span>

  <div id="nav_header_title" align="left">KDE API Reference</div>


</div>

<div id="nav_header_bottom" align="right">
  <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span>
  <div id="nav_header_bottom_right" style="text-align: left;">
/ <a href="../../..">API Reference</a>
 / <a href="../../html/index.html">kio</a> / <a href=".">kssl</a>
  </div>
</div>


<table id="main" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
      <td valign="top" class="menuheader" height="0"></td>

  <td id="contentcolumn" valign="top" rowspan="2" >
    <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;">
    <a name="content"></a>


<!-- Generated by Doxygen 1.4.4 -->
<h1>KSSL Class Reference</h1><!-- doxytag: class="KSSL" --><code>#include &lt;<a class="el" href="kssl_8h-source.html">kssl.h</a>&gt;</code>
<p>
<a href="classKSSL-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
KDE SSL Wrapper ClassKDE SSL Class. 
<p>
This class implements KDE's SSL support by wrapping OpenSSL.<p>
<dl compact><dt><b>Author:</b></dt><dd>George Staikos &lt;<a href="mailto:staikos@kde.org">staikos@kde.org</a>&gt; </dd></dl>
<dl compact><dt><b>See also:</b></dt><dd>KExtendedSocket, TCPSlaveBase</dd></dl>

<p>

<p>
Definition at line <a class="el" href="kssl_8h-source.html#l00042">42</a> of file <a class="el" href="kssl_8h-source.html">kssl.h</a>.<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#a0">KSSL</a> (bool init=true)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#a1">~KSSL</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#a2">initialize</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#a3">TLSInit</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#a4">setSession</a> (const <a class="el" href="classKSSLSession.html">KSSLSession</a> *session)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#a5">close</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#a6">reInitialize</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#a7">reconfig</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#a8">setAutoReconfig</a> (bool ar)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#a9">seedWithEGD</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#a10">setSettings</a> (<a class="el" href="classKSSLSettings.html">KSSLSettings</a> *settings)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classKSSLSettings.html">KSSLSettings</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#a11">settings</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#a12">setClientCertificate</a> (<a class="el" href="classKSSLPKCS12.html">KSSLPKCS12</a> *pkcs)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#a13">setProxyUse</a> (bool active, <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> realIP=QString::null, int realPort=0, <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> proxy=QString::null) KDE_DEPRECATED</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#a14">setPeerHost</a> (<a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> realHost=QString::null)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#a15">connect</a> (int sock)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#a16">accept</a> (int sock)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#a17">read</a> (void *buf, int len)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#a18">peek</a> (void *buf, int len)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#a19">write</a> (const void *buf, int len)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#a20">pending</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classKSSLConnectionInfo.html">KSSLConnectionInfo</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#a21">connectionInfo</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classKSSLPeerInfo.html">KSSLPeerInfo</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#a22">peerInfo</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classKSSLSession.html">KSSLSession</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#a23">session</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#a24">reusingSession</a> () const </td></tr>

<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSSL.html#e0">doesSSLWork</a> ()</td></tr>

</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="a0"></a><!-- doxytag: member="KSSL::KSSL" ref="a0" args="(bool init=true)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">KSSL::KSSL           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">bool&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>init</em> = <code>true</code>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Construct a KSSL object. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>init</em>&nbsp;</td><td>Set this to false if you do not want this class to immediately initialize OpenSSL.</td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="kssl_8cc-source.html#l00083">83</a> of file <a class="el" href="kssl_8cc-source.html">kssl.cc</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="KSSL::~KSSL" ref="a1" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">KSSL::~KSSL           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Destroy this KSSL object. 
<p>
Does not close any socket.
<p>
Definition at line <a class="el" href="kssl_8cc-source.html#l00097">97</a> of file <a class="el" href="kssl_8cc-source.html">kssl.cc</a>.    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a16"></a><!-- doxytag: member="KSSL::accept" ref="a16" args="(int sock)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int KSSL::accept           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">int&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>sock</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Connect the SSL session to the remote host using the provided socket descriptor. 
<p>
This is for use with an SSL server application.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>sock</em>&nbsp;</td><td>the socket descriptor to connect with. This must be an already connected socket. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>1 on success, 0 on error setting the file descriptor, -1 on other error.</dd></dl>

<p>
Definition at line <a class="el" href="kssl_8cc-source.html#l00276">276</a> of file <a class="el" href="kssl_8cc-source.html">kssl.cc</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="KSSL::close" ref="a5" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void KSSL::close           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Close the SSL session. 
<p>

<p>
Definition at line <a class="el" href="kssl_8cc-source.html#l00231">231</a> of file <a class="el" href="kssl_8cc-source.html">kssl.cc</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a15"></a><!-- doxytag: member="KSSL::connect" ref="a15" args="(int sock)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int KSSL::connect           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">int&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>sock</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Connect the SSL session to the remote host using the provided socket descriptor. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>sock</em>&nbsp;</td><td>the socket descriptor to connect with. This must be an already connected socket. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>1 on success, 0 on error setting the file descriptor, -1 on other error.</dd></dl>

<p>
Definition at line <a class="el" href="kssl_8cc-source.html#l00367">367</a> of file <a class="el" href="kssl_8cc-source.html">kssl.cc</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a21"></a><!-- doxytag: member="KSSL::connectionInfo" ref="a21" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classKSSLConnectionInfo.html">KSSLConnectionInfo</a> &amp; KSSL::connectionInfo           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Obtain a reference to the connection information. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>a reference to the connection information, valid after connected </dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classKSSLConnectionInfo.html">KSSLConnectionInfo</a></dd></dl>

<p>
Definition at line <a class="el" href="kssl_8cc-source.html#l00622">622</a> of file <a class="el" href="kssl_8cc-source.html">kssl.cc</a>.    </td>
  </tr>
</table>
<a class="anchor" name="e0"></a><!-- doxytag: member="KSSL::doesSSLWork" ref="e0" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">bool KSSL::doesSSLWork           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [static]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Determine if SSL is available and works. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>true is SSL is available and usable</dd></dl>

<p>
Definition at line <a class="el" href="kssl_8cc-source.html#l00580">580</a> of file <a class="el" href="kssl_8cc-source.html">kssl.cc</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a2"></a><!-- doxytag: member="KSSL::initialize" ref="a2" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">bool KSSL::initialize           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Initialize OpenSSL. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>true on success</dd></dl>
This will do nothing if it is already initialized. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classKSSL.html#a6">reInitialize</a></dd></dl>

<p>
Definition at line <a class="el" href="kssl_8cc-source.html#l00162">162</a> of file <a class="el" href="kssl_8cc-source.html">kssl.cc</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a18"></a><!-- doxytag: member="KSSL::peek" ref="a18" args="(void *buf, int len)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int KSSL::peek           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void *&nbsp;</td>
          <td class="mdname" nowrap> <em>buf</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap> <em>len</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Peek at available data from the remote host via SSL. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>buf</em>&nbsp;</td><td>the buffer to read the data into. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>len</em>&nbsp;</td><td>the maximum length of data to read. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>the number of bytes read, 0 on an exception, or -1 on error.</dd></dl>

<p>
Definition at line <a class="el" href="kssl_8cc-source.html#l00478">478</a> of file <a class="el" href="kssl_8cc-source.html">kssl.cc</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a22"></a><!-- doxytag: member="KSSL::peerInfo" ref="a22" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classKSSLPeerInfo.html">KSSLPeerInfo</a> &amp; KSSL::peerInfo           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Obtain a reference to the information about the peer. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>a reference to the peer information, valid after connected </dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classKSSLPeerInfo.html">KSSLPeerInfo</a></dd></dl>

<p>
Definition at line <a class="el" href="kssl_8cc-source.html#l00637">637</a> of file <a class="el" href="kssl_8cc-source.html">kssl.cc</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a20"></a><!-- doxytag: member="KSSL::pending" ref="a20" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int KSSL::pending           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Determine if data is waiting to be read. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>-1 on error, 0 if no data is waiting, &gt; 0 if data is waiting.</dd></dl>

<p>
Definition at line <a class="el" href="kssl_8cc-source.html#l00467">467</a> of file <a class="el" href="kssl_8cc-source.html">kssl.cc</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a17"></a><!-- doxytag: member="KSSL::read" ref="a17" args="(void *buf, int len)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int KSSL::read           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void *&nbsp;</td>
          <td class="mdname" nowrap> <em>buf</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap> <em>len</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Read data from the remote host via SSL. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>buf</em>&nbsp;</td><td>the buffer to read the data into. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>len</em>&nbsp;</td><td>the maximum length of data to read. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>the number of bytes read, 0 on an exception, or -1 on error.</dd></dl>

<p>
Definition at line <a class="el" href="kssl_8cc-source.html#l00490">490</a> of file <a class="el" href="kssl_8cc-source.html">kssl.cc</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a7"></a><!-- doxytag: member="KSSL::reconfig" ref="a7" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">bool KSSL::reconfig           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Trigger a reread of KSSL configuration and <a class="el" href="classKSSL.html#a6">reInitialize()</a> KSSL. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>true on successful reinitalizations</dd></dl>
If you <a class="el" href="classKSSL.html#a8">setAutoReconfig()</a> to false, then this will simply <a class="el" href="classKSSL.html#a6">reInitialize()</a> and not read in the new configuration. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classKSSL.html#a8">setAutoReconfig</a></dd></dl>

<p>
Definition at line <a class="el" href="kssl_8cc-source.html#l00557">557</a> of file <a class="el" href="kssl_8cc-source.html">kssl.cc</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a6"></a><!-- doxytag: member="KSSL::reInitialize" ref="a6" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">bool KSSL::reInitialize           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Reinitialize OpenSSL. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>true on success</dd></dl>
This is not generally needed unless you are reusing the KSSL object for a new session. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classKSSL.html#a2">initialize</a></dd></dl>

<p>
Definition at line <a class="el" href="kssl_8cc-source.html#l00256">256</a> of file <a class="el" href="kssl_8cc-source.html">kssl.cc</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a24"></a><!-- doxytag: member="KSSL::reusingSession" ref="a24" args="() const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">bool KSSL::reusingSession           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Determine if we are currently reusing an SSL session ID. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>true if we are reusing a session ID.</dd></dl>

<p>
Definition at line <a class="el" href="kssl_8cc-source.html#l00680">680</a> of file <a class="el" href="kssl_8cc-source.html">kssl.cc</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a9"></a><!-- doxytag: member="KSSL::seedWithEGD" ref="a9" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int KSSL::seedWithEGD           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This will reseed the pseudo-random number generator with the EGD (entropy gathering daemon) if the EGD is configured and enabled. 
<p>
You don't need to call this yourself normally.<p>
<dl compact><dt><b>Returns:</b></dt><dd>0 on success</dd></dl>

<p>
Definition at line <a class="el" href="kssl_8cc-source.html#l00104">104</a> of file <a class="el" href="kssl_8cc-source.html">kssl.cc</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a23"></a><!-- doxytag: member="KSSL::session" ref="a23" args="() const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">const <a class="el" href="classKSSLSession.html">KSSLSession</a> * KSSL::session           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Obtain a pointer to the session information. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>a pointer to the session information. This is valid after connected, while connected. It is deleted by the KSSL object which returns it. May return 0L if no valid session exists. </dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classKSSLSession.html">KSSLSession</a></dd></dl>

<p>
Definition at line <a class="el" href="kssl_8cc-source.html#l00676">676</a> of file <a class="el" href="kssl_8cc-source.html">kssl.cc</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a8"></a><!-- doxytag: member="KSSL::setAutoReconfig" ref="a8" args="(bool ar)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void KSSL::setAutoReconfig           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">bool&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>ar</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Enable or disable automatic reconfiguration on <a class="el" href="classKSSL.html#a2">initialize()</a>. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>ar</em>&nbsp;</td><td>Set to false in order to disable auto-reloading of the KSSL configuration during <a class="el" href="classKSSL.html#a2">initialize()</a>.</td></tr>
  </table>
</dl>
By default, KSSL will read its configuration on <a class="el" href="classKSSL.html#a2">initialize()</a>. You might want to disable this for performance reasons.
<p>
Definition at line <a class="el" href="kssl_8cc-source.html#l00562">562</a> of file <a class="el" href="kssl_8cc-source.html">kssl.cc</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a12"></a><!-- doxytag: member="KSSL::setClientCertificate" ref="a12" args="(KSSLPKCS12 *pkcs)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">bool KSSL::setClientCertificate           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classKSSLPKCS12.html">KSSLPKCS12</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>pkcs</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Use this to set the certificate to send to the server. 
<p>
Do NOT delete the <a class="el" href="classKSSLPKCS12.html">KSSLPKCS12</a> object until you are done with the session. It is not defined when KSSL will be done with this.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pkcs</em>&nbsp;</td><td>the valid PKCS#12 object to send.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>true if the certificate was properly set to the session.</dd></dl>

<p>
Definition at line <a class="el" href="kssl_8cc-source.html#l00642">642</a> of file <a class="el" href="kssl_8cc-source.html">kssl.cc</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a14"></a><!-- doxytag: member="KSSL::setPeerHost" ref="a14" args="(QString realHost=QString::null)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void KSSL::setPeerHost           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>realHost</em> = <code>QString::null</code>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set the peer hostname to be used for certificate verification. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>realHost</em>&nbsp;</td><td>the remote hostname as the user believes to be connecting to</td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="kssl_8cc-source.html#l00628">628</a> of file <a class="el" href="kssl_8cc-source.html">kssl.cc</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a13"></a><!-- doxytag: member="KSSL::setProxyUse" ref="a13" args="(bool active, QString realIP=QString::null, int realPort=0, QString proxy=QString::null) KDE_DEPRECATED" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void KSSL::setProxyUse           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">bool&nbsp;</td>
          <td class="mdname" nowrap> <em>active</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>realIP</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap> <em>realPort</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>proxy</em> = <code>QString::null</code></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set the status of the connection with respect to proxies. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>active</em>&nbsp;</td><td>is not used </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>realIP</em>&nbsp;</td><td>is the IP address of the host you're connecting to </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>realPort</em>&nbsp;</td><td>is the port of the host you're connecting to </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>proxy</em>&nbsp;</td><td>is the IP or hostname of the proxy server </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000001">Deprecated:</a></b></dt><dd></dd></dl>

<p>
Definition at line <a class="el" href="kssl_8cc-source.html#l00633">633</a> of file <a class="el" href="kssl_8cc-source.html">kssl.cc</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="KSSL::setSession" ref="a4" args="(const KSSLSession *session)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">bool KSSL::setSession           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classKSSLSession.html">KSSLSession</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>session</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set an SSL session to use. 
<p>
This deep copies the session so it doesn't have to remain valid. You need to call it after calling initialize or reInitialize. The ID is cleared in <a class="el" href="classKSSL.html#a5">close()</a>.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>session</em>&nbsp;</td><td>A valid session to reuse. If 0L, it will clear the session ID in memory.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>true on success</dd></dl>

<p>
Definition at line <a class="el" href="kssl_8cc-source.html#l00210">210</a> of file <a class="el" href="kssl_8cc-source.html">kssl.cc</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a10"></a><!-- doxytag: member="KSSL::setSettings" ref="a10" args="(KSSLSettings *settings)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">bool KSSL::setSettings           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classKSSLSettings.html">KSSLSettings</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>settings</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set a new <a class="el" href="classKSSLSettings.html">KSSLSettings</a> instance as the settings. 
<p>
This deletes the current instance of <a class="el" href="classKSSLSettings.html">KSSLSettings</a>.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>settings</em>&nbsp;</td><td>A new, valid settings object.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>true on success</dd></dl>

<p>
Definition at line <a class="el" href="kssl_8cc-source.html#l00567">567</a> of file <a class="el" href="kssl_8cc-source.html">kssl.cc</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a11"></a><!-- doxytag: member="KSSL::settings" ref="a11" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classKSSLSettings.html">KSSLSettings</a>* KSSL::settings           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
One is built by the constructor, so this will only return a NULL pointer if you set one with <a class="el" href="classKSSL.html#a10">setSettings()</a>. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>the current settings instance</dd></dl>

<p>
Definition at line <a class="el" href="kssl_8h-source.html#l00159">159</a> of file <a class="el" href="kssl_8h-source.html">kssl.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a3"></a><!-- doxytag: member="KSSL::TLSInit" ref="a3" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">bool KSSL::TLSInit           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This is used for applicationss which do STARTTLS or something similar. 
<p>
It creates a TLS method regardless of the user's settings.<p>
<dl compact><dt><b>Returns:</b></dt><dd>true if TLS is successfully initialized</dd></dl>

<p>
Definition at line <a class="el" href="kssl_8cc-source.html#l00125">125</a> of file <a class="el" href="kssl_8cc-source.html">kssl.cc</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a19"></a><!-- doxytag: member="KSSL::write" ref="a19" args="(const void *buf, int len)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int KSSL::write           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const void *&nbsp;</td>
          <td class="mdname" nowrap> <em>buf</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap> <em>len</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Write data to the remote host via SSL. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>buf</em>&nbsp;</td><td>the buffer to read the data from. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>len</em>&nbsp;</td><td>the length of data to send from the buffer. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>the number of bytes written, 0 on an exception, or -1 on error.</dd></dl>

<p>
Definition at line <a class="el" href="kssl_8cc-source.html#l00529">529</a> of file <a class="el" href="kssl_8cc-source.html">kssl.cc</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="kssl_8h-source.html">kssl.h</a><li><a class="el" href="kssl_8cc-source.html">kssl.cc</a></ul>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>kio/kssl</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="dirs.html">Directories</a></li><li><a href="functions.html">Class Members</a></li><li><a href="pages.html">Related Pages</a></li></ul>
<!--
<h2>Class Picker</h2>
<div style="text-align: center;">
<form name="guideform">
<select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<option value="annotated.html">-- Choose --</option>
  <option value="classKGWizardPage1.html">kgwizardpage1</option>,  <option value="classKGWizardPage2.html">kgwizardpage2</option>,  <option value="classKOpenSSLProxy.html">kopensslproxy</option>,  <option value="classKSMIMECrypto.html">ksmimecrypto</option>,  <option value="classKSSL.html">kssl</option>,  <option value="classKSSLCertBox.html">ksslcertbox</option>,  <option value="classKSSLCertChain.html">ksslcertchain</option>,  <option value="classKSSLCertDlg.html">ksslcertdlg</option>,  <option value="classKSSLCertDlgRet.html">ksslcertdlgret</option>,  <option value="classKSSLCertificate.html">ksslcertificate</option>,  <option value="classKSSLCertificateCache.html">ksslcertificatecache</option>,  <option value="classKSSLCertificateFactory.html">ksslcertificatefactory</option>,  <option value="classKSSLCertificateHome.html">ksslcertificatehome</option>,  <option value="classKSSLConnectionInfo.html">ksslconnectioninfo</option>,  <option value="classKSSLCSessionCache.html">ksslcsessioncache</option>,  <option value="classKSSLInfoDlg.html">ksslinfodlg</option>,  <option value="classKSSLKeyGen.html">ksslkeygen</option>,  <option value="classKSSLPeerInfo.html">ksslpeerinfo</option>,  <option value="classKSSLPKCS12.html">ksslpkcs12</option>,  <option value="classKSSLPKCS7.html">ksslpkcs7</option>,  <option value="classKSSLSession.html">ksslsession</option>,  <option value="classKSSLSettings.html">ksslsettings</option>,  <option value="classKSSLSigners.html">ksslsigners</option>,  <option value="classKSSLX509Map.html">ksslx509map</option>,  <option value="classKSSLX509V3.html">ksslx509v3</option>,
</select>
</form>
</div>
-->
</div></div>
<div class="menu_box"><h2>API Dox</h2>
<div class="nav_list">
<ul>
<li><a href="../../../arts/html/index.html">arts</a></li><li><a href="../../../dcop/html/index.html">dcop</a></li><li><a href="../../../dnssd/html/index.html">dnssd</a></li><li><a href="../../../interfaces/html/index.html">interfaces</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../../interfaces/kimproxy/library/html/index.html">library</a></li><li>&nbsp;&nbsp;<a href="../../../interfaces/kspeech/html/index.html">kspeech</a></li><li>&nbsp;&nbsp;<a href="../../../interfaces/ktexteditor/html/index.html">ktexteditor</a></li><li><a href="../../../kabc/html/index.html">kabc</a></li><li><a href="../../../kate/html/index.html">kate</a></li><li><a href="../../../kcmshell/html/index.html">kcmshell</a></li><li><a href="../../../kdecore/html/index.html">kdecore</a></li><li><a href="../../../kded/html/index.html">kded</a></li><li><a href="../../../kdefx/html/index.html">kdefx</a></li><li><a href="../../../kdeprint/html/index.html">kdeprint</a></li><li><a href="../../../kdesu/html/index.html">kdesu</a></li><li><a href="../../../kdeui/html/index.html">kdeui</a></li><li><a href="../../../kdoctools/html/index.html">kdoctools</a></li><li><a href="../../../khtml/html/index.html">khtml</a></li><li><a href="../../../kimgio/html/index.html">kimgio</a></li><li><a href="../../../kinit/html/index.html">kinit</a></li><li><a href="../../../kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../../kio/bookmarks/html/index.html">bookmarks</a></li><li>&nbsp;&nbsp;<a href="../../../kio/httpfilter/html/index.html">httpfilter</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kfile/html/index.html">kfile</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kioexec/html/index.html">kioexec</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../../kioslave/html/index.html">kioslave</a></li><li>&nbsp;&nbsp;<a href="../../../kioslave/http/html/index.html">http</a></li><li><a href="../../../kjs/html/index.html">kjs</a></li><li><a href="../../../kmdi/html/index.html">kmdi</a></li><li>&nbsp;&nbsp;<a href="../../../kmdi/kmdi/html/index.html">kmdi</a></li><li><a href="../../../knewstuff/html/index.html">knewstuff</a></li><li><a href="../../../kparts/html/index.html">kparts</a></li><li><a href="../../../kresources/html/index.html">kresources</a></li><li><a href="../../../kspell2/html/index.html">kspell2</a></li><li><a href="../../../kunittest/html/index.html">kunittest</a></li><li><a href="../../../kutils/html/index.html">kutils</a></li><li><a href="../../../kwallet/html/index.html">kwallet</a></li><li><a href="../../../libkmid/html/index.html">libkmid</a></li><li><a href="../../../libkscreensaver/html/index.html">libkscreensaver</a></li>
</ul></div></div>


        </td>
</tr>
</table>

<span class="doNotDisplay">
  <a href="http://www.kde.org/" accesskey="8">KDE Home</a> |
  <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> |
  <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a>
</span>


<div style="height: 8px"></div>

<div id="footer">
  <div id="footer_left">
    Maintained by <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;groo&#116;&#64;kde&#46;or&#x67;">Adriaan de Groot</a>
and
<a href="&#109;a&#105;&#108;&#116;&#111;&#58;w&#105;nter&#64;kde&#46;or&#x67">Allen Winter</a>.
<br/>
    KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
    <a href="http://www.kde.org/contact/impressum.php">Legal</a>
  </div>
  <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div>
</div>

<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a>
WARNING END
-->

</body>
</html>