Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > 0a67b807a02637f2cae68649d519a89d > files > 1129

libcryptopp-devel-7.0.0-1.mga7.armv7hl.rpm

<!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++: InvertibleRWFunction 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++
   &#160;<span id="projectnumber">7.0</span>
   </div>
   <div id="projectbrief">Free&nbsp;C&#43;&#43;&nbsp;class&nbsp;library&nbsp;of&nbsp;cryptographic&nbsp;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&amp;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> &#124;
<a href="class_invertible_r_w_function-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">InvertibleRWFunction Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Rabin-Williams trapdoor function using the private key.  
 <a href="class_invertible_r_w_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 InvertibleRWFunction:</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_r_w_function.png" usemap="#InvertibleRWFunction_map" alt=""/>
  <map id="InvertibleRWFunction_map" name="InvertibleRWFunction_map">
<area href="class_r_w_function.html" title="Rabin-Williams trapdoor function using the public key. " alt="RWFunction" shape="rect" coords="116,168,339,192"/>
<area href="class_trapdoor_function_inverse.html" title="Applies the inverse of the trapdoor function. " alt="TrapdoorFunctionInverse" shape="rect" coords="466,168,689,192"/>
<area href="class_private_key.html" title="Interface for private keys. " alt="PrivateKey" shape="rect" coords="699,168,922,192"/>
<area href="class_trapdoor_function.html" title="Applies the trapdoor function. " alt="TrapdoorFunction" shape="rect" coords="0,112,223,136"/>
<area href="class_public_key.html" title="Interface for public keys. " alt="PublicKey" shape="rect" coords="233,112,456,136"/>
<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="466,112,689,136"/>
<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,112,922,136"/>
<area href="class_randomized_trapdoor_function.html" title="Applies the trapdoor function, using random data if required. " alt="RandomizedTrapdoorFunction" 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="233,56,456,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="699,56,922,80"/>
<area href="class_trapdoor_function_bounds.html" title="Provides range for plaintext and ciphertext lengths. " alt="TrapdoorFunctionBounds" shape="rect" coords="0,0,223,24"/>
<area href="class_name_value_pairs.html" title="Interface for retrieving values given their names. " alt="NameValuePairs" shape="rect" coords="233,0,456,24"/>
<area href="class_name_value_pairs.html" title="Interface for retrieving values given their names. " alt="NameValuePairs" shape="rect" coords="699,0,922,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:a95f5d0f18f65429d5e0bb26b55561a6b"><td class="memItemLeft" align="right" valign="top"><a id="a95f5d0f18f65429d5e0bb26b55561a6b"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_r_w_function.html#a95f5d0f18f65429d5e0bb26b55561a6b">InvertibleRWFunction</a> ()</td></tr>
<tr class="memdesc:a95f5d0f18f65429d5e0bb26b55561a6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct an <a class="el" href="class_invertible_r_w_function.html" title="Rabin-Williams trapdoor function using the private key. ">InvertibleRWFunction</a>. <br /></td></tr>
<tr class="separator:a95f5d0f18f65429d5e0bb26b55561a6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6087d4bf788bd6beab89699eb7069b86"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_r_w_function.html#a6087d4bf788bd6beab89699eb7069b86">Initialize</a> (const <a class="el" href="class_integer.html">Integer</a> &amp;n, const <a class="el" href="class_integer.html">Integer</a> &amp;p, const <a class="el" href="class_integer.html">Integer</a> &amp;q, const <a class="el" href="class_integer.html">Integer</a> &amp;u)</td></tr>
<tr class="memdesc:a6087d4bf788bd6beab89699eb7069b86"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize a Rabin-Williams private key.  <a href="#a6087d4bf788bd6beab89699eb7069b86">More...</a><br /></td></tr>
<tr class="separator:a6087d4bf788bd6beab89699eb7069b86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6489b68e2d321e3844b85060ba42f90c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_r_w_function.html#a6489b68e2d321e3844b85060ba42f90c">Initialize</a> (<a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;rng, unsigned int modulusBits)</td></tr>
<tr class="memdesc:a6489b68e2d321e3844b85060ba42f90c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a Rabin-Williams private key.  <a href="#a6489b68e2d321e3844b85060ba42f90c">More...</a><br /></td></tr>
<tr class="separator:a6489b68e2d321e3844b85060ba42f90c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85e6ad506b653b4511bfd14d06aa95b5"><td class="memItemLeft" align="right" valign="top"><a id="a85e6ad506b653b4511bfd14d06aa95b5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>BERDecode</b> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;bt)</td></tr>
<tr class="separator:a85e6ad506b653b4511bfd14d06aa95b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affddc5478205a51339260968936dac27"><td class="memItemLeft" align="right" valign="top"><a id="affddc5478205a51339260968936dac27"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>DEREncode</b> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;bt) const</td></tr>
<tr class="separator:affddc5478205a51339260968936dac27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a86504f7651f961b639827cfe1c2b29"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_r_w_function.html#a2a86504f7651f961b639827cfe1c2b29">Save</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;bt) const</td></tr>
<tr class="memdesc:a2a86504f7651f961b639827cfe1c2b29"><td class="mdescLeft">&#160;</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="#a2a86504f7651f961b639827cfe1c2b29">More...</a><br /></td></tr>
<tr class="separator:a2a86504f7651f961b639827cfe1c2b29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e60bc2f2a75e5b7560aebae2625160f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_r_w_function.html#a5e60bc2f2a75e5b7560aebae2625160f">Load</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;bt)</td></tr>
<tr class="memdesc:a5e60bc2f2a75e5b7560aebae2625160f"><td class="mdescLeft">&#160;</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="#a5e60bc2f2a75e5b7560aebae2625160f">More...</a><br /></td></tr>
<tr class="separator:a5e60bc2f2a75e5b7560aebae2625160f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbe2ded92af6360ab4a17e2cb6289085"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_integer.html">Integer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_r_w_function.html#adbe2ded92af6360ab4a17e2cb6289085">CalculateInverse</a> (<a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;rng, const <a class="el" href="class_integer.html">Integer</a> &amp;x) const</td></tr>
<tr class="memdesc:adbe2ded92af6360ab4a17e2cb6289085"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculates the inverse of an element.  <a href="#adbe2ded92af6360ab4a17e2cb6289085">More...</a><br /></td></tr>
<tr class="separator:adbe2ded92af6360ab4a17e2cb6289085"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c3858f76fdd2c48bcac7346d75b8c9e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_r_w_function.html#a1c3858f76fdd2c48bcac7346d75b8c9e">Validate</a> (<a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;rng, unsigned int level) const</td></tr>
<tr class="memdesc:a1c3858f76fdd2c48bcac7346d75b8c9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check this object for errors.  <a href="#a1c3858f76fdd2c48bcac7346d75b8c9e">More...</a><br /></td></tr>
<tr class="separator:a1c3858f76fdd2c48bcac7346d75b8c9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7532c7a2c5e2938fa998733f44f35148"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_r_w_function.html#a7532c7a2c5e2938fa998733f44f35148">GetVoidValue</a> (const char *name, const std::type_info &amp;valueType, void *pValue) const</td></tr>
<tr class="memdesc:a7532c7a2c5e2938fa998733f44f35148"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a named value.  <a href="#a7532c7a2c5e2938fa998733f44f35148">More...</a><br /></td></tr>
<tr class="separator:a7532c7a2c5e2938fa998733f44f35148"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56b0314b678c58228671d3c9049f86db"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_r_w_function.html#a56b0314b678c58228671d3c9049f86db">AssignFrom</a> (const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> &amp;source)</td></tr>
<tr class="memdesc:a56b0314b678c58228671d3c9049f86db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign values to this object.  <a href="#a56b0314b678c58228671d3c9049f86db">More...</a><br /></td></tr>
<tr class="separator:a56b0314b678c58228671d3c9049f86db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8953bb59727e0ae2d79071874a793c48"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_r_w_function.html#a8953bb59727e0ae2d79071874a793c48">GenerateRandom</a> (<a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;rng, const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> &amp;alg)</td></tr>
<tr class="separator:a8953bb59727e0ae2d79071874a793c48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f283d5f1aad6946c910073fa2eb7dc6"><td class="memItemLeft" align="right" valign="top"><a id="a5f283d5f1aad6946c910073fa2eb7dc6"></a>
const <a class="el" href="class_integer.html">Integer</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetPrime1</b> () const</td></tr>
<tr class="separator:a5f283d5f1aad6946c910073fa2eb7dc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82cd8d7828be9ff785291ac3ea9690b4"><td class="memItemLeft" align="right" valign="top"><a id="a82cd8d7828be9ff785291ac3ea9690b4"></a>
const <a class="el" href="class_integer.html">Integer</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetPrime2</b> () const</td></tr>
<tr class="separator:a82cd8d7828be9ff785291ac3ea9690b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18af827a16a5bad9990f1b0e4bd052e8"><td class="memItemLeft" align="right" valign="top"><a id="a18af827a16a5bad9990f1b0e4bd052e8"></a>
const <a class="el" href="class_integer.html">Integer</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetMultiplicativeInverseOfPrime2ModPrime1</b> () const</td></tr>
<tr class="separator:a18af827a16a5bad9990f1b0e4bd052e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e390e6bd4701da66947fc2ae65e4598"><td class="memItemLeft" align="right" valign="top"><a id="a5e390e6bd4701da66947fc2ae65e4598"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SetPrime1</b> (const <a class="el" href="class_integer.html">Integer</a> &amp;p)</td></tr>
<tr class="separator:a5e390e6bd4701da66947fc2ae65e4598"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a370b4bc09e8465fe5c1db848b851653f"><td class="memItemLeft" align="right" valign="top"><a id="a370b4bc09e8465fe5c1db848b851653f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SetPrime2</b> (const <a class="el" href="class_integer.html">Integer</a> &amp;q)</td></tr>
<tr class="separator:a370b4bc09e8465fe5c1db848b851653f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada25441d1383a4c1f838cc670b1d0188"><td class="memItemLeft" align="right" valign="top"><a id="ada25441d1383a4c1f838cc670b1d0188"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SetMultiplicativeInverseOfPrime2ModPrime1</b> (const <a class="el" href="class_integer.html">Integer</a> &amp;u)</td></tr>
<tr class="separator:ada25441d1383a4c1f838cc670b1d0188"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64c056545db8676d83329acbc77b1a61"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_r_w_function.html#a64c056545db8676d83329acbc77b1a61">SupportsPrecomputation</a> () const</td></tr>
<tr class="memdesc:a64c056545db8676d83329acbc77b1a61"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines whether the object supports precomputation.  <a href="#a64c056545db8676d83329acbc77b1a61">More...</a><br /></td></tr>
<tr class="separator:a64c056545db8676d83329acbc77b1a61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac342086a1eb669da37bafa45572f08b9"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_r_w_function.html#ac342086a1eb669da37bafa45572f08b9">Precompute</a> (unsigned int unused=0)</td></tr>
<tr class="memdesc:ac342086a1eb669da37bafa45572f08b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform precomputation.  <a href="#ac342086a1eb669da37bafa45572f08b9">More...</a><br /></td></tr>
<tr class="separator:ac342086a1eb669da37bafa45572f08b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bda232ff8925d6853bac74e00c560e7"><td class="memItemLeft" align="right" valign="top"><a id="a9bda232ff8925d6853bac74e00c560e7"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>Precompute</b> (unsigned int unused=0) const</td></tr>
<tr class="separator:a9bda232ff8925d6853bac74e00c560e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9960b78b03de88ace2fde8b99f517722"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_r_w_function.html#a9960b78b03de88ace2fde8b99f517722">LoadPrecomputation</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;storedPrecomputation)</td></tr>
<tr class="memdesc:a9960b78b03de88ace2fde8b99f517722"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve previously saved precomputation.  <a href="#a9960b78b03de88ace2fde8b99f517722">More...</a><br /></td></tr>
<tr class="separator:a9960b78b03de88ace2fde8b99f517722"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e54f331b0e4ee2fc99cb36dc6919039"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_r_w_function.html#a0e54f331b0e4ee2fc99cb36dc6919039">SavePrecomputation</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;storedPrecomputation) const</td></tr>
<tr class="memdesc:a0e54f331b0e4ee2fc99cb36dc6919039"><td class="mdescLeft">&#160;</td><td class="mdescRight">Save precomputation for later use.  <a href="#a0e54f331b0e4ee2fc99cb36dc6919039">More...</a><br /></td></tr>
<tr class="separator:a0e54f331b0e4ee2fc99cb36dc6919039"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_r_w_function"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_r_w_function')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_r_w_function.html">RWFunction</a></td></tr>
<tr class="memitem:a614204219fea42197352b8456ef0b7c5 inherit pub_methods_class_r_w_function"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_w_function.html#a614204219fea42197352b8456ef0b7c5">Initialize</a> (const <a class="el" href="class_integer.html">Integer</a> &amp;n)</td></tr>
<tr class="memdesc:a614204219fea42197352b8456ef0b7c5 inherit pub_methods_class_r_w_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize a Rabin-Williams public key.  <a href="class_r_w_function.html#a614204219fea42197352b8456ef0b7c5">More...</a><br /></td></tr>
<tr class="separator:a614204219fea42197352b8456ef0b7c5 inherit pub_methods_class_r_w_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6ec85792b74c6dd4c9d48cabefdd882 inherit pub_methods_class_r_w_function"><td class="memItemLeft" align="right" valign="top"><a id="ad6ec85792b74c6dd4c9d48cabefdd882"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>BERDecode</b> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;bt)</td></tr>
<tr class="separator:ad6ec85792b74c6dd4c9d48cabefdd882 inherit pub_methods_class_r_w_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5309272316ec240adba4ad2196f613c8 inherit pub_methods_class_r_w_function"><td class="memItemLeft" align="right" valign="top"><a id="a5309272316ec240adba4ad2196f613c8"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>DEREncode</b> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;bt) const</td></tr>
<tr class="separator:a5309272316ec240adba4ad2196f613c8 inherit pub_methods_class_r_w_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37cf8dd12263547a61890f8409a3d4d5 inherit pub_methods_class_r_w_function"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_integer.html">Integer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_w_function.html#a37cf8dd12263547a61890f8409a3d4d5">ApplyFunction</a> (const <a class="el" href="class_integer.html">Integer</a> &amp;x) const</td></tr>
<tr class="memdesc:a37cf8dd12263547a61890f8409a3d4d5 inherit pub_methods_class_r_w_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Applies the trapdoor.  <a href="class_r_w_function.html#a37cf8dd12263547a61890f8409a3d4d5">More...</a><br /></td></tr>
<tr class="separator:a37cf8dd12263547a61890f8409a3d4d5 inherit pub_methods_class_r_w_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3133e8d2cbbf5c44925c088fa30f2157 inherit pub_methods_class_r_w_function"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_integer.html">Integer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_w_function.html#a3133e8d2cbbf5c44925c088fa30f2157">PreimageBound</a> () const</td></tr>
<tr class="memdesc:a3133e8d2cbbf5c44925c088fa30f2157 inherit pub_methods_class_r_w_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the maximum size of a message before the trapdoor function is applied.  <a href="class_r_w_function.html#a3133e8d2cbbf5c44925c088fa30f2157">More...</a><br /></td></tr>
<tr class="separator:a3133e8d2cbbf5c44925c088fa30f2157 inherit pub_methods_class_r_w_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53ac54d4f007c7eddd2b4c771c16b0ea inherit pub_methods_class_r_w_function"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_integer.html">Integer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_w_function.html#a53ac54d4f007c7eddd2b4c771c16b0ea">ImageBound</a> () const</td></tr>
<tr class="memdesc:a53ac54d4f007c7eddd2b4c771c16b0ea inherit pub_methods_class_r_w_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the maximum size of a message after the trapdoor function is applied.  <a href="class_r_w_function.html#a53ac54d4f007c7eddd2b4c771c16b0ea">More...</a><br /></td></tr>
<tr class="separator:a53ac54d4f007c7eddd2b4c771c16b0ea inherit pub_methods_class_r_w_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1476f3beb5848f37216f67778df3eb6e inherit pub_methods_class_r_w_function"><td class="memItemLeft" align="right" valign="top"><a id="a1476f3beb5848f37216f67778df3eb6e"></a>
const <a class="el" href="class_integer.html">Integer</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetModulus</b> () const</td></tr>
<tr class="separator:a1476f3beb5848f37216f67778df3eb6e inherit pub_methods_class_r_w_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5df5efb3885c607ca331929be9938546 inherit pub_methods_class_r_w_function"><td class="memItemLeft" align="right" valign="top"><a id="a5df5efb3885c607ca331929be9938546"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SetModulus</b> (const <a class="el" href="class_integer.html">Integer</a> &amp;n)</td></tr>
<tr class="separator:a5df5efb3885c607ca331929be9938546 inherit pub_methods_class_r_w_function"><td class="memSeparator" colspan="2">&#160;</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="-"/>&#160;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>&#160;</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> &amp;rng, const <a class="el" href="class_integer.html">Integer</a> &amp;x) const</td></tr>
<tr class="memdesc:a831474e986ac5c379ca55aa6675daf4b inherit pub_methods_class_trapdoor_function"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:a253eb5db8020326f869a4580e21bf5d8 inherit pub_methods_class_trapdoor_function"><td class="memItemLeft" align="right" valign="top">bool&#160;</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">&#160;</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">&#160;</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="-"/>&#160;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>&#160;</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">&#160;</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">&#160;</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>&#160;</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">&#160;</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">&#160;</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="-"/>&#160;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&#160;</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> &amp;rng, unsigned int level) const</td></tr>
<tr class="memdesc:aedb65ba5323f7bb41fc57973566d20cd inherit pub_methods_class_crypto_material"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:aa1da44802c5cf00946043922cb9e7e6e inherit pub_methods_class_crypto_material"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</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">&#160;</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="-"/>&#160;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&lt;class T &gt; </td></tr>
<tr class="memitem:a3401528f3d69d70f200086501b8af282 inherit pub_methods_class_name_value_pairs"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_name_value_pairs.html#a3401528f3d69d70f200086501b8af282">GetThisObject</a> (T &amp;object) const</td></tr>
<tr class="memdesc:a3401528f3d69d70f200086501b8af282 inherit pub_methods_class_name_value_pairs"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:abce7b413ce1345ab7b7d05fa3d1834f5 inherit pub_methods_class_name_value_pairs"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:abce7b413ce1345ab7b7d05fa3d1834f5 inherit pub_methods_class_name_value_pairs"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_name_value_pairs.html#abce7b413ce1345ab7b7d05fa3d1834f5">GetThisPointer</a> (T *&amp;ptr) const</td></tr>
<tr class="memdesc:abce7b413ce1345ab7b7d05fa3d1834f5 inherit pub_methods_class_name_value_pairs"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:a5357c3a09602e44671d1e42cb9a9408d inherit pub_methods_class_name_value_pairs"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:a5357c3a09602e44671d1e42cb9a9408d inherit pub_methods_class_name_value_pairs"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_name_value_pairs.html#a5357c3a09602e44671d1e42cb9a9408d">GetValue</a> (const char *name, T &amp;value) const</td></tr>
<tr class="memdesc:a5357c3a09602e44671d1e42cb9a9408d inherit pub_methods_class_name_value_pairs"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:a4daf1ef67b547c6be96188a43e5ec05e inherit pub_methods_class_name_value_pairs"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:a4daf1ef67b547c6be96188a43e5ec05e inherit pub_methods_class_name_value_pairs"><td class="memTemplItemLeft" align="right" valign="top">T&#160;</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">&#160;</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">&#160;</td></tr>
<tr class="memitem:a13faea827ee047cd58557282806ed2e1 inherit pub_methods_class_name_value_pairs"><td class="memItemLeft" align="right" valign="top">std::string&#160;</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">&#160;</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">&#160;</td></tr>
<tr class="memitem:a94e5b19dc54625799797668ff8627c57 inherit pub_methods_class_name_value_pairs"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_name_value_pairs.html#a94e5b19dc54625799797668ff8627c57">GetIntValue</a> (const char *name, int &amp;value) const</td></tr>
<tr class="memdesc:a94e5b19dc54625799797668ff8627c57 inherit pub_methods_class_name_value_pairs"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:a7ddb654b7afcd1a04422a7b4b01366d9 inherit pub_methods_class_name_value_pairs"><td class="memItemLeft" align="right" valign="top">int&#160;</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">&#160;</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">&#160;</td></tr>
<tr class="memitem:af28f6e7abf98606d8146bfda271e99db inherit pub_methods_class_name_value_pairs"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:af28f6e7abf98606d8146bfda271e99db inherit pub_methods_class_name_value_pairs"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</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 &amp;value) const</td></tr>
<tr class="memdesc:af28f6e7abf98606d8146bfda271e99db inherit pub_methods_class_name_value_pairs"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:acfb673d912e1bc19386bebba9d58c23f inherit pub_methods_class_name_value_pairs"><td class="memItemLeft" align="right" valign="top">void&#160;</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 &amp;value) const</td></tr>
<tr class="memdesc:acfb673d912e1bc19386bebba9d58c23f inherit pub_methods_class_name_value_pairs"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_trapdoor_function_inverse"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_trapdoor_function_inverse')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_trapdoor_function_inverse.html">TrapdoorFunctionInverse</a></td></tr>
<tr class="memitem:a784e232bea0630093ea0124e2e23fcc3 inherit pub_methods_class_trapdoor_function_inverse"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_integer.html">Integer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_trapdoor_function_inverse.html#a784e232bea0630093ea0124e2e23fcc3">CalculateRandomizedInverse</a> (<a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;rng, const <a class="el" href="class_integer.html">Integer</a> &amp;x) const</td></tr>
<tr class="memdesc:a784e232bea0630093ea0124e2e23fcc3 inherit pub_methods_class_trapdoor_function_inverse"><td class="mdescLeft">&#160;</td><td class="mdescRight">Applies the inverse of the trapdoor function.  <a href="class_trapdoor_function_inverse.html#a784e232bea0630093ea0124e2e23fcc3">More...</a><br /></td></tr>
<tr class="separator:a784e232bea0630093ea0124e2e23fcc3 inherit pub_methods_class_trapdoor_function_inverse"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b2cad45cb51609e3caedfa7bb44594e inherit pub_methods_class_trapdoor_function_inverse"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_trapdoor_function_inverse.html#a9b2cad45cb51609e3caedfa7bb44594e">IsRandomized</a> () const</td></tr>
<tr class="memdesc:a9b2cad45cb51609e3caedfa7bb44594e inherit pub_methods_class_trapdoor_function_inverse"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if the decryption algorithm is randomized.  <a href="class_trapdoor_function_inverse.html#a9b2cad45cb51609e3caedfa7bb44594e">More...</a><br /></td></tr>
<tr class="separator:a9b2cad45cb51609e3caedfa7bb44594e inherit pub_methods_class_trapdoor_function_inverse"><td class="memSeparator" colspan="2">&#160;</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="-"/>&#160;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&#160;</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> &amp;rng, unsigned int keySize)</td></tr>
<tr class="memdesc:a38d492343c32e530a5c2781b5797f755 inherit pub_methods_class_generatable_crypto_material"><td class="mdescLeft">&#160;</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">&#160;</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="-"/>&#160;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&#160;</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 &amp;stored, const std::type_info &amp;retrieving)</td></tr>
<tr class="memdesc:ad4b80eeeb5f1f58e3cedb12f02a6b870 inherit pub_static_methods_class_name_value_pairs"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Rabin-Williams trapdoor function using the private key. </p>
<dl class="section since"><dt>Since</dt><dd>Crypto++ 3.0, Tweaked roots using <em>e</em> and <em>f</em> since Crypto++ 5.6.4 </dd></dl>

<p class="definition">Definition at line <a class="el" href="rw_8h_source.html#l00059">59</a> of file <a class="el" href="rw_8h_source.html">rw.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a6087d4bf788bd6beab89699eb7069b86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6087d4bf788bd6beab89699eb7069b86">&#9670;&nbsp;</a></span>Initialize() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void InvertibleRWFunction::Initialize </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_integer.html">Integer</a> &amp;&#160;</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> &amp;&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>q</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_integer.html">Integer</a> &amp;&#160;</td>
          <td class="paramname"><em>u</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initialize a Rabin-Williams private key. </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">p</td><td>first prime factor </td></tr>
    <tr><td class="paramname">q</td><td>second prime factor </td></tr>
    <tr><td class="paramname">u</td><td>q<sup>-1</sup> mod p</td></tr>
  </table>
  </dd>
</dl>
<p>This <a class="el" href="class_invertible_r_w_function.html#a6087d4bf788bd6beab89699eb7069b86" title="Initialize a Rabin-Williams private key. ">Initialize()</a> function overload initializes a private key from existing parameters. </p>

<p class="definition">Definition at line <a class="el" href="rw_8cpp_source.html#l00118">118</a> of file <a class="el" href="rw_8cpp_source.html">rw.cpp</a>.</p>

</div>
</div>
<a id="a6489b68e2d321e3844b85060ba42f90c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6489b68e2d321e3844b85060ba42f90c">&#9670;&nbsp;</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 InvertibleRWFunction::Initialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;&#160;</td>
          <td class="paramname"><em>rng</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>modulusBits</em>&#160;</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 Rabin-Williams 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 modulus, in bits</td></tr>
  </table>
  </dd>
</dl>
<p>This function overload of <a class="el" href="class_invertible_r_w_function.html#a6087d4bf788bd6beab89699eb7069b86" title="Initialize a Rabin-Williams private key. ">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_r_w_function.html#a6087d4bf788bd6beab89699eb7069b86" title="Initialize a Rabin-Williams private key. ">Initialize()</a> overloads. </p>

<p class="definition">Definition at line <a class="el" href="rw_8h_source.html#l00081">81</a> of file <a class="el" href="rw_8h_source.html">rw.h</a>.</p>

</div>
</div>
<a id="a2a86504f7651f961b639827cfe1c2b29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a86504f7651f961b639827cfe1c2b29">&#9670;&nbsp;</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 InvertibleRWFunction::Save </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;&#160;</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_r_w_function.html#a2a86504f7651f961b639827cfe1c2b29" 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 DEREncode() method.</p>
<p>If a derived class does not override <a class="el" href="class_invertible_r_w_function.html#a2a86504f7651f961b639827cfe1c2b29" 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_r_w_function.html#a5601299bcb9e46fd534f0cb6a91d26bd">RWFunction</a>.</p>

<p class="definition">Definition at line <a class="el" href="rw_8h_source.html#l00087">87</a> of file <a class="el" href="rw_8h_source.html">rw.h</a>.</p>

</div>
</div>
<a id="a5e60bc2f2a75e5b7560aebae2625160f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e60bc2f2a75e5b7560aebae2625160f">&#9670;&nbsp;</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 InvertibleRWFunction::Load </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;&#160;</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_r_w_function.html#a5e60bc2f2a75e5b7560aebae2625160f" 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 BERDecode() method. </p><dl class="section note"><dt>Note</dt><dd><a class="el" href="class_invertible_r_w_function.html#a5e60bc2f2a75e5b7560aebae2625160f" 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_r_w_function.html#a1c3858f76fdd2c48bcac7346d75b8c9e" title="Check this object for errors. ">Validate()</a>, if needed. </dd></dl>

<p>Reimplemented from <a class="el" href="class_r_w_function.html#ad169bf041b699782e8c6840e0dff6489">RWFunction</a>.</p>

<p class="definition">Definition at line <a class="el" href="rw_8h_source.html#l00089">89</a> of file <a class="el" href="rw_8h_source.html">rw.h</a>.</p>

</div>
</div>
<a id="adbe2ded92af6360ab4a17e2cb6289085"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adbe2ded92af6360ab4a17e2cb6289085">&#9670;&nbsp;</a></span>CalculateInverse()</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> InvertibleRWFunction::CalculateInverse </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>x</em>&#160;</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>Calculates the inverse of an element. </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 element </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the inverse of the element in the group </dd></dl>

<p>Implements <a class="el" href="class_trapdoor_function_inverse.html#acd12caa3b27c018a85967ae7664cc920">TrapdoorFunctionInverse</a>.</p>

<p class="definition">Definition at line <a class="el" href="rw_8cpp_source.html#l00188">188</a> of file <a class="el" href="rw_8cpp_source.html">rw.cpp</a>.</p>

</div>
</div>
<a id="a1c3858f76fdd2c48bcac7346d75b8c9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1c3858f76fdd2c48bcac7346d75b8c9e">&#9670;&nbsp;</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 InvertibleRWFunction::Validate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;&#160;</td>
          <td class="paramname"><em>rng</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>level</em>&#160;</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_r_w_function.html#af326ae91ff9d6719c879861d21d380ac">RWFunction</a>.</p>

<p class="definition">Definition at line <a class="el" href="rw_8cpp_source.html#l00253">253</a> of file <a class="el" href="rw_8cpp_source.html">rw.cpp</a>.</p>

</div>
</div>
<a id="a7532c7a2c5e2938fa998733f44f35148"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7532c7a2c5e2938fa998733f44f35148">&#9670;&nbsp;</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 InvertibleRWFunction::GetVoidValue </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::type_info &amp;&#160;</td>
          <td class="paramname"><em>valueType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>pValue</em>&#160;</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_r_w_function.html#a7532c7a2c5e2938fa998733f44f35148" 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_r_w_function.html#a7532c7a2c5e2938fa998733f44f35148" 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_r_w_function.html#aa0b787a1b8a8afbf430fafe53d6cb4a7">RWFunction</a>.</p>

<p class="definition">Definition at line <a class="el" href="rw_8cpp_source.html#l00278">278</a> of file <a class="el" href="rw_8cpp_source.html">rw.cpp</a>.</p>

</div>
</div>
<a id="a56b0314b678c58228671d3c9049f86db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a56b0314b678c58228671d3c9049f86db">&#9670;&nbsp;</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 InvertibleRWFunction::AssignFrom </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> &amp;&#160;</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_r_w_function.html#a99293c55c055b338bd7c783a7b8c0484">RWFunction</a>.</p>

<p class="definition">Definition at line <a class="el" href="rw_8cpp_source.html#l00287">287</a> of file <a class="el" href="rw_8cpp_source.html">rw.cpp</a>.</p>

</div>
</div>
<a id="a8953bb59727e0ae2d79071874a793c48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8953bb59727e0ae2d79071874a793c48">&#9670;&nbsp;</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 InvertibleRWFunction::GenerateRandom </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>alg</em>&#160;</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="rw_8cpp_source.html#l00100">100</a> of file <a class="el" href="rw_8cpp_source.html">rw.cpp</a>.</p>

</div>
</div>
<a id="a64c056545db8676d83329acbc77b1a61"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64c056545db8676d83329acbc77b1a61">&#9670;&nbsp;</a></span>SupportsPrecomputation()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool InvertibleRWFunction::SupportsPrecomputation </td>
          <td>(</td>
          <td class="paramname"></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>Determines whether the object supports precomputation. </p>
<dl class="section return"><dt>Returns</dt><dd>true if the object supports precomputation, false otherwise </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_invertible_r_w_function.html#ac342086a1eb669da37bafa45572f08b9" title="Perform precomputation. ">Precompute()</a> </dd></dl>

<p>Reimplemented from <a class="el" href="class_crypto_material.html#a35720c07870fcda4ae39148f8524274e">CryptoMaterial</a>.</p>

<p class="definition">Definition at line <a class="el" href="rw_8h_source.html#l00109">109</a> of file <a class="el" href="rw_8h_source.html">rw.h</a>.</p>

</div>
</div>
<a id="ac342086a1eb669da37bafa45572f08b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac342086a1eb669da37bafa45572f08b9">&#9670;&nbsp;</a></span>Precompute()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void InvertibleRWFunction::Precompute </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>precomputationStorage</em> = <code>0</code></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>Perform precomputation. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">precomputationStorage</td><td>the suggested number of objects for the precompute table </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>The exact semantics of <a class="el" href="class_invertible_r_w_function.html#ac342086a1eb669da37bafa45572f08b9" title="Perform precomputation. ">Precompute()</a> varies, but it typically means calculate a table of n objects that can be used later to speed up computation.</p>
<p>If a derived class does not override <a class="el" href="class_invertible_r_w_function.html#ac342086a1eb669da37bafa45572f08b9" title="Perform precomputation. ">Precompute()</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><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_invertible_r_w_function.html#a64c056545db8676d83329acbc77b1a61" title="Determines whether the object supports precomputation. ">SupportsPrecomputation()</a>, <a class="el" href="class_invertible_r_w_function.html#a9960b78b03de88ace2fde8b99f517722" title="Retrieve previously saved precomputation. ">LoadPrecomputation()</a>, <a class="el" href="class_invertible_r_w_function.html#a0e54f331b0e4ee2fc99cb36dc6919039" title="Save precomputation for later use. ">SavePrecomputation()</a> </dd></dl>

<p>Reimplemented from <a class="el" href="class_crypto_material.html#a78380e019615a35d06e951a0f28e0a99">CryptoMaterial</a>.</p>

<p class="definition">Definition at line <a class="el" href="rw_8h_source.html#l00110">110</a> of file <a class="el" href="rw_8h_source.html">rw.h</a>.</p>

</div>
</div>
<a id="a9960b78b03de88ace2fde8b99f517722"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9960b78b03de88ace2fde8b99f517722">&#9670;&nbsp;</a></span>LoadPrecomputation()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void InvertibleRWFunction::LoadPrecomputation </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;&#160;</td>
          <td class="paramname"><em>storedPrecomputation</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>Retrieve previously saved precomputation. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">storedPrecomputation</td><td><a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations. ">BufferedTransformation</a> with the saved precomputation </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>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_invertible_r_w_function.html#a64c056545db8676d83329acbc77b1a61" title="Determines whether the object supports precomputation. ">SupportsPrecomputation()</a>, <a class="el" href="class_invertible_r_w_function.html#ac342086a1eb669da37bafa45572f08b9" title="Perform precomputation. ">Precompute()</a> </dd></dl>

<p>Reimplemented from <a class="el" href="class_crypto_material.html#a2911ebd9a28efa43dab71e5c12e2c90d">CryptoMaterial</a>.</p>

<p class="definition">Definition at line <a class="el" href="rw_8cpp_source.html#l00142">142</a> of file <a class="el" href="rw_8cpp_source.html">rw.cpp</a>.</p>

</div>
</div>
<a id="a0e54f331b0e4ee2fc99cb36dc6919039"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e54f331b0e4ee2fc99cb36dc6919039">&#9670;&nbsp;</a></span>SavePrecomputation()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void InvertibleRWFunction::SavePrecomputation </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;&#160;</td>
          <td class="paramname"><em>storedPrecomputation</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>Save precomputation for later use. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">storedPrecomputation</td><td><a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations. ">BufferedTransformation</a> to write the precomputation </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>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_invertible_r_w_function.html#a64c056545db8676d83329acbc77b1a61" title="Determines whether the object supports precomputation. ">SupportsPrecomputation()</a>, <a class="el" href="class_invertible_r_w_function.html#ac342086a1eb669da37bafa45572f08b9" title="Perform precomputation. ">Precompute()</a> </dd></dl>

<p>Reimplemented from <a class="el" href="class_crypto_material.html#a65b905e1af3efb962c356d49d2c90e73">CryptoMaterial</a>.</p>

<p class="definition">Definition at line <a class="el" href="rw_8cpp_source.html#l00153">153</a> of file <a class="el" href="rw_8cpp_source.html">rw.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="rw_8h_source.html">rw.h</a></li>
<li><a class="el" href="rw_8cpp_source.html">rw.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Sep 16 2018 07:58:40 for Crypto++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>