<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>ne7ssh.kdevelop: ne7ssh_string Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.9 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>ne7ssh_string Class Reference</h1><!-- doxytag: class="ne7ssh_string" --><code>#include <<a class="el" href="ne7ssh__string_8h_source.html">ne7ssh_string.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for ne7ssh_string:</div> <div class="dynsection"> <p><center><img src="classne7ssh__string__inherit__graph.png" border="0" usemap="#ne7ssh__string__inherit__map" alt="Inheritance graph"></center> <map name="ne7ssh__string__inherit__map"> <area shape="rect" href="classNe7sshSftpPacket.html" title="Ne7sshSftpPacket" alt="" coords="5,84,144,111"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classne7ssh__string-members.html">List of all members.</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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#b4419d40aa0e062b15741e30b5c6f9d4">ne7ssh_string</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#be71d3df44c082323c12fb14ceb3b23e">ne7ssh_string</a> (Botan::SecureVector< Botan::byte > &var, uint32 position)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#e4d4951b32a58f171e225194c4d0e873">ne7ssh_string</a> (const char *var, uint32 position)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#0b8fd6571f6e272c199521d1badecea6">~ne7ssh_string</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#878cacf6b1fc6e1ae561584444e13db9">clear</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#28ea3ddaf5f19c6202bd173c990ed835">addString</a> (const char *str)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#2fdcd0fa8215c6ce73ec8dc61f7ae8c5">addFile</a> (const char *filename)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#4bf8792affeb750976e18f658eeba5ee">addBytes</a> (const Botan::byte *buff, uint32 len)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#f0e0658970d00f271b5053130e294ee4">addVector</a> (Botan::SecureVector< Botan::byte > &secvec)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#e5925806510ef106e1435640b6010bc7">addVectorField</a> (const Botan::SecureVector< Botan::byte > &vector)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#b746c998869885e043ff1db422c8ebf5">addChar</a> (const char ch)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#387c791ce256b9a3747f654596b5945f">addInt</a> (const uint32 var)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#477f55539eb249bda2a7c311f2639437">addBigInt</a> (const Botan::BigInt &bn)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual Botan::SecureVector<br class="typebreak"> < Botan::byte > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#b593c45799f28af90922b7a8332e1a9f">value</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">uint32 </td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#0b70fd63fc4dd1d5badce895d318b117">length</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#6437d3125dd58e4d71bd0e0351a315ec">getString</a> (Botan::SecureVector< Botan::byte > &result)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#f0e1783a46f61bce09daa9cbd3a1a64b">getBigInt</a> (Botan::BigInt &result)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">uint32 </td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#d7cb4926f971ecbe25a03bca59d0e6bb">getInt</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">Botan::byte </td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#231e8c002067934db84921f4bdc1c467">getByte</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#47f06a2606e6982a2741de59be7ea786">split</a> (const char token)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#ea5ca8a3645c570af9f03bc4f9bdc523">resetParts</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#198a4c462ea4e73314c81003f09c98bd">nextPart</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#722e2787d24d59b0432fa9a1b38f0aa2">chop</a> (uint32 nBytes)</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 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#7c1276275a551da4dc460a7f9e8884eb">bn2vector</a> (Botan::SecureVector< Botan::byte > &result, const Botan::BigInt &bi)</td></tr> <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d0ff1a219f2a6fa5077e7fcf0624fc30"></a><!-- doxytag: member="ne7ssh_string::buffer" ref="d0ff1a219f2a6fa5077e7fcf0624fc30" args="" --> Botan::SecureVector< Botan::byte > </td><td class="memItemRight" valign="bottom"><b>buffer</b></td></tr> <tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c2a1ee69d077818781f7488316f4db9f"></a><!-- doxytag: member="ne7ssh_string::positions" ref="c2a1ee69d077818781f7488316f4db9f" args="" --> Botan::byte ** </td><td class="memItemRight" valign="bottom"><b>positions</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="06551b0d7991a55ef812939744611cff"></a><!-- doxytag: member="ne7ssh_string::parts" ref="06551b0d7991a55ef812939744611cff" args="" --> uint32 </td><td class="memItemRight" valign="bottom"><b>parts</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c8d1584b4a2becfde5ccd47a24f805f2"></a><!-- doxytag: member="ne7ssh_string::currentPart" ref="c8d1584b4a2becfde5ccd47a24f805f2" args="" --> uint32 </td><td class="memItemRight" valign="bottom"><b>currentPart</b></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <dl class="author" compact><dt><b>Author:</b></dt><dd>Andrew Useckas </dd></dl> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="b4419d40aa0e062b15741e30b5c6f9d4"></a><!-- doxytag: member="ne7ssh_string::ne7ssh_string" ref="b4419d40aa0e062b15741e30b5c6f9d4" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">ne7ssh_string::ne7ssh_string </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> <a class="el" href="classne7ssh__string.html">ne7ssh_string</a> class default consturctor. <p> Zeros out 'positions' and 'parts'. </div> </div><p> <a class="anchor" name="be71d3df44c082323c12fb14ceb3b23e"></a><!-- doxytag: member="ne7ssh_string::ne7ssh_string" ref="be71d3df44c082323c12fb14ceb3b23e" args="(Botan::SecureVector< Botan::byte > &var, uint32 position)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">ne7ssh_string::ne7ssh_string </td> <td>(</td> <td class="paramtype">Botan::SecureVector< Botan::byte > & </td> <td class="paramname"> <em>var</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">uint32 </td> <td class="paramname"> <em>position</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> <a class="el" href="classne7ssh__string.html">ne7ssh_string</a> class consturctor. <p> Takes a vector as an argument and places the data into 'buffer'. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>var</em> </td><td>Reference to a vector containing a string. </td></tr> <tr><td valign="top"></td><td valign="top"><em>position</em> </td><td>Position in the vector to start reading from. If '0', the entire vector is dumped into 'buffer'. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="e4d4951b32a58f171e225194c4d0e873"></a><!-- doxytag: member="ne7ssh_string::ne7ssh_string" ref="e4d4951b32a58f171e225194c4d0e873" args="(const char *var, uint32 position)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">ne7ssh_string::ne7ssh_string </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>var</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">uint32 </td> <td class="paramname"> <em>position</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> Same as above costructor, but instead of vector it works with a string (const char*). <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>var</em> </td><td>Pointer to a string terminated by '/0'. </td></tr> <tr><td valign="top"></td><td valign="top"><em>position</em> </td><td>Read from this position onwards. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="0b8fd6571f6e272c199521d1badecea6"></a><!-- doxytag: member="ne7ssh_string::~ne7ssh_string" ref="0b8fd6571f6e272c199521d1badecea6" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">ne7ssh_string::~ne7ssh_string </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <a class="el" href="classne7ssh__string.html">ne7ssh_string</a> class destructor. </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="477f55539eb249bda2a7c311f2639437"></a><!-- doxytag: member="ne7ssh_string::addBigInt" ref="477f55539eb249bda2a7c311f2639437" args="(const Botan::BigInt &bn)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ne7ssh_string::addBigInt </td> <td>(</td> <td class="paramtype">const Botan::BigInt & </td> <td class="paramname"> <em>bn</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Adds a BigInt variable to the buffer. <p> BigInt is first converted to a vector, then the integer, representing length of the vector is converted to the network format. Converted ingeger is added to the buffer, followed by the vector. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>bn</em> </td><td>Reference to BigInt variable. </td></tr> </table> </dl> <p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00212">bn2vector()</a>.</p> <p>Referenced by <a class="el" href="ne7ssh__keys_8cpp_source.html#l00157">ne7ssh_keys::generateDSAKeys()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00037">ne7ssh_keys::generateRSAKeys()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00427">ne7ssh_keys::getDSAKeys()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00500">ne7ssh_keys::getRSAKeys()</a>, and <a class="el" href="ne7ssh__kex_8cpp_source.html#l00217">ne7ssh_kex::sendKexDHInit()</a>.</p> </div> </div><p> <a class="anchor" name="4bf8792affeb750976e18f658eeba5ee"></a><!-- doxytag: member="ne7ssh_string::addBytes" ref="4bf8792affeb750976e18f658eeba5ee" args="(const Botan::byte *buff, uint32 len)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ne7ssh_string::addBytes </td> <td>(</td> <td class="paramtype">const Botan::byte * </td> <td class="paramname"> <em>buff</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">uint32 </td> <td class="paramname"> <em>len</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> Adds a byte stream to the buffer. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>buff</em> </td><td>Pointer to the byte stream. </td></tr> <tr><td valign="top"></td><td valign="top"><em>len</em> </td><td>Length of the byte stream. </td></tr> </table> </dl> <p>Referenced by <a class="el" href="ne7ssh__sftp__packet_8cpp_source.html#l00080">Ne7sshSftpPacket::addInt64()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00031">ne7ssh_kex::constructLocalKex()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00130">ne7ssh_kex::handleInit()</a>, and <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>.</p> </div> </div><p> <a class="anchor" name="b746c998869885e043ff1db422c8ebf5"></a><!-- doxytag: member="ne7ssh_string::addChar" ref="b746c998869885e043ff1db422c8ebf5" args="(const char ch)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ne7ssh_string::addChar </td> <td>(</td> <td class="paramtype">const char </td> <td class="paramname"> <em>ch</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Adds a single character to the buffer. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>ch</em> </td><td>a single character. </td></tr> </table> </dl> <p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00167">ne7ssh_connection::authWithKey()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00124">ne7ssh_connection::authWithPassword()</a>, <a class="el" href="crypt_8cpp_source.html#l00675">ne7ssh_crypt::compute_key()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00031">ne7ssh_kex::constructLocalKex()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00249">ne7ssh_channel::execCmd()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00274">ne7ssh_channel::getShell()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00185">ne7ssh_channel::handleData()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00045">Ne7sshSftp::init()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00034">ne7ssh_channel::open()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00108">ne7ssh_connection::requestService()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00171">ne7ssh_channel::sendAdjustWindow()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00421">ne7ssh_channel::sendAll()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00139">ne7ssh_channel::sendClose()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00155">ne7ssh_channel::sendEof()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00217">ne7ssh_kex::sendKexDHInit()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00276">ne7ssh_kex::sendKexNewKeys()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, <a class="el" href="ne7ssh__sftp__packet_8cpp_source.html#l00038">Ne7sshSftpPacket::value()</a>, and <a class="el" href="ne7ssh__sftp__packet_8cpp_source.html#l00057">Ne7sshSftpPacket::valueFragment()</a>.</p> </div> </div><p> <a class="anchor" name="2fdcd0fa8215c6ce73ec8dc61f7ae8c5"></a><!-- doxytag: member="ne7ssh_string::addFile" ref="2fdcd0fa8215c6ce73ec8dc61f7ae8c5" args="(const char *filename)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool ne7ssh_string::addFile </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>filename</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Reads content of an ASCII file and appends it to the buffer. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>filename</em> </td><td>Full path to ASCII file. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>True is file is successfully read. Otherwise False is returned. </dd></dl> <p>References <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, and <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>.</p> <p>Referenced by <a class="el" href="ne7ssh__keys_8cpp_source.html#l00351">ne7ssh_keys::getKeyPairFromFile()</a>.</p> </div> </div><p> <a class="anchor" name="387c791ce256b9a3747f654596b5945f"></a><!-- doxytag: member="ne7ssh_string::addInt" ref="387c791ce256b9a3747f654596b5945f" args="(const uint32 var)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ne7ssh_string::addInt </td> <td>(</td> <td class="paramtype">const uint32 </td> <td class="paramname"> <em>var</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Adds a single integer to the buffer. <p> Integer is converted to network format as required by SSH protocol specifications. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>var</em> </td><td>a single integer. </td></tr> </table> </dl> <p>Referenced by <a class="el" href="ne7ssh__kex_8cpp_source.html#l00031">ne7ssh_kex::constructLocalKex()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00249">ne7ssh_channel::execCmd()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00274">ne7ssh_channel::getShell()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00317">Ne7sshSftp::handleNames()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00045">Ne7sshSftp::init()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00034">ne7ssh_channel::open()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00171">ne7ssh_channel::sendAdjustWindow()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00421">ne7ssh_channel::sendAll()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00139">ne7ssh_channel::sendClose()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00155">ne7ssh_channel::sendEof()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, <a class="el" href="ne7ssh__sftp__packet_8cpp_source.html#l00038">Ne7sshSftpPacket::value()</a>, and <a class="el" href="ne7ssh__sftp__packet_8cpp_source.html#l00057">Ne7sshSftpPacket::valueFragment()</a>.</p> </div> </div><p> <a class="anchor" name="28ea3ddaf5f19c6202bd173c990ed835"></a><!-- doxytag: member="ne7ssh_string::addString" ref="28ea3ddaf5f19c6202bd173c990ed835" args="(const char *str)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ne7ssh_string::addString </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>str</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Adds a string to the buffer. <p> Adds an integer representing the length of the string, converted to the network format, before the actual string data. Required by SSH protocol specifications. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>str</em> </td><td>pointer to a string. </td></tr> </table> </dl> <p>References <a class="el" href="ne7ssh__string_8h_source.html#l00129">value()</a>.</p> <p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00167">ne7ssh_connection::authWithKey()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00124">ne7ssh_connection::authWithPassword()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00031">ne7ssh_kex::constructLocalKex()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00249">ne7ssh_channel::execCmd()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00157">ne7ssh_keys::generateDSAKeys()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00279">ne7ssh_keys::generateDSASignature()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00037">ne7ssh_keys::generateRSAKeys()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00319">ne7ssh_keys::generateRSASignature()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00427">ne7ssh_keys::getDSAKeys()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00500">ne7ssh_keys::getRSAKeys()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00274">ne7ssh_channel::getShell()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00045">Ne7sshSftp::init()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00034">ne7ssh_channel::open()</a>, and <a class="el" href="ne7ssh__connection_8cpp_source.html#l00108">ne7ssh_connection::requestService()</a>.</p> </div> </div><p> <a class="anchor" name="f0e0658970d00f271b5053130e294ee4"></a><!-- doxytag: member="ne7ssh_string::addVector" ref="f0e0658970d00f271b5053130e294ee4" args="(Botan::SecureVector< Botan::byte > &secvec)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ne7ssh_string::addVector </td> <td>(</td> <td class="paramtype">Botan::SecureVector< Botan::byte > & </td> <td class="paramname"> <em>secvec</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Adds a vector to the buffer. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>secvec</em> </td><td>Reference to the vector. </td></tr> </table> </dl> <p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00167">ne7ssh_connection::authWithKey()</a>, <a class="el" href="crypt_8cpp_source.html#l00675">ne7ssh_crypt::compute_key()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00279">ne7ssh_keys::generateDSASignature()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00319">ne7ssh_keys::generateRSASignature()</a>, <a class="el" href="crypt_8cpp_source.html#l00400">ne7ssh_crypt::getDSAKey()</a>, <a class="el" href="crypt_8cpp_source.html#l00422">ne7ssh_crypt::getRSAKey()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00083">Ne7sshSftp::handleData()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00185">ne7ssh_channel::handleData()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00242">ne7ssh_kex::handleKexDHReply()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00329">ne7ssh_channel::handleReceived()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01047">Ne7sshSftp::ls()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00217">ne7ssh_kex::sendKexDHInit()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, <a class="el" href="ne7ssh__sftp__packet_8cpp_source.html#l00057">Ne7sshSftpPacket::valueFragment()</a>, and <a class="el" href="ne7ssh__channel_8cpp_source.html#l00376">ne7ssh_channel::write()</a>.</p> </div> </div><p> <a class="anchor" name="e5925806510ef106e1435640b6010bc7"></a><!-- doxytag: member="ne7ssh_string::addVectorField" ref="e5925806510ef106e1435640b6010bc7" args="(const Botan::SecureVector< Botan::byte > &vector)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ne7ssh_string::addVectorField </td> <td>(</td> <td class="paramtype">const Botan::SecureVector< Botan::byte > & </td> <td class="paramname"> <em>vector</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Adds a vector to the buffer. <p> Adds an integer representing the length of the vector, converted to the network format, before the actual data. Required by SSH protocol specifications. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>vector</em> </td><td>Reference to a vector. </td></tr> </table> </dl> <p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00167">ne7ssh_connection::authWithKey()</a>, <a class="el" href="crypt_8cpp_source.html#l00675">ne7ssh_crypt::compute_key()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00031">ne7ssh_kex::constructLocalKex()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00279">ne7ssh_keys::generateDSASignature()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00319">ne7ssh_keys::generateRSASignature()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00317">Ne7sshSftp::handleNames()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00301">ne7ssh_kex::makeH()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00421">ne7ssh_channel::sendAll()</a>, <a class="el" href="ne7ssh__sftp__packet_8cpp_source.html#l00038">Ne7sshSftpPacket::value()</a>, and <a class="el" href="ne7ssh__sftp__packet_8cpp_source.html#l00057">Ne7sshSftpPacket::valueFragment()</a>.</p> </div> </div><p> <a class="anchor" name="7c1276275a551da4dc460a7f9e8884eb"></a><!-- doxytag: member="ne7ssh_string::bn2vector" ref="7c1276275a551da4dc460a7f9e8884eb" args="(Botan::SecureVector< Botan::byte > &result, const Botan::BigInt &bi)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ne7ssh_string::bn2vector </td> <td>(</td> <td class="paramtype">Botan::SecureVector< Botan::byte > & </td> <td class="paramname"> <em>result</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const Botan::BigInt & </td> <td class="paramname"> <em>bi</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Converts BigInt into vector <p> For internal use only <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>result</em> </td><td>Reference to vector where the converted result will be dumped. </td></tr> <tr><td valign="top"></td><td valign="top"><em>bi</em> </td><td>Reference to BigInt to convert. </td></tr> </table> </dl> <p>Referenced by <a class="el" href="ne7ssh__string_8cpp_source.html#l00081">addBigInt()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00242">ne7ssh_kex::handleKexDHReply()</a>, <a class="el" href="crypt_8cpp_source.html#l00441">ne7ssh_crypt::makeKexSecret()</a>, and <a class="el" href="ne7ssh__kex_8cpp_source.html#l00217">ne7ssh_kex::sendKexDHInit()</a>.</p> </div> </div><p> <a class="anchor" name="722e2787d24d59b0432fa9a1b38f0aa2"></a><!-- doxytag: member="ne7ssh_string::chop" ref="722e2787d24d59b0432fa9a1b38f0aa2" args="(uint32 nBytes)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ne7ssh_string::chop </td> <td>(</td> <td class="paramtype">uint32 </td> <td class="paramname"> <em>nBytes</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Chops bytes off of the end of the buffer. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>nBytes</em> </td><td>How many bytes to chop off the end of the buffer. </td></tr> </table> </dl> <p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00185">ne7ssh_channel::handleData()</a>.</p> </div> </div><p> <a class="anchor" name="878cacf6b1fc6e1ae561584444e13db9"></a><!-- doxytag: member="ne7ssh_string::clear" ref="878cacf6b1fc6e1ae561584444e13db9" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ne7ssh_string::clear </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Zeros out the buffer <p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00167">ne7ssh_connection::authWithKey()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00124">ne7ssh_connection::authWithPassword()</a>, <a class="el" href="crypt_8cpp_source.html#l00675">ne7ssh_crypt::compute_key()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00031">ne7ssh_kex::constructLocalKex()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00249">ne7ssh_channel::execCmd()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00279">ne7ssh_keys::generateDSASignature()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00427">ne7ssh_keys::getDSAKeys()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00500">ne7ssh_keys::getRSAKeys()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00274">ne7ssh_channel::getShell()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00083">Ne7sshSftp::handleData()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00130">ne7ssh_kex::handleInit()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00242">ne7ssh_kex::handleKexDHReply()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00294">Ne7sshSftp::handleSftpData()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00045">Ne7sshSftp::init()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01047">Ne7sshSftp::ls()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00162">Ne7sshSftp::receiveUntil()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00196">Ne7sshSftp::receiveWhile()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00421">ne7ssh_channel::sendAll()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00217">ne7ssh_kex::sendKexDHInit()</a>, and <a class="el" href="ne7ssh__channel_8cpp_source.html#l00376">ne7ssh_channel::write()</a>.</p> </div> </div><p> <a class="anchor" name="f0e1783a46f61bce09daa9cbd3a1a64b"></a><!-- doxytag: member="ne7ssh_string::getBigInt" ref="f0e1783a46f61bce09daa9cbd3a1a64b" args="(Botan::BigInt &result)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool ne7ssh_string::getBigInt </td> <td>(</td> <td class="paramtype">Botan::BigInt & </td> <td class="paramname"> <em>result</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Extracts a single BigInt variable from the payload field of SSH packet. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>result</em> </td><td>Reference to a BigInt variable where the result will be stored. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if BigInt field was found and successfully parsed, otherwise false is returned. </dd></dl> <p>Referenced by <a class="el" href="crypt_8cpp_source.html#l00400">ne7ssh_crypt::getDSAKey()</a>, <a class="el" href="crypt_8cpp_source.html#l00422">ne7ssh_crypt::getRSAKey()</a>, and <a class="el" href="ne7ssh__kex_8cpp_source.html#l00242">ne7ssh_kex::handleKexDHReply()</a>.</p> </div> </div><p> <a class="anchor" name="231e8c002067934db84921f4bdc1c467"></a><!-- doxytag: member="ne7ssh_string::getByte" ref="231e8c002067934db84921f4bdc1c467" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Botan::byte ne7ssh_string::getByte </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Extracts a single byte from tje payload field of SSH packet. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A byte extracted from thenext byte of the payload. </dd></dl> <p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00167">ne7ssh_connection::authWithKey()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00124">ne7ssh_connection::authWithPassword()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00083">Ne7sshSftp::handleData()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00329">ne7ssh_channel::handleReceived()</a>, and <a class="el" href="ne7ssh__channel_8cpp_source.html#l00227">ne7ssh_channel::handleRequest()</a>.</p> </div> </div><p> <a class="anchor" name="d7cb4926f971ecbe25a03bca59d0e6bb"></a><!-- doxytag: member="ne7ssh_string::getInt" ref="d7cb4926f971ecbe25a03bca59d0e6bb" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">uint32 ne7ssh_string::getInt </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Extracts a single unsigned integer (uint32) from the payload field of SSH packet. <dl class="return" compact><dt><b>Returns:</b></dt><dd>The integer extracted from the next 4 bytes of the payload. </dd></dl> <p>Referenced by <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00270">Ne7sshSftp::addOpenHandle()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00087">ne7ssh_channel::adjustWindow()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00063">ne7ssh_channel::handleChannelConfirm()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00083">Ne7sshSftp::handleData()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00185">ne7ssh_channel::handleData()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00204">ne7ssh_channel::handleExtendedData()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00317">Ne7sshSftp::handleNames()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00227">ne7ssh_channel::handleRequest()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00294">Ne7sshSftp::handleSftpData()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00249">Ne7sshSftp::handleStatus()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00232">Ne7sshSftp::handleVersion()</a>, and <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00362">Ne7sshSftp::processAttrs()</a>.</p> </div> </div><p> <a class="anchor" name="6437d3125dd58e4d71bd0e0351a315ec"></a><!-- doxytag: member="ne7ssh_string::getString" ref="6437d3125dd58e4d71bd0e0351a315ec" args="(Botan::SecureVector< Botan::byte > &result)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool ne7ssh_string::getString </td> <td>(</td> <td class="paramtype">Botan::SecureVector< Botan::byte > & </td> <td class="paramname"> <em>result</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Extracts a single string from the payload field of SSH packet. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>result</em> </td><td>Reference to a buffer where the result will be stored. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if string field was found and successfully parsed, otherwise false is returned. </dd></dl> <p>Referenced by <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00270">Ne7sshSftp::addOpenHandle()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00167">ne7ssh_connection::authWithKey()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00124">ne7ssh_connection::authWithPassword()</a>, <a class="el" href="crypt_8cpp_source.html#l00400">ne7ssh_crypt::getDSAKey()</a>, <a class="el" href="crypt_8cpp_source.html#l00422">ne7ssh_crypt::getRSAKey()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00083">Ne7sshSftp::handleData()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00185">ne7ssh_channel::handleData()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00124">ne7ssh_channel::handleDisconnect()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00204">ne7ssh_channel::handleExtendedData()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00130">ne7ssh_kex::handleInit()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00242">ne7ssh_kex::handleKexDHReply()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00317">Ne7sshSftp::handleNames()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00227">ne7ssh_channel::handleRequest()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00294">Ne7sshSftp::handleSftpData()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00249">Ne7sshSftp::handleStatus()</a>, and <a class="el" href="crypt_8cpp_source.html#l00323">ne7ssh_crypt::verifySig()</a>.</p> </div> </div><p> <a class="anchor" name="0b70fd63fc4dd1d5badce895d318b117"></a><!-- doxytag: member="ne7ssh_string::length" ref="0b70fd63fc4dd1d5badce895d318b117" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">uint32 ne7ssh_string::length </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns current length of the buffer. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Length of the buffer. </dd></dl> <p>Referenced by <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01108">Ne7sshSftp::cd()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01158">Ne7sshSftp::chmod()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01325">Ne7sshSftp::chown()</a>, <a class="el" href="ne7ssh__channel_8h_source.html#l00167">ne7ssh_channel::data2Send()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00753">Ne7sshSftp::getFileAttrs()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00682">Ne7sshSftp::getFileStats()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00351">ne7ssh_keys::getKeyPairFromFile()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00083">Ne7sshSftp::handleData()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00185">ne7ssh_channel::handleData()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00797">Ne7sshSftp::isType()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00988">Ne7sshSftp::mkdir()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00957">Ne7sshSftp::mv()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00449">Ne7sshSftp::openDir()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00394">Ne7sshSftp::openFile()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00162">Ne7sshSftp::receiveUntil()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00196">Ne7sshSftp::receiveWhile()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00928">Ne7sshSftp::rm()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01018">Ne7sshSftp::rmdir()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00421">ne7ssh_channel::sendAll()</a>, and <a class="el" href="ne7ssh__channel_8cpp_source.html#l00376">ne7ssh_channel::write()</a>.</p> </div> </div><p> <a class="anchor" name="198a4c462ea4e73314c81003f09c98bd"></a><!-- doxytag: member="ne7ssh_string::nextPart" ref="198a4c462ea4e73314c81003f09c98bd" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">char * ne7ssh_string::nextPart </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Returns the next part. <dl class="return" compact><dt><b>Returns:</b></dt><dd>NULL terminated string, or 0 if this is the last part. </dd></dl> <p>Referenced by <a class="el" href="crypt_8cpp_source.html#l00048">ne7ssh_crypt::agree()</a>, and <a class="el" href="ne7ssh__kex_8cpp_source.html#l00031">ne7ssh_kex::constructLocalKex()</a>.</p> </div> </div><p> <a class="anchor" name="ea5ca8a3645c570af9f03bc4f9bdc523"></a><!-- doxytag: member="ne7ssh_string::resetParts" ref="ea5ca8a3645c570af9f03bc4f9bdc523" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ne7ssh_string::resetParts </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns to the first part. <p>Referenced by <a class="el" href="crypt_8cpp_source.html#l00048">ne7ssh_crypt::agree()</a>, and <a class="el" href="ne7ssh__kex_8cpp_source.html#l00031">ne7ssh_kex::constructLocalKex()</a>.</p> </div> </div><p> <a class="anchor" name="47f06a2606e6982a2741de59be7ea786"></a><!-- doxytag: member="ne7ssh_string::split" ref="47f06a2606e6982a2741de59be7ea786" args="(const char token)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ne7ssh_string::split </td> <td>(</td> <td class="paramtype">const char </td> <td class="paramname"> <em>token</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Splits the buffer into strings separated by null character. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>token</em> </td><td>Searches for this character in the buffer, replaces it with null and creates a part index. </td></tr> </table> </dl> <p>Referenced by <a class="el" href="crypt_8cpp_source.html#l00048">ne7ssh_crypt::agree()</a>, and <a class="el" href="ne7ssh__kex_8cpp_source.html#l00031">ne7ssh_kex::constructLocalKex()</a>.</p> </div> </div><p> <a class="anchor" name="b593c45799f28af90922b7a8332e1a9f"></a><!-- doxytag: member="ne7ssh_string::value" ref="b593c45799f28af90922b7a8332e1a9f" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Botan::SecureVector<Botan::byte>& ne7ssh_string::value </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns the buffer as a vector. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Reference to the 'buffer' vector. </dd></dl> <p>Reimplemented in <a class="el" href="classNe7sshSftpPacket.html#a9ad7d742391e82b582bbe92d7733bac">Ne7sshSftpPacket</a>.</p> <p>Referenced by <a class="el" href="ne7ssh__string_8cpp_source.html#l00047">addString()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00167">ne7ssh_connection::authWithKey()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00124">ne7ssh_connection::authWithPassword()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01108">Ne7sshSftp::cd()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01158">Ne7sshSftp::chmod()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01325">Ne7sshSftp::chown()</a>, <a class="el" href="crypt_8cpp_source.html#l00675">ne7ssh_crypt::compute_key()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00031">ne7ssh_kex::constructLocalKex()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00249">ne7ssh_channel::execCmd()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00157">ne7ssh_keys::generateDSAKeys()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00279">ne7ssh_keys::generateDSASignature()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00037">ne7ssh_keys::generateRSAKeys()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00319">ne7ssh_keys::generateRSASignature()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00753">Ne7sshSftp::getFileAttrs()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00682">Ne7sshSftp::getFileStats()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00351">ne7ssh_keys::getKeyPairFromFile()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00567">ne7ssh_keys::getPublicKeyBlob()</a>, <a class="el" href="ne7ssh__channel_8h_source.html#l00191">ne7ssh_channel::getReceived()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00274">ne7ssh_channel::getShell()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00083">Ne7sshSftp::handleData()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00242">ne7ssh_kex::handleKexDHReply()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00317">Ne7sshSftp::handleNames()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00329">ne7ssh_channel::handleReceived()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00045">Ne7sshSftp::init()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00797">Ne7sshSftp::isType()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01047">Ne7sshSftp::ls()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00301">ne7ssh_kex::makeH()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00988">Ne7sshSftp::mkdir()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00957">Ne7sshSftp::mv()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00034">ne7ssh_channel::open()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00449">Ne7sshSftp::openDir()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00394">Ne7sshSftp::openFile()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00108">ne7ssh_connection::requestService()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00928">Ne7sshSftp::rm()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01018">Ne7sshSftp::rmdir()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00171">ne7ssh_channel::sendAdjustWindow()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00421">ne7ssh_channel::sendAll()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00139">ne7ssh_channel::sendClose()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00155">ne7ssh_channel::sendEof()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00107">ne7ssh_kex::sendInit()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00217">ne7ssh_kex::sendKexDHInit()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00276">ne7ssh_kex::sendKexNewKeys()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, <a class="el" href="ne7ssh__sftp__packet_8cpp_source.html#l00038">Ne7sshSftpPacket::value()</a>, <a class="el" href="ne7ssh__sftp__packet_8cpp_source.html#l00057">Ne7sshSftpPacket::valueFragment()</a>, and <a class="el" href="ne7ssh__channel_8cpp_source.html#l00376">ne7ssh_channel::write()</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="ne7ssh__string_8h_source.html">ne7ssh_string.h</a><li>ne7ssh_string.cpp</ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Tue May 5 14:10:43 2009 for ne7ssh.kdevelop by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> </body> </html>