<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>Crypto++: InvalidKeyLength 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.6.1 --> <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> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</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>InvalidKeyLength Class Reference</h1><!-- doxytag: class="InvalidKeyLength" --><!-- doxytag: inherits="InvalidArgument" --> <p>_ <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="simple_8h_source.html">simple.h</a>></code></p> <div class="dynheader"> Inheritance diagram for InvalidKeyLength:</div> <div class="dynsection"> <div class="center"> <img src="class_invalid_key_length.gif" usemap="#InvalidKeyLength_map" alt=""/> <map id="InvalidKeyLength_map" name="InvalidKeyLength_map"> <area href="class_invalid_argument.html" alt="InvalidArgument" shape="rect" coords="0,56,109,80"/> <area href="class_exception.html" alt="Exception" shape="rect" coords="0,0,109,24"/> </map> </div> </div> <p><a href="class_invalid_key_length-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="class_exception.html#a8e53909d979479380e0274807c074c0a">ErrorType</a> { <br/> <a class="el" href="class_exception.html#a8e53909d979479380e0274807c074c0aa1323c0f32eac2f9502b99c5c899ce629">NOT_IMPLEMENTED</a>, <a class="el" href="class_exception.html#a8e53909d979479380e0274807c074c0aab018a535e00d226178a71d2c5fa800d1">INVALID_ARGUMENT</a>, <a class="el" href="class_exception.html#a8e53909d979479380e0274807c074c0aa11a8912fe9ae87f7469705b6d5130a06">CANNOT_FLUSH</a>, <a class="el" href="class_exception.html#a8e53909d979479380e0274807c074c0aa77a639a803cf53052f9c76a0354247e6">DATA_INTEGRITY_CHECK_FAILED</a>, <br/> <a class="el" href="class_exception.html#a8e53909d979479380e0274807c074c0aa3a0352964781e7712b21dbb70ffbe646">INVALID_DATA_FORMAT</a>, <a class="el" href="class_exception.html#a8e53909d979479380e0274807c074c0aad51c7d0e0156bc1794b3b7f99599aba8">IO_ERROR</a>, <a class="el" href="class_exception.html#a8e53909d979479380e0274807c074c0aa27d9ee7704100a88e4ae4adcc4072015">OTHER_ERROR</a> <br/> }</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><p>error types </p> <a href="class_exception.html#a8e53909d979479380e0274807c074c0a">More...</a><br/></td></tr> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aab35114ece78055fbc1d891a6f99c995"></a><!-- doxytag: member="InvalidKeyLength::InvalidKeyLength" ref="aab35114ece78055fbc1d891a6f99c995" args="(const std::string &algorithm, size_t length)" --> </td><td class="memItemRight" valign="bottom"><b>InvalidKeyLength</b> (const std::string &algorithm, size_t length)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a45642915395d3b813fedc2593fbcb8bb"></a><!-- doxytag: member="InvalidKeyLength::what" ref="a45642915395d3b813fedc2593fbcb8bb" args="() const " --> const char * </td><td class="memItemRight" valign="bottom"><b>what</b> () const throw ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad67873a3923892d08072bdd378b24b29"></a><!-- doxytag: member="InvalidKeyLength::GetWhat" ref="ad67873a3923892d08072bdd378b24b29" args="() const " --> const std::string & </td><td class="memItemRight" valign="bottom"><b>GetWhat</b> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a15f2ad1081dbac6d3cd676a4baa9515d"></a><!-- doxytag: member="InvalidKeyLength::SetWhat" ref="a15f2ad1081dbac6d3cd676a4baa9515d" args="(const std::string &s)" --> void </td><td class="memItemRight" valign="bottom"><b>SetWhat</b> (const std::string &s)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeb3ea0f59ff8e38ef47fe0d9c5c22dc3"></a><!-- doxytag: member="InvalidKeyLength::GetErrorType" ref="aeb3ea0f59ff8e38ef47fe0d9c5c22dc3" args="() const " --> <a class="el" href="class_exception.html#a8e53909d979479380e0274807c074c0a">ErrorType</a> </td><td class="memItemRight" valign="bottom"><b>GetErrorType</b> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0e1d8806d64e54e9584e9918462894bc"></a><!-- doxytag: member="InvalidKeyLength::SetErrorType" ref="a0e1d8806d64e54e9584e9918462894bc" args="(ErrorType errorType)" --> void </td><td class="memItemRight" valign="bottom"><b>SetErrorType</b> (<a class="el" href="class_exception.html#a8e53909d979479380e0274807c074c0a">ErrorType</a> errorType)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>_ </p> <p>Definition at line <a class="el" href="simple_8h_source.html#l00032">32</a> of file <a class="el" href="simple_8h_source.html">simple.h</a>.</p> <hr/><h2>Member Enumeration Documentation</h2> <a class="anchor" id="a8e53909d979479380e0274807c074c0a"></a><!-- doxytag: member="InvalidKeyLength::ErrorType" ref="a8e53909d979479380e0274807c074c0a" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="class_exception.html#a8e53909d979479380e0274807c074c0a">Exception::ErrorType</a><code> [inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>error types </p> <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><em><a class="anchor" id="a8e53909d979479380e0274807c074c0aa1323c0f32eac2f9502b99c5c899ce629"></a><!-- doxytag: member="NOT_IMPLEMENTED" ref="a8e53909d979479380e0274807c074c0aa1323c0f32eac2f9502b99c5c899ce629" args="" -->NOT_IMPLEMENTED</em> </td><td> <p>a method is not implemented </p> </td></tr> <tr><td valign="top"><em><a class="anchor" id="a8e53909d979479380e0274807c074c0aab018a535e00d226178a71d2c5fa800d1"></a><!-- doxytag: member="INVALID_ARGUMENT" ref="a8e53909d979479380e0274807c074c0aab018a535e00d226178a71d2c5fa800d1" args="" -->INVALID_ARGUMENT</em> </td><td> <p>invalid function argument </p> </td></tr> <tr><td valign="top"><em><a class="anchor" id="a8e53909d979479380e0274807c074c0aa11a8912fe9ae87f7469705b6d5130a06"></a><!-- doxytag: member="CANNOT_FLUSH" ref="a8e53909d979479380e0274807c074c0aa11a8912fe9ae87f7469705b6d5130a06" args="" -->CANNOT_FLUSH</em> </td><td> <p><a class="el" href="class_buffered_transformation.html" title="interface for buffered transformations">BufferedTransformation</a> received a Flush(true) signal but can't flush buffers. </p> </td></tr> <tr><td valign="top"><em><a class="anchor" id="a8e53909d979479380e0274807c074c0aa77a639a803cf53052f9c76a0354247e6"></a><!-- doxytag: member="DATA_INTEGRITY_CHECK_FAILED" ref="a8e53909d979479380e0274807c074c0aa77a639a803cf53052f9c76a0354247e6" args="" -->DATA_INTEGRITY_CHECK_FAILED</em> </td><td> <p>data integerity check (such as CRC or MAC) failed </p> </td></tr> <tr><td valign="top"><em><a class="anchor" id="a8e53909d979479380e0274807c074c0aa3a0352964781e7712b21dbb70ffbe646"></a><!-- doxytag: member="INVALID_DATA_FORMAT" ref="a8e53909d979479380e0274807c074c0aa3a0352964781e7712b21dbb70ffbe646" args="" -->INVALID_DATA_FORMAT</em> </td><td> <p>received input data that doesn't conform to expected format </p> </td></tr> <tr><td valign="top"><em><a class="anchor" id="a8e53909d979479380e0274807c074c0aad51c7d0e0156bc1794b3b7f99599aba8"></a><!-- doxytag: member="IO_ERROR" ref="a8e53909d979479380e0274807c074c0aad51c7d0e0156bc1794b3b7f99599aba8" args="" -->IO_ERROR</em> </td><td> <p>error reading from input device or writing to output device </p> </td></tr> <tr><td valign="top"><em><a class="anchor" id="a8e53909d979479380e0274807c074c0aa27d9ee7704100a88e4ae4adcc4072015"></a><!-- doxytag: member="OTHER_ERROR" ref="a8e53909d979479380e0274807c074c0aa27d9ee7704100a88e4ae4adcc4072015" args="" -->OTHER_ERROR</em> </td><td> <p>some error not belong to any of the above categories </p> </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="cryptlib_8h_source.html#l00114">114</a> of file <a class="el" href="cryptlib_8h_source.html">cryptlib.h</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="simple_8h_source.html">simple.h</a></li> </ul> </div> <hr size="1"/><address style="text-align: right;"><small>Generated on 9 Dec 2009 for Crypto++ by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> </body> </html>