<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.14"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>Crypto++: InvertibleESIGNFunction Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">Crypto++  <span id="projectnumber">7.0</span> </div> <div id="projectbrief">Free C++ class library of cryptographic schemes</div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.14 --> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="class_invertible_e_s_i_g_n_function-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">InvertibleESIGNFunction Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><a class="el" href="struct_e_s_i_g_n.html" title="ESIGN signature scheme, IEEE P1363a. ">ESIGN</a> trapdoor function using the private key. <a href="class_invertible_e_s_i_g_n_function.html#details">More...</a></p> <div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for InvertibleESIGNFunction:</div> <div id="dynsection-0-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-0-content" class="dyncontent" style="display:none;"> <div class="center"> <img src="class_invertible_e_s_i_g_n_function.png" usemap="#InvertibleESIGNFunction_map" alt=""/> <map id="InvertibleESIGNFunction_map" name="InvertibleESIGNFunction_map"> <area href="class_e_s_i_g_n_function.html" title="ESIGN trapdoor function using the public key. " alt="ESIGNFunction" shape="rect" coords="174,224,397,248"/> <area href="class_randomized_trapdoor_function_inverse.html" title="Applies the inverse of the trapdoor function, using random data if required. " alt="RandomizedTrapdoorFunctionInverse" shape="rect" coords="407,224,630,248"/> <area href="class_private_key.html" title="Interface for private keys. " alt="PrivateKey" shape="rect" coords="699,224,922,248"/> <area href="class_trapdoor_function.html" title="Applies the trapdoor function. " alt="TrapdoorFunction" shape="rect" coords="0,168,223,192"/> <area href="class_a_s_n1_crypto_material.html" alt="ASN1CryptoMaterial< PublicKey >" shape="rect" coords="349,168,572,192"/> <area href="class_generatable_crypto_material.html" title="Interface for generatable crypto material, such as private keys and crypto parameters. " alt="GeneratableCryptoMaterial" shape="rect" coords="699,168,922,192"/> <area href="class_randomized_trapdoor_function.html" title="Applies the trapdoor function, using random data if required. " alt="RandomizedTrapdoorFunction" shape="rect" coords="0,112,223,136"/> <area href="class_a_s_n1_object.html" title="Interface for encoding and decoding ASN1 objects. " alt="ASN1Object" shape="rect" coords="233,112,456,136"/> <area href="class_public_key.html" title="Interface for public keys. " alt="PublicKey" shape="rect" coords="466,112,689,136"/> <area href="class_crypto_material.html" title="Interface for crypto material, such as public and private keys, and crypto parameters. " alt="CryptoMaterial" shape="rect" coords="699,112,922,136"/> <area href="class_trapdoor_function_bounds.html" title="Provides range for plaintext and ciphertext lengths. " alt="TrapdoorFunctionBounds" shape="rect" coords="0,56,223,80"/> <area href="class_crypto_material.html" title="Interface for crypto material, such as public and private keys, and crypto parameters. " alt="CryptoMaterial" shape="rect" coords="466,56,689,80"/> <area href="class_name_value_pairs.html" title="Interface for retrieving values given their names. " alt="NameValuePairs" shape="rect" coords="699,56,922,80"/> <area href="class_name_value_pairs.html" title="Interface for retrieving values given their names. " alt="NameValuePairs" shape="rect" coords="466,0,689,24"/> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a43215778d1630a0037a794d815dac5d6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_e_s_i_g_n_function.html#a43215778d1630a0037a794d815dac5d6">Initialize</a> (const <a class="el" href="class_integer.html">Integer</a> &n, const <a class="el" href="class_integer.html">Integer</a> &e, const <a class="el" href="class_integer.html">Integer</a> &p, const <a class="el" href="class_integer.html">Integer</a> &q)</td></tr> <tr class="memdesc:a43215778d1630a0037a794d815dac5d6"><td class="mdescLeft"> </td><td class="mdescRight">Initialize a <a class="el" href="struct_e_s_i_g_n.html" title="ESIGN signature scheme, IEEE P1363a. ">ESIGN</a> private key with {n,e,p,q}. <a href="#a43215778d1630a0037a794d815dac5d6">More...</a><br /></td></tr> <tr class="separator:a43215778d1630a0037a794d815dac5d6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4ebace71d71f1e3d49bbb506105789e7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_e_s_i_g_n_function.html#a4ebace71d71f1e3d49bbb506105789e7">Initialize</a> (<a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &rng, unsigned int modulusBits)</td></tr> <tr class="memdesc:a4ebace71d71f1e3d49bbb506105789e7"><td class="mdescLeft"> </td><td class="mdescRight">Create a <a class="el" href="struct_e_s_i_g_n.html" title="ESIGN signature scheme, IEEE P1363a. ">ESIGN</a> private key. <a href="#a4ebace71d71f1e3d49bbb506105789e7">More...</a><br /></td></tr> <tr class="separator:a4ebace71d71f1e3d49bbb506105789e7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5516f8cc925dc763d70d08437b19ea8f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_e_s_i_g_n_function.html#a5516f8cc925dc763d70d08437b19ea8f">Save</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &bt) const</td></tr> <tr class="memdesc:a5516f8cc925dc763d70d08437b19ea8f"><td class="mdescLeft"> </td><td class="mdescRight">Saves a key to a <a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations. ">BufferedTransformation</a>. <a href="#a5516f8cc925dc763d70d08437b19ea8f">More...</a><br /></td></tr> <tr class="separator:a5516f8cc925dc763d70d08437b19ea8f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a64a251d28970b7c1d42295cffd4dc09e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_e_s_i_g_n_function.html#a64a251d28970b7c1d42295cffd4dc09e">Load</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &bt)</td></tr> <tr class="memdesc:a64a251d28970b7c1d42295cffd4dc09e"><td class="mdescLeft"> </td><td class="mdescRight">Loads a key from a <a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations. ">BufferedTransformation</a>. <a href="#a64a251d28970b7c1d42295cffd4dc09e">More...</a><br /></td></tr> <tr class="separator:a64a251d28970b7c1d42295cffd4dc09e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7e63d8fe66a25af6611f37bdaac982c4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_e_s_i_g_n_function.html#a7e63d8fe66a25af6611f37bdaac982c4">BERDecode</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &bt)</td></tr> <tr class="memdesc:a7e63d8fe66a25af6611f37bdaac982c4"><td class="mdescLeft"> </td><td class="mdescRight">Decode this object from a <a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations. ">BufferedTransformation</a>. <a href="#a7e63d8fe66a25af6611f37bdaac982c4">More...</a><br /></td></tr> <tr class="separator:a7e63d8fe66a25af6611f37bdaac982c4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a67cceb3b4d3d40b01d89c2053b8b258f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_e_s_i_g_n_function.html#a67cceb3b4d3d40b01d89c2053b8b258f">DEREncode</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &bt) const</td></tr> <tr class="memdesc:a67cceb3b4d3d40b01d89c2053b8b258f"><td class="mdescLeft"> </td><td class="mdescRight">Encode this object into a <a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations. ">BufferedTransformation</a>. <a href="#a67cceb3b4d3d40b01d89c2053b8b258f">More...</a><br /></td></tr> <tr class="separator:a67cceb3b4d3d40b01d89c2053b8b258f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0eed8ac3efb7868aa7ae0a09ee785610"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_integer.html">Integer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_e_s_i_g_n_function.html#a0eed8ac3efb7868aa7ae0a09ee785610">CalculateRandomizedInverse</a> (<a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &rng, const <a class="el" href="class_integer.html">Integer</a> &x) const</td></tr> <tr class="memdesc:a0eed8ac3efb7868aa7ae0a09ee785610"><td class="mdescLeft"> </td><td class="mdescRight">Applies the inverse of the trapdoor function, using random data if required. <a href="#a0eed8ac3efb7868aa7ae0a09ee785610">More...</a><br /></td></tr> <tr class="separator:a0eed8ac3efb7868aa7ae0a09ee785610"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1c64c8101a488232cde43a5c473742b1"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_e_s_i_g_n_function.html#a1c64c8101a488232cde43a5c473742b1">Validate</a> (<a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &rng, unsigned int level) const</td></tr> <tr class="memdesc:a1c64c8101a488232cde43a5c473742b1"><td class="mdescLeft"> </td><td class="mdescRight">Check this object for errors. <a href="#a1c64c8101a488232cde43a5c473742b1">More...</a><br /></td></tr> <tr class="separator:a1c64c8101a488232cde43a5c473742b1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a870d6ba6500b250ec400fdbb7ad47e08"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_e_s_i_g_n_function.html#a870d6ba6500b250ec400fdbb7ad47e08">GetVoidValue</a> (const char *name, const std::type_info &valueType, void *pValue) const</td></tr> <tr class="memdesc:a870d6ba6500b250ec400fdbb7ad47e08"><td class="mdescLeft"> </td><td class="mdescRight">Get a named value. <a href="#a870d6ba6500b250ec400fdbb7ad47e08">More...</a><br /></td></tr> <tr class="separator:a870d6ba6500b250ec400fdbb7ad47e08"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aca870e350b30d04a47d452f21e903278"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_e_s_i_g_n_function.html#aca870e350b30d04a47d452f21e903278">AssignFrom</a> (const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> &source)</td></tr> <tr class="memdesc:aca870e350b30d04a47d452f21e903278"><td class="mdescLeft"> </td><td class="mdescRight">Assign values to this object. <a href="#aca870e350b30d04a47d452f21e903278">More...</a><br /></td></tr> <tr class="separator:aca870e350b30d04a47d452f21e903278"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a241b733193f9f420f188ca6f57d49c27"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_e_s_i_g_n_function.html#a241b733193f9f420f188ca6f57d49c27">GenerateRandom</a> (<a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &rng, const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> &alg)</td></tr> <tr class="separator:a241b733193f9f420f188ca6f57d49c27"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0fe1d3fd51750b9ae18615a22a7eb8c4"><td class="memItemLeft" align="right" valign="top"><a id="a0fe1d3fd51750b9ae18615a22a7eb8c4"></a> const <a class="el" href="class_integer.html">Integer</a> & </td><td class="memItemRight" valign="bottom"><b>GetPrime1</b> () const</td></tr> <tr class="separator:a0fe1d3fd51750b9ae18615a22a7eb8c4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aeeb9f1539c1ba2df20246db34643c5cc"><td class="memItemLeft" align="right" valign="top"><a id="aeeb9f1539c1ba2df20246db34643c5cc"></a> const <a class="el" href="class_integer.html">Integer</a> & </td><td class="memItemRight" valign="bottom"><b>GetPrime2</b> () const</td></tr> <tr class="separator:aeeb9f1539c1ba2df20246db34643c5cc"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afa61426f08249432a67744162aaa90a7"><td class="memItemLeft" align="right" valign="top"><a id="afa61426f08249432a67744162aaa90a7"></a> void </td><td class="memItemRight" valign="bottom"><b>SetPrime1</b> (const <a class="el" href="class_integer.html">Integer</a> &p)</td></tr> <tr class="separator:afa61426f08249432a67744162aaa90a7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acf24009df2af2877cf2255ac996ef983"><td class="memItemLeft" align="right" valign="top"><a id="acf24009df2af2877cf2255ac996ef983"></a> void </td><td class="memItemRight" valign="bottom"><b>SetPrime2</b> (const <a class="el" href="class_integer.html">Integer</a> &q)</td></tr> <tr class="separator:acf24009df2af2877cf2255ac996ef983"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_class_e_s_i_g_n_function"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_e_s_i_g_n_function')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_e_s_i_g_n_function.html">ESIGNFunction</a></td></tr> <tr class="memitem:a8517acbd8209e7eeb56138d0ab616265 inherit pub_methods_class_e_s_i_g_n_function"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_s_i_g_n_function.html#a8517acbd8209e7eeb56138d0ab616265">Initialize</a> (const <a class="el" href="class_integer.html">Integer</a> &n, const <a class="el" href="class_integer.html">Integer</a> &e)</td></tr> <tr class="memdesc:a8517acbd8209e7eeb56138d0ab616265 inherit pub_methods_class_e_s_i_g_n_function"><td class="mdescLeft"> </td><td class="mdescRight">Initialize a <a class="el" href="struct_e_s_i_g_n.html" title="ESIGN signature scheme, IEEE P1363a. ">ESIGN</a> public key with {n,e}. <a href="class_e_s_i_g_n_function.html#a8517acbd8209e7eeb56138d0ab616265">More...</a><br /></td></tr> <tr class="separator:a8517acbd8209e7eeb56138d0ab616265 inherit pub_methods_class_e_s_i_g_n_function"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad7d9112f0e94caa37e815fb8d50e391a inherit pub_methods_class_e_s_i_g_n_function"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_integer.html">Integer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_s_i_g_n_function.html#ad7d9112f0e94caa37e815fb8d50e391a">ApplyFunction</a> (const <a class="el" href="class_integer.html">Integer</a> &x) const</td></tr> <tr class="memdesc:ad7d9112f0e94caa37e815fb8d50e391a inherit pub_methods_class_e_s_i_g_n_function"><td class="mdescLeft"> </td><td class="mdescRight">Applies the trapdoor. <a href="class_e_s_i_g_n_function.html#ad7d9112f0e94caa37e815fb8d50e391a">More...</a><br /></td></tr> <tr class="separator:ad7d9112f0e94caa37e815fb8d50e391a inherit pub_methods_class_e_s_i_g_n_function"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4d46257e98886e62e0fcb64a77c30053 inherit pub_methods_class_e_s_i_g_n_function"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_integer.html">Integer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_s_i_g_n_function.html#a4d46257e98886e62e0fcb64a77c30053">PreimageBound</a> () const</td></tr> <tr class="memdesc:a4d46257e98886e62e0fcb64a77c30053 inherit pub_methods_class_e_s_i_g_n_function"><td class="mdescLeft"> </td><td class="mdescRight">Returns the maximum size of a message before the trapdoor function is applied. <a href="class_e_s_i_g_n_function.html#a4d46257e98886e62e0fcb64a77c30053">More...</a><br /></td></tr> <tr class="separator:a4d46257e98886e62e0fcb64a77c30053 inherit pub_methods_class_e_s_i_g_n_function"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa5c6b63f6c16a17dcd4a5922924bf3d9 inherit pub_methods_class_e_s_i_g_n_function"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_integer.html">Integer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_s_i_g_n_function.html#aa5c6b63f6c16a17dcd4a5922924bf3d9">ImageBound</a> () const</td></tr> <tr class="memdesc:aa5c6b63f6c16a17dcd4a5922924bf3d9 inherit pub_methods_class_e_s_i_g_n_function"><td class="mdescLeft"> </td><td class="mdescRight">Returns the maximum size of a message after the trapdoor function is applied. <a href="class_e_s_i_g_n_function.html#aa5c6b63f6c16a17dcd4a5922924bf3d9">More...</a><br /></td></tr> <tr class="separator:aa5c6b63f6c16a17dcd4a5922924bf3d9 inherit pub_methods_class_e_s_i_g_n_function"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad86884eff23fbec3b0121e0758446dff inherit pub_methods_class_e_s_i_g_n_function"><td class="memItemLeft" align="right" valign="top"><a id="ad86884eff23fbec3b0121e0758446dff"></a> const <a class="el" href="class_integer.html">Integer</a> & </td><td class="memItemRight" valign="bottom"><b>GetModulus</b> () const</td></tr> <tr class="separator:ad86884eff23fbec3b0121e0758446dff inherit pub_methods_class_e_s_i_g_n_function"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af592c925439dbda940be69f4cdaf8a5a inherit pub_methods_class_e_s_i_g_n_function"><td class="memItemLeft" align="right" valign="top"><a id="af592c925439dbda940be69f4cdaf8a5a"></a> const <a class="el" href="class_integer.html">Integer</a> & </td><td class="memItemRight" valign="bottom"><b>GetPublicExponent</b> () const</td></tr> <tr class="separator:af592c925439dbda940be69f4cdaf8a5a inherit pub_methods_class_e_s_i_g_n_function"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5bf2c387bd0724b15af1b0eba8429875 inherit pub_methods_class_e_s_i_g_n_function"><td class="memItemLeft" align="right" valign="top"><a id="a5bf2c387bd0724b15af1b0eba8429875"></a> void </td><td class="memItemRight" valign="bottom"><b>SetModulus</b> (const <a class="el" href="class_integer.html">Integer</a> &n)</td></tr> <tr class="separator:a5bf2c387bd0724b15af1b0eba8429875 inherit pub_methods_class_e_s_i_g_n_function"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5c3a6be0267445a7b6eee4655b67568d inherit pub_methods_class_e_s_i_g_n_function"><td class="memItemLeft" align="right" valign="top"><a id="a5c3a6be0267445a7b6eee4655b67568d"></a> void </td><td class="memItemRight" valign="bottom"><b>SetPublicExponent</b> (const <a class="el" href="class_integer.html">Integer</a> &e)</td></tr> <tr class="separator:a5c3a6be0267445a7b6eee4655b67568d inherit pub_methods_class_e_s_i_g_n_function"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_class_trapdoor_function"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_trapdoor_function')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_trapdoor_function.html">TrapdoorFunction</a></td></tr> <tr class="memitem:a831474e986ac5c379ca55aa6675daf4b inherit pub_methods_class_trapdoor_function"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_integer.html">Integer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_trapdoor_function.html#a831474e986ac5c379ca55aa6675daf4b">ApplyRandomizedFunction</a> (<a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &rng, const <a class="el" href="class_integer.html">Integer</a> &x) const</td></tr> <tr class="memdesc:a831474e986ac5c379ca55aa6675daf4b inherit pub_methods_class_trapdoor_function"><td class="mdescLeft"> </td><td class="mdescRight">Applies the trapdoor function. <a href="class_trapdoor_function.html#a831474e986ac5c379ca55aa6675daf4b">More...</a><br /></td></tr> <tr class="separator:a831474e986ac5c379ca55aa6675daf4b inherit pub_methods_class_trapdoor_function"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a253eb5db8020326f869a4580e21bf5d8 inherit pub_methods_class_trapdoor_function"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_trapdoor_function.html#a253eb5db8020326f869a4580e21bf5d8">IsRandomized</a> () const</td></tr> <tr class="memdesc:a253eb5db8020326f869a4580e21bf5d8 inherit pub_methods_class_trapdoor_function"><td class="mdescLeft"> </td><td class="mdescRight">Determines if the encryption algorithm is randomized. <a href="class_trapdoor_function.html#a253eb5db8020326f869a4580e21bf5d8">More...</a><br /></td></tr> <tr class="separator:a253eb5db8020326f869a4580e21bf5d8 inherit pub_methods_class_trapdoor_function"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_class_trapdoor_function_bounds"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_trapdoor_function_bounds')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_trapdoor_function_bounds.html">TrapdoorFunctionBounds</a></td></tr> <tr class="memitem:ab85b47c9c3df4cf1030eff786ab11d5b inherit pub_methods_class_trapdoor_function_bounds"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_integer.html">Integer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_trapdoor_function_bounds.html#ab85b47c9c3df4cf1030eff786ab11d5b">MaxPreimage</a> () const</td></tr> <tr class="memdesc:ab85b47c9c3df4cf1030eff786ab11d5b inherit pub_methods_class_trapdoor_function_bounds"><td class="mdescLeft"> </td><td class="mdescRight">Returns the maximum size of a message before the trapdoor function is applied bound to a public key. <a href="class_trapdoor_function_bounds.html#ab85b47c9c3df4cf1030eff786ab11d5b">More...</a><br /></td></tr> <tr class="separator:ab85b47c9c3df4cf1030eff786ab11d5b inherit pub_methods_class_trapdoor_function_bounds"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9b505cf1a3494645998e7e0872b76a72 inherit pub_methods_class_trapdoor_function_bounds"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_integer.html">Integer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_trapdoor_function_bounds.html#a9b505cf1a3494645998e7e0872b76a72">MaxImage</a> () const</td></tr> <tr class="memdesc:a9b505cf1a3494645998e7e0872b76a72 inherit pub_methods_class_trapdoor_function_bounds"><td class="mdescLeft"> </td><td class="mdescRight">Returns the maximum size of a message after the trapdoor function is applied bound to a public key. <a href="class_trapdoor_function_bounds.html#a9b505cf1a3494645998e7e0872b76a72">More...</a><br /></td></tr> <tr class="separator:a9b505cf1a3494645998e7e0872b76a72 inherit pub_methods_class_trapdoor_function_bounds"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_class_a_s_n1_crypto_material"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_a_s_n1_crypto_material')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_a_s_n1_crypto_material.html">ASN1CryptoMaterial< PublicKey ></a></td></tr> <tr class="memitem:a52ea60c7684e0f3ea2749307d151de33 inherit pub_methods_class_a_s_n1_crypto_material"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_s_n1_crypto_material.html#a52ea60c7684e0f3ea2749307d151de33">Save</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &bt) const</td></tr> <tr class="memdesc:a52ea60c7684e0f3ea2749307d151de33 inherit pub_methods_class_a_s_n1_crypto_material"><td class="mdescLeft"> </td><td class="mdescRight">DER encode ASN.1 object. <a href="class_a_s_n1_crypto_material.html#a52ea60c7684e0f3ea2749307d151de33">More...</a><br /></td></tr> <tr class="separator:a52ea60c7684e0f3ea2749307d151de33 inherit pub_methods_class_a_s_n1_crypto_material"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a23d34a094f5765a1cf51f22ae1233f66 inherit pub_methods_class_a_s_n1_crypto_material"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_s_n1_crypto_material.html#a23d34a094f5765a1cf51f22ae1233f66">Load</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &bt)</td></tr> <tr class="memdesc:a23d34a094f5765a1cf51f22ae1233f66 inherit pub_methods_class_a_s_n1_crypto_material"><td class="mdescLeft"> </td><td class="mdescRight">BER decode ASN.1 object. <a href="class_a_s_n1_crypto_material.html#a23d34a094f5765a1cf51f22ae1233f66">More...</a><br /></td></tr> <tr class="separator:a23d34a094f5765a1cf51f22ae1233f66 inherit pub_methods_class_a_s_n1_crypto_material"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_class_a_s_n1_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_a_s_n1_object')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_a_s_n1_object.html">ASN1Object</a></td></tr> <tr class="memitem:a23d4aa134b80757d98145ecc832b5abb inherit pub_methods_class_a_s_n1_object"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_s_n1_object.html#a23d4aa134b80757d98145ecc832b5abb">BEREncode</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &bt) const</td></tr> <tr class="memdesc:a23d4aa134b80757d98145ecc832b5abb inherit pub_methods_class_a_s_n1_object"><td class="mdescLeft"> </td><td class="mdescRight">Encode this object into a <a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations. ">BufferedTransformation</a>. <a href="class_a_s_n1_object.html#a23d4aa134b80757d98145ecc832b5abb">More...</a><br /></td></tr> <tr class="separator:a23d4aa134b80757d98145ecc832b5abb inherit pub_methods_class_a_s_n1_object"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_class_crypto_material"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_crypto_material')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_crypto_material.html">CryptoMaterial</a></td></tr> <tr class="memitem:aedb65ba5323f7bb41fc57973566d20cd inherit pub_methods_class_crypto_material"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_crypto_material.html#aedb65ba5323f7bb41fc57973566d20cd">ThrowIfInvalid</a> (<a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &rng, unsigned int level) const</td></tr> <tr class="memdesc:aedb65ba5323f7bb41fc57973566d20cd inherit pub_methods_class_crypto_material"><td class="mdescLeft"> </td><td class="mdescRight">Check this object for errors. <a href="class_crypto_material.html#aedb65ba5323f7bb41fc57973566d20cd">More...</a><br /></td></tr> <tr class="separator:aedb65ba5323f7bb41fc57973566d20cd inherit pub_methods_class_crypto_material"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a35720c07870fcda4ae39148f8524274e inherit pub_methods_class_crypto_material"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_crypto_material.html#a35720c07870fcda4ae39148f8524274e">SupportsPrecomputation</a> () const</td></tr> <tr class="memdesc:a35720c07870fcda4ae39148f8524274e inherit pub_methods_class_crypto_material"><td class="mdescLeft"> </td><td class="mdescRight">Determines whether the object supports precomputation. <a href="class_crypto_material.html#a35720c07870fcda4ae39148f8524274e">More...</a><br /></td></tr> <tr class="separator:a35720c07870fcda4ae39148f8524274e inherit pub_methods_class_crypto_material"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a78380e019615a35d06e951a0f28e0a99 inherit pub_methods_class_crypto_material"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_crypto_material.html#a78380e019615a35d06e951a0f28e0a99">Precompute</a> (unsigned int precomputationStorage)</td></tr> <tr class="memdesc:a78380e019615a35d06e951a0f28e0a99 inherit pub_methods_class_crypto_material"><td class="mdescLeft"> </td><td class="mdescRight">Perform precomputation. <a href="class_crypto_material.html#a78380e019615a35d06e951a0f28e0a99">More...</a><br /></td></tr> <tr class="separator:a78380e019615a35d06e951a0f28e0a99 inherit pub_methods_class_crypto_material"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2911ebd9a28efa43dab71e5c12e2c90d inherit pub_methods_class_crypto_material"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_crypto_material.html#a2911ebd9a28efa43dab71e5c12e2c90d">LoadPrecomputation</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &storedPrecomputation)</td></tr> <tr class="memdesc:a2911ebd9a28efa43dab71e5c12e2c90d inherit pub_methods_class_crypto_material"><td class="mdescLeft"> </td><td class="mdescRight">Retrieve previously saved precomputation. <a href="class_crypto_material.html#a2911ebd9a28efa43dab71e5c12e2c90d">More...</a><br /></td></tr> <tr class="separator:a2911ebd9a28efa43dab71e5c12e2c90d inherit pub_methods_class_crypto_material"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a65b905e1af3efb962c356d49d2c90e73 inherit pub_methods_class_crypto_material"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_crypto_material.html#a65b905e1af3efb962c356d49d2c90e73">SavePrecomputation</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &storedPrecomputation) const</td></tr> <tr class="memdesc:a65b905e1af3efb962c356d49d2c90e73 inherit pub_methods_class_crypto_material"><td class="mdescLeft"> </td><td class="mdescRight">Save precomputation for later use. <a href="class_crypto_material.html#a65b905e1af3efb962c356d49d2c90e73">More...</a><br /></td></tr> <tr class="separator:a65b905e1af3efb962c356d49d2c90e73 inherit pub_methods_class_crypto_material"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa1da44802c5cf00946043922cb9e7e6e inherit pub_methods_class_crypto_material"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_crypto_material.html#aa1da44802c5cf00946043922cb9e7e6e">DoQuickSanityCheck</a> () const</td></tr> <tr class="memdesc:aa1da44802c5cf00946043922cb9e7e6e inherit pub_methods_class_crypto_material"><td class="mdescLeft"> </td><td class="mdescRight">Perform a quick sanity check. <a href="class_crypto_material.html#aa1da44802c5cf00946043922cb9e7e6e">More...</a><br /></td></tr> <tr class="separator:aa1da44802c5cf00946043922cb9e7e6e inherit pub_methods_class_crypto_material"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_class_name_value_pairs"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_name_value_pairs')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_name_value_pairs.html">NameValuePairs</a></td></tr> <tr class="memitem:a3401528f3d69d70f200086501b8af282 inherit pub_methods_class_name_value_pairs"><td class="memTemplParams" colspan="2">template<class T > </td></tr> <tr class="memitem:a3401528f3d69d70f200086501b8af282 inherit pub_methods_class_name_value_pairs"><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_name_value_pairs.html#a3401528f3d69d70f200086501b8af282">GetThisObject</a> (T &object) const</td></tr> <tr class="memdesc:a3401528f3d69d70f200086501b8af282 inherit pub_methods_class_name_value_pairs"><td class="mdescLeft"> </td><td class="mdescRight">Get a copy of this object or subobject. <a href="class_name_value_pairs.html#a3401528f3d69d70f200086501b8af282">More...</a><br /></td></tr> <tr class="separator:a3401528f3d69d70f200086501b8af282 inherit pub_methods_class_name_value_pairs"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abce7b413ce1345ab7b7d05fa3d1834f5 inherit pub_methods_class_name_value_pairs"><td class="memTemplParams" colspan="2">template<class T > </td></tr> <tr class="memitem:abce7b413ce1345ab7b7d05fa3d1834f5 inherit pub_methods_class_name_value_pairs"><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_name_value_pairs.html#abce7b413ce1345ab7b7d05fa3d1834f5">GetThisPointer</a> (T *&ptr) const</td></tr> <tr class="memdesc:abce7b413ce1345ab7b7d05fa3d1834f5 inherit pub_methods_class_name_value_pairs"><td class="mdescLeft"> </td><td class="mdescRight">Get a pointer to this object. <a href="class_name_value_pairs.html#abce7b413ce1345ab7b7d05fa3d1834f5">More...</a><br /></td></tr> <tr class="separator:abce7b413ce1345ab7b7d05fa3d1834f5 inherit pub_methods_class_name_value_pairs"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5357c3a09602e44671d1e42cb9a9408d inherit pub_methods_class_name_value_pairs"><td class="memTemplParams" colspan="2">template<class T > </td></tr> <tr class="memitem:a5357c3a09602e44671d1e42cb9a9408d inherit pub_methods_class_name_value_pairs"><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_name_value_pairs.html#a5357c3a09602e44671d1e42cb9a9408d">GetValue</a> (const char *name, T &value) const</td></tr> <tr class="memdesc:a5357c3a09602e44671d1e42cb9a9408d inherit pub_methods_class_name_value_pairs"><td class="mdescLeft"> </td><td class="mdescRight">Get a named value. <a href="class_name_value_pairs.html#a5357c3a09602e44671d1e42cb9a9408d">More...</a><br /></td></tr> <tr class="separator:a5357c3a09602e44671d1e42cb9a9408d inherit pub_methods_class_name_value_pairs"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4daf1ef67b547c6be96188a43e5ec05e inherit pub_methods_class_name_value_pairs"><td class="memTemplParams" colspan="2">template<class T > </td></tr> <tr class="memitem:a4daf1ef67b547c6be96188a43e5ec05e inherit pub_methods_class_name_value_pairs"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_name_value_pairs.html#a4daf1ef67b547c6be96188a43e5ec05e">GetValueWithDefault</a> (const char *name, T defaultValue) const</td></tr> <tr class="memdesc:a4daf1ef67b547c6be96188a43e5ec05e inherit pub_methods_class_name_value_pairs"><td class="mdescLeft"> </td><td class="mdescRight">Get a named value. <a href="class_name_value_pairs.html#a4daf1ef67b547c6be96188a43e5ec05e">More...</a><br /></td></tr> <tr class="separator:a4daf1ef67b547c6be96188a43e5ec05e inherit pub_methods_class_name_value_pairs"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a13faea827ee047cd58557282806ed2e1 inherit pub_methods_class_name_value_pairs"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="class_name_value_pairs.html#a13faea827ee047cd58557282806ed2e1">GetValueNames</a> () const</td></tr> <tr class="memdesc:a13faea827ee047cd58557282806ed2e1 inherit pub_methods_class_name_value_pairs"><td class="mdescLeft"> </td><td class="mdescRight">Get a list of value names that can be retrieved. <a href="class_name_value_pairs.html#a13faea827ee047cd58557282806ed2e1">More...</a><br /></td></tr> <tr class="separator:a13faea827ee047cd58557282806ed2e1 inherit pub_methods_class_name_value_pairs"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a94e5b19dc54625799797668ff8627c57 inherit pub_methods_class_name_value_pairs"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_name_value_pairs.html#a94e5b19dc54625799797668ff8627c57">GetIntValue</a> (const char *name, int &value) const</td></tr> <tr class="memdesc:a94e5b19dc54625799797668ff8627c57 inherit pub_methods_class_name_value_pairs"><td class="mdescLeft"> </td><td class="mdescRight">Get a named value with type int. <a href="class_name_value_pairs.html#a94e5b19dc54625799797668ff8627c57">More...</a><br /></td></tr> <tr class="separator:a94e5b19dc54625799797668ff8627c57 inherit pub_methods_class_name_value_pairs"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7ddb654b7afcd1a04422a7b4b01366d9 inherit pub_methods_class_name_value_pairs"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_name_value_pairs.html#a7ddb654b7afcd1a04422a7b4b01366d9">GetIntValueWithDefault</a> (const char *name, int defaultValue) const</td></tr> <tr class="memdesc:a7ddb654b7afcd1a04422a7b4b01366d9 inherit pub_methods_class_name_value_pairs"><td class="mdescLeft"> </td><td class="mdescRight">Get a named value with type int, with default. <a href="class_name_value_pairs.html#a7ddb654b7afcd1a04422a7b4b01366d9">More...</a><br /></td></tr> <tr class="separator:a7ddb654b7afcd1a04422a7b4b01366d9 inherit pub_methods_class_name_value_pairs"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af28f6e7abf98606d8146bfda271e99db inherit pub_methods_class_name_value_pairs"><td class="memTemplParams" colspan="2">template<class T > </td></tr> <tr class="memitem:af28f6e7abf98606d8146bfda271e99db inherit pub_methods_class_name_value_pairs"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_name_value_pairs.html#af28f6e7abf98606d8146bfda271e99db">GetRequiredParameter</a> (const char *className, const char *name, T &value) const</td></tr> <tr class="memdesc:af28f6e7abf98606d8146bfda271e99db inherit pub_methods_class_name_value_pairs"><td class="mdescLeft"> </td><td class="mdescRight">Retrieves a required name/value pair. <a href="class_name_value_pairs.html#af28f6e7abf98606d8146bfda271e99db">More...</a><br /></td></tr> <tr class="separator:af28f6e7abf98606d8146bfda271e99db inherit pub_methods_class_name_value_pairs"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acfb673d912e1bc19386bebba9d58c23f inherit pub_methods_class_name_value_pairs"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_name_value_pairs.html#acfb673d912e1bc19386bebba9d58c23f">GetRequiredIntParameter</a> (const char *className, const char *name, int &value) const</td></tr> <tr class="memdesc:acfb673d912e1bc19386bebba9d58c23f inherit pub_methods_class_name_value_pairs"><td class="mdescLeft"> </td><td class="mdescRight">Retrieves a required name/value pair. <a href="class_name_value_pairs.html#acfb673d912e1bc19386bebba9d58c23f">More...</a><br /></td></tr> <tr class="separator:acfb673d912e1bc19386bebba9d58c23f inherit pub_methods_class_name_value_pairs"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_class_randomized_trapdoor_function_inverse"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_randomized_trapdoor_function_inverse')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_randomized_trapdoor_function_inverse.html">RandomizedTrapdoorFunctionInverse</a></td></tr> <tr class="memitem:ac37368328021acf2d48d6aa9f6cb71c9 inherit pub_methods_class_randomized_trapdoor_function_inverse"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_randomized_trapdoor_function_inverse.html#ac37368328021acf2d48d6aa9f6cb71c9">IsRandomized</a> () const</td></tr> <tr class="memdesc:ac37368328021acf2d48d6aa9f6cb71c9 inherit pub_methods_class_randomized_trapdoor_function_inverse"><td class="mdescLeft"> </td><td class="mdescRight">Determines if the decryption algorithm is randomized. <a href="class_randomized_trapdoor_function_inverse.html#ac37368328021acf2d48d6aa9f6cb71c9">More...</a><br /></td></tr> <tr class="separator:ac37368328021acf2d48d6aa9f6cb71c9 inherit pub_methods_class_randomized_trapdoor_function_inverse"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_class_generatable_crypto_material"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_generatable_crypto_material')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_generatable_crypto_material.html">GeneratableCryptoMaterial</a></td></tr> <tr class="memitem:a38d492343c32e530a5c2781b5797f755 inherit pub_methods_class_generatable_crypto_material"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_generatable_crypto_material.html#a38d492343c32e530a5c2781b5797f755">GenerateRandomWithKeySize</a> (<a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &rng, unsigned int keySize)</td></tr> <tr class="memdesc:a38d492343c32e530a5c2781b5797f755 inherit pub_methods_class_generatable_crypto_material"><td class="mdescLeft"> </td><td class="mdescRight">Generate a random key or crypto parameters. <a href="class_generatable_crypto_material.html#a38d492343c32e530a5c2781b5797f755">More...</a><br /></td></tr> <tr class="separator:a38d492343c32e530a5c2781b5797f755 inherit pub_methods_class_generatable_crypto_material"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> Additional Inherited Members</h2></td></tr> <tr class="inherit_header pub_static_methods_class_name_value_pairs"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_name_value_pairs')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="class_name_value_pairs.html">NameValuePairs</a></td></tr> <tr class="memitem:ad4b80eeeb5f1f58e3cedb12f02a6b870 inherit pub_static_methods_class_name_value_pairs"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_name_value_pairs.html#ad4b80eeeb5f1f58e3cedb12f02a6b870">ThrowIfTypeMismatch</a> (const char *name, const std::type_info &stored, const std::type_info &retrieving)</td></tr> <tr class="memdesc:ad4b80eeeb5f1f58e3cedb12f02a6b870 inherit pub_static_methods_class_name_value_pairs"><td class="mdescLeft"> </td><td class="mdescRight">Ensures an expected name and type is present. <a href="class_name_value_pairs.html#ad4b80eeeb5f1f58e3cedb12f02a6b870">More...</a><br /></td></tr> <tr class="separator:ad4b80eeeb5f1f58e3cedb12f02a6b870 inherit pub_static_methods_class_name_value_pairs"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p><a class="el" href="struct_e_s_i_g_n.html" title="ESIGN signature scheme, IEEE P1363a. ">ESIGN</a> trapdoor function using the private key. </p> <dl class="section since"><dt>Since</dt><dd>Crypto++ 5.0 </dd></dl> <p class="definition">Definition at line <a class="el" href="esign_8h_source.html#l00062">62</a> of file <a class="el" href="esign_8h_source.html">esign.h</a>.</p> </div><h2 class="groupheader">Member Function Documentation</h2> <a id="a43215778d1630a0037a794d815dac5d6"></a> <h2 class="memtitle"><span class="permalink"><a href="#a43215778d1630a0037a794d815dac5d6">◆ </a></span>Initialize() <span class="overload">[1/2]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void InvertibleESIGNFunction::Initialize </td> <td>(</td> <td class="paramtype">const <a class="el" href="class_integer.html">Integer</a> & </td> <td class="paramname"><em>n</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="class_integer.html">Integer</a> & </td> <td class="paramname"><em>e</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="class_integer.html">Integer</a> & </td> <td class="paramname"><em>p</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="class_integer.html">Integer</a> & </td> <td class="paramname"><em>q</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Initialize a <a class="el" href="struct_e_s_i_g_n.html" title="ESIGN signature scheme, IEEE P1363a. ">ESIGN</a> private key with {n,e,p,q}. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">n</td><td>modulus </td></tr> <tr><td class="paramname">e</td><td>public exponent </td></tr> <tr><td class="paramname">p</td><td>first prime factor </td></tr> <tr><td class="paramname">q</td><td>second prime factor</td></tr> </table> </dd> </dl> <p>This <a class="el" href="class_invertible_e_s_i_g_n_function.html#a43215778d1630a0037a794d815dac5d6" title="Initialize a ESIGN private key with {n,e,p,q}. ">Initialize()</a> function overload initializes a private key from existing parameters. </p> <p class="definition">Definition at line <a class="el" href="esign_8h_source.html#l00074">74</a> of file <a class="el" href="esign_8h_source.html">esign.h</a>.</p> </div> </div> <a id="a4ebace71d71f1e3d49bbb506105789e7"></a> <h2 class="memtitle"><span class="permalink"><a href="#a4ebace71d71f1e3d49bbb506105789e7">◆ </a></span>Initialize() <span class="overload">[2/2]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void InvertibleESIGNFunction::Initialize </td> <td>(</td> <td class="paramtype"><a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> & </td> <td class="paramname"><em>rng</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned int </td> <td class="paramname"><em>modulusBits</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Create a <a class="el" href="struct_e_s_i_g_n.html" title="ESIGN signature scheme, IEEE P1363a. ">ESIGN</a> private key. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">rng</td><td>a <a class="el" href="class_random_number_generator.html" title="Interface for random number generators. ">RandomNumberGenerator</a> derived class </td></tr> <tr><td class="paramname">modulusBits</td><td>the size of the modulud, in bits</td></tr> </table> </dd> </dl> <p>This function overload of <a class="el" href="class_invertible_e_s_i_g_n_function.html#a43215778d1630a0037a794d815dac5d6" title="Initialize a ESIGN private key with {n,e,p,q}. ">Initialize()</a> creates a new private key because it takes a <a class="el" href="class_random_number_generator.html" title="Interface for random number generators. ">RandomNumberGenerator()</a> as a parameter. If you have an existing keypair, then use one of the other <a class="el" href="class_invertible_e_s_i_g_n_function.html#a43215778d1630a0037a794d815dac5d6" title="Initialize a ESIGN private key with {n,e,p,q}. ">Initialize()</a> overloads. </p> <p class="definition">Definition at line <a class="el" href="esign_8h_source.html#l00083">83</a> of file <a class="el" href="esign_8h_source.html">esign.h</a>.</p> </div> </div> <a id="a5516f8cc925dc763d70d08437b19ea8f"></a> <h2 class="memtitle"><span class="permalink"><a href="#a5516f8cc925dc763d70d08437b19ea8f">◆ </a></span>Save()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void InvertibleESIGNFunction::Save </td> <td>(</td> <td class="paramtype"><a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> & </td> <td class="paramname"><em>bt</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Saves a key to a <a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations. ">BufferedTransformation</a>. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">bt</td><td>the destination <a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations. ">BufferedTransformation</a> </td></tr> </table> </dd> </dl> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="class_not_implemented.html" title="A method was called which was not implemented. ">NotImplemented</a></td><td></td></tr> </table> </dd> </dl> <p><a class="el" href="class_invertible_e_s_i_g_n_function.html#a5516f8cc925dc763d70d08437b19ea8f" title="Saves a key to a BufferedTransformation. ">Save()</a> writes the material to a <a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations. ">BufferedTransformation</a>.</p> <p>If the material is a key, then the key is written with ASN.1 DER encoding. The key includes an object identifier with an algorthm id, like a subjectPublicKeyInfo.</p> <p>A "raw" key without the "key info" can be saved using a key's <a class="el" href="class_invertible_e_s_i_g_n_function.html#a67cceb3b4d3d40b01d89c2053b8b258f" title="Encode this object into a BufferedTransformation. ">DEREncode()</a> method.</p> <p>If a derived class does not override <a class="el" href="class_invertible_e_s_i_g_n_function.html#a5516f8cc925dc763d70d08437b19ea8f" title="Saves a key to a BufferedTransformation. ">Save()</a>, then the base class throws <a class="el" href="class_not_implemented.html" title="A method was called which was not implemented. ">NotImplemented()</a>. </p> <p>Reimplemented from <a class="el" href="class_crypto_material.html#a12d0186a42abb68cfc3538c1fe3e3de4">CryptoMaterial</a>.</p> <p class="definition">Definition at line <a class="el" href="esign_8h_source.html#l00087">87</a> of file <a class="el" href="esign_8h_source.html">esign.h</a>.</p> </div> </div> <a id="a64a251d28970b7c1d42295cffd4dc09e"></a> <h2 class="memtitle"><span class="permalink"><a href="#a64a251d28970b7c1d42295cffd4dc09e">◆ </a></span>Load()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void InvertibleESIGNFunction::Load </td> <td>(</td> <td class="paramtype"><a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> & </td> <td class="paramname"><em>bt</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Loads a key from a <a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations. ">BufferedTransformation</a>. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">bt</td><td>the source <a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations. ">BufferedTransformation</a> </td></tr> </table> </dd> </dl> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname">KeyingErr</td><td></td></tr> </table> </dd> </dl> <p><a class="el" href="class_invertible_e_s_i_g_n_function.html#a64a251d28970b7c1d42295cffd4dc09e" title="Loads a key from a BufferedTransformation. ">Load()</a> attempts to read material from a <a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations. ">BufferedTransformation</a>. If the material is a key that was generated outside the library, then the following usually applies: </p><ul> <li> the key should be ASN.1 BER encoded </li> <li> the key should be a "key info" </li> </ul> <p>"key info" means the key should have an object identifier with an algorthm id, like a subjectPublicKeyInfo.</p> <p>To read a "raw" key without the "key info", then call the key's <a class="el" href="class_invertible_e_s_i_g_n_function.html#a7e63d8fe66a25af6611f37bdaac982c4" title="Decode this object from a BufferedTransformation. ">BERDecode()</a> method. </p><dl class="section note"><dt>Note</dt><dd><a class="el" href="class_invertible_e_s_i_g_n_function.html#a64a251d28970b7c1d42295cffd4dc09e" title="Loads a key from a BufferedTransformation. ">Load()</a> generally does not check that the key is valid. Call <a class="el" href="class_invertible_e_s_i_g_n_function.html#a1c64c8101a488232cde43a5c473742b1" title="Check this object for errors. ">Validate()</a>, if needed. </dd></dl> <p>Reimplemented from <a class="el" href="class_crypto_material.html#ae7a94de4c3d3822070db5babbdf8b113">CryptoMaterial</a>.</p> <p class="definition">Definition at line <a class="el" href="esign_8h_source.html#l00091">91</a> of file <a class="el" href="esign_8h_source.html">esign.h</a>.</p> </div> </div> <a id="a7e63d8fe66a25af6611f37bdaac982c4"></a> <h2 class="memtitle"><span class="permalink"><a href="#a7e63d8fe66a25af6611f37bdaac982c4">◆ </a></span>BERDecode()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void InvertibleESIGNFunction::BERDecode </td> <td>(</td> <td class="paramtype"><a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> & </td> <td class="paramname"><em>bt</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Decode this object from a <a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations. ">BufferedTransformation</a>. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">bt</td><td><a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations. ">BufferedTransformation</a> object</td></tr> </table> </dd> </dl> <p>Uses Basic Encoding Rules (BER) </p> <p>Reimplemented from <a class="el" href="class_e_s_i_g_n_function.html#a6517cb00d59eb584c9ecf86d3dce6742">ESIGNFunction</a>.</p> <p class="definition">Definition at line <a class="el" href="esign_8cpp_source.html#l00133">133</a> of file <a class="el" href="esign_8cpp_source.html">esign.cpp</a>.</p> </div> </div> <a id="a67cceb3b4d3d40b01d89c2053b8b258f"></a> <h2 class="memtitle"><span class="permalink"><a href="#a67cceb3b4d3d40b01d89c2053b8b258f">◆ </a></span>DEREncode()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void InvertibleESIGNFunction::DEREncode </td> <td>(</td> <td class="paramtype"><a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> & </td> <td class="paramname"><em>bt</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Encode this object into a <a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations. ">BufferedTransformation</a>. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">bt</td><td><a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations. ">BufferedTransformation</a> object</td></tr> </table> </dd> </dl> <p>Uses Distinguished Encoding Rules (DER) </p> <p>Reimplemented from <a class="el" href="class_e_s_i_g_n_function.html#a2b93474e204437265a68c8c8a1c910c9">ESIGNFunction</a>.</p> <p class="definition">Definition at line <a class="el" href="esign_8cpp_source.html#l00143">143</a> of file <a class="el" href="esign_8cpp_source.html">esign.cpp</a>.</p> </div> </div> <a id="a0eed8ac3efb7868aa7ae0a09ee785610"></a> <h2 class="memtitle"><span class="permalink"><a href="#a0eed8ac3efb7868aa7ae0a09ee785610">◆ </a></span>CalculateRandomizedInverse()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="class_integer.html">Integer</a> InvertibleESIGNFunction::CalculateRandomizedInverse </td> <td>(</td> <td class="paramtype"><a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> & </td> <td class="paramname"><em>rng</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="class_integer.html">Integer</a> & </td> <td class="paramname"><em>x</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Applies the inverse of the trapdoor function, using random data if required. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">rng</td><td>a <a class="el" href="class_random_number_generator.html" title="Interface for random number generators. ">RandomNumberGenerator</a> derived class </td></tr> <tr><td class="paramname">x</td><td>the message on which the decryption function is applied </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the message x decrypted under the private key</dd></dl> <p>CalculateRandomizedInverse is a generalization of decryption using the private key The <a class="el" href="class_random_number_generator.html" title="Interface for random number generators. ">RandomNumberGenerator</a> may (or may not) be required. Derived classes must implement it. </p> <p>Implements <a class="el" href="class_randomized_trapdoor_function_inverse.html#a2c01608b61496578c5fe2967e69b923a">RandomizedTrapdoorFunctionInverse</a>.</p> <p class="definition">Definition at line <a class="el" href="esign_8cpp_source.html#l00153">153</a> of file <a class="el" href="esign_8cpp_source.html">esign.cpp</a>.</p> </div> </div> <a id="a1c64c8101a488232cde43a5c473742b1"></a> <h2 class="memtitle"><span class="permalink"><a href="#a1c64c8101a488232cde43a5c473742b1">◆ </a></span>Validate()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool InvertibleESIGNFunction::Validate </td> <td>(</td> <td class="paramtype"><a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> & </td> <td class="paramname"><em>rng</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned int </td> <td class="paramname"><em>level</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Check this object for errors. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">rng</td><td>a <a class="el" href="class_random_number_generator.html" title="Interface for random number generators. ">RandomNumberGenerator</a> for objects which use randomized testing </td></tr> <tr><td class="paramname">level</td><td>the level of thoroughness </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true if the tests succeed, false otherwise</dd></dl> <p>There are four levels of thoroughness: </p><ul> <li> 0 - using this object won't cause a crash or exception </li> <li> 1 - this object will probably function, and encrypt, sign, other operations correctly </li> <li> 2 - ensure this object will function correctly, and perform reasonable security checks </li> <li> 3 - perform reasonable security checks, and do checks that may take a long time </li> </ul> <p>Level 0 does not require a <a class="el" href="class_random_number_generator.html" title="Interface for random number generators. ">RandomNumberGenerator</a>. A <a class="el" href="cryptlib_8h.html#a1e53479a6d427158247ac1ece3161a6d" title="Random Number Generator that does not produce random numbers. ">NullRNG()</a> can be used for level 0. Level 1 may not check for weak keys and such. Levels 2 and 3 are recommended. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_crypto_material.html#aedb65ba5323f7bb41fc57973566d20cd" title="Check this object for errors. ">ThrowIfInvalid()</a> </dd></dl> <p>Reimplemented from <a class="el" href="class_e_s_i_g_n_function.html#acc185d24c97a74543a6e5820219282bd">ESIGNFunction</a>.</p> <p class="definition">Definition at line <a class="el" href="esign_8cpp_source.html#l00194">194</a> of file <a class="el" href="esign_8cpp_source.html">esign.cpp</a>.</p> </div> </div> <a id="a870d6ba6500b250ec400fdbb7ad47e08"></a> <h2 class="memtitle"><span class="permalink"><a href="#a870d6ba6500b250ec400fdbb7ad47e08">◆ </a></span>GetVoidValue()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool InvertibleESIGNFunction::GetVoidValue </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::type_info & </td> <td class="paramname"><em>valueType</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">void * </td> <td class="paramname"><em>pValue</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get a named value. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">name</td><td>the name of the object or value to retrieve </td></tr> <tr><td class="paramname">valueType</td><td>reference to a variable that receives the value </td></tr> <tr><td class="paramname">pValue</td><td>void pointer to a variable that receives the value </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true if the value was retrieved, false otherwise</dd></dl> <p><a class="el" href="class_invertible_e_s_i_g_n_function.html#a870d6ba6500b250ec400fdbb7ad47e08" title="Get a named value. ">GetVoidValue()</a> retrieves the value of name if it exists. </p><dl class="section note"><dt>Note</dt><dd><a class="el" href="class_invertible_e_s_i_g_n_function.html#a870d6ba6500b250ec400fdbb7ad47e08" title="Get a named value. ">GetVoidValue()</a> is an internal function and should be implemented by derived classes. Users should use one of the other functions instead. </dd></dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_name_value_pairs.html#a5357c3a09602e44671d1e42cb9a9408d" title="Get a named value. ">GetValue()</a>, <a class="el" href="class_name_value_pairs.html#a4daf1ef67b547c6be96188a43e5ec05e" title="Get a named value. ">GetValueWithDefault()</a>, <a class="el" href="class_name_value_pairs.html#a94e5b19dc54625799797668ff8627c57" title="Get a named value with type int. ">GetIntValue()</a>, <a class="el" href="class_name_value_pairs.html#a7ddb654b7afcd1a04422a7b4b01366d9" title="Get a named value with type int, with default. ">GetIntValueWithDefault()</a>, <a class="el" href="class_name_value_pairs.html#af28f6e7abf98606d8146bfda271e99db" title="Retrieves a required name/value pair. ">GetRequiredParameter()</a> and <a class="el" href="class_name_value_pairs.html#acfb673d912e1bc19386bebba9d58c23f" title="Retrieves a required name/value pair. ">GetRequiredIntParameter()</a> </dd></dl> <p>Reimplemented from <a class="el" href="class_e_s_i_g_n_function.html#ae710b91b8682ad26bc9ff35b015ccc52">ESIGNFunction</a>.</p> <p class="definition">Definition at line <a class="el" href="esign_8cpp_source.html#l00217">217</a> of file <a class="el" href="esign_8cpp_source.html">esign.cpp</a>.</p> </div> </div> <a id="aca870e350b30d04a47d452f21e903278"></a> <h2 class="memtitle"><span class="permalink"><a href="#aca870e350b30d04a47d452f21e903278">◆ </a></span>AssignFrom()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void InvertibleESIGNFunction::AssignFrom </td> <td>(</td> <td class="paramtype">const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> & </td> <td class="paramname"><em>source</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Assign values to this object. </p> <p>This function can be used to create a public key from a private key. </p> <p>Reimplemented from <a class="el" href="class_e_s_i_g_n_function.html#a1ff8229ed7786a13a69d15e5a64e4d21">ESIGNFunction</a>.</p> <p class="definition">Definition at line <a class="el" href="esign_8cpp_source.html#l00225">225</a> of file <a class="el" href="esign_8cpp_source.html">esign.cpp</a>.</p> </div> </div> <a id="a241b733193f9f420f188ca6f57d49c27"></a> <h2 class="memtitle"><span class="permalink"><a href="#a241b733193f9f420f188ca6f57d49c27">◆ </a></span>GenerateRandom()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void InvertibleESIGNFunction::GenerateRandom </td> <td>(</td> <td class="paramtype"><a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> & </td> <td class="paramname"><em>rng</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> & </td> <td class="paramname"><em>alg</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>parameters: (ModulusSize) </p> <p>Reimplemented from <a class="el" href="class_generatable_crypto_material.html#abe368b52db1ca7079b690f2d6e605f7a">GeneratableCryptoMaterial</a>.</p> <p class="definition">Definition at line <a class="el" href="esign_8cpp_source.html#l00088">88</a> of file <a class="el" href="esign_8cpp_source.html">esign.cpp</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="esign_8h_source.html">esign.h</a></li> <li><a class="el" href="esign_8cpp_source.html">esign.cpp</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Sun Sep 16 2018 07:58:39 for Crypto++ by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.14 </small></address> </body> </html>