Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 23e07fd43e778a61ff4b78161a3e2389 > files > 1448

cryptopp-doc-5.6.1-5.fc14.noarch.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"/>
<title>Crypto++: TF_DecryptorBase Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Crypto++</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-types">Protected Types</a> &#124;
<a href="#pro-methods">Protected Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">TF_DecryptorBase Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="TF_DecryptorBase" --><!-- doxytag: inherits="TF_CryptoSystemBase&lt; PK_Decryptor, TF_Base&lt; TrapdoorFunctionInverse, PK_EncryptionMessageEncodingMethod &gt; &gt;" -->
<p>_  
 <a href="class_t_f___decryptor_base.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="pubkey_8h_source.html">pubkey.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for TF_DecryptorBase:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_t_f___decryptor_base.png" usemap="#TF_DecryptorBase_map" alt=""/>
  <map id="TF_DecryptorBase_map" name="TF_DecryptorBase_map">
<area href="class_t_f___crypto_system_base.html" alt="TF_CryptoSystemBase&lt; PK_Decryptor, TF_Base&lt; TrapdoorFunctionInverse, PK_EncryptionMessageEncodingMethod &gt; &gt;" shape="rect" coords="719,336,1428,360"/>
<area href="class_p_k___fixed_length_crypto_system_impl.html" alt="PK_FixedLengthCryptoSystemImpl&lt; PK_Decryptor &gt;" shape="rect" coords="359,280,1068,304"/>
<area href="class_t_f___base.html" alt="TF_Base&lt; TrapdoorFunctionInverse, PK_EncryptionMessageEncodingMethod &gt;" shape="rect" coords="1078,280,1787,304"/>
<area href="class_p_k___decryptor.html" title="interface for public-key decryptors" alt="PK_Decryptor" shape="rect" coords="359,224,1068,248"/>
<area href="class_p_k___crypto_system.html" title="interface for public-key encryptors and decryptors" alt="PK_CryptoSystem" shape="rect" coords="0,168,709,192"/>
<area href="class_private_key_algorithm.html" title="interface for asymmetric algorithms using private keys" alt="PrivateKeyAlgorithm" shape="rect" coords="719,168,1428,192"/>
<area href="class_asymmetric_algorithm.html" title="interface for asymmetric algorithms" alt="AsymmetricAlgorithm" shape="rect" coords="719,112,1428,136"/>
<area href="class_algorithm.html" title="interface for all crypto algorithms" alt="Algorithm" shape="rect" coords="719,56,1428,80"/>
<area href="class_clonable.html" title="interface for cloning objects, this is not implemented by most classes yet" alt="Clonable" shape="rect" coords="719,0,1428,24"/>
<area href="class_algorithm_impl.html" alt="AlgorithmImpl&lt; TF_DecryptorBase, SCHEME_OPTIONS::AlgorithmInfo &gt;" shape="rect" coords="719,448,1428,472"/>
<area href="class_t_f___object_impl_base.html" alt="TF_ObjectImplBase&lt; TF_DecryptorBase, SCHEME_OPTIONS, SCHEME_OPTIONS::PrivateKey &gt;" shape="rect" coords="719,504,1428,528"/>
<area href="class_t_f___object_impl.html" alt="TF_ObjectImpl&lt; TF_DecryptorBase, SCHEME_OPTIONS, SCHEME_OPTIONS::PrivateKey &gt;" shape="rect" coords="719,560,1428,584"/>
<area href="class_t_f___decryptor_impl.html" title="_" alt="TF_DecryptorImpl&lt; SCHEME_OPTIONS &gt;" shape="rect" coords="719,616,1428,640"/>
</map>
 </div></div>

<p><a href="class_t_f___decryptor_base-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_decoding_result.html">DecodingResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f___decryptor_base.html#af46c7592f103bcb827445e5cbce8b7f9">Decrypt</a> (<a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;rng, const byte *ciphertext, size_t ciphertextLength, byte *plaintext, const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> &amp;parameters=<a class="el" href="cryptlib_8h.html#aa9048ef24353685fd0dcc4180c6884c2">g_nullNameValuePairs</a>) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">decrypt a byte string, and return the length of plaintext  <a href="#af46c7592f103bcb827445e5cbce8b7f9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f___crypto_system_base.html#a7e3d9b64229a0eeb41208425898c3be4">ParameterSupported</a> (const char *name) const</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">this object supports the use of the parameter with the given name  <a href="#a7e3d9b64229a0eeb41208425898c3be4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac753d00062a590d8395da3226ce2cc9b"></a><!-- doxytag: member="TF_DecryptorBase::FixedMaxPlaintextLength" ref="ac753d00062a590d8395da3226ce2cc9b" args="() const" -->
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f___crypto_system_base.html#ac753d00062a590d8395da3226ce2cc9b">FixedMaxPlaintextLength</a> () const</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">return maximum plaintext length given the fixed ciphertext length, if one exists, otherwise return 0 <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f___crypto_system_base.html#a6150e2905e935883f65f79f189e772f3">FixedCiphertextLength</a> () const</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">return fixed ciphertext length, if one exists, otherwise return 0  <a href="#a6150e2905e935883f65f79f189e772f3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_k___fixed_length_crypto_system_impl.html#aa458766069b12b977e7483ab8dfbcba9">MaxPlaintextLength</a> (size_t ciphertextLength) const</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">maximum length of plaintext for a given ciphertext length  <a href="#aa458766069b12b977e7483ab8dfbcba9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_k___fixed_length_crypto_system_impl.html#a4bdffbbeb046825f357331cbeb42956e">CiphertextLength</a> (size_t plaintextLength) const</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">calculate length of ciphertext given length of plaintext  <a href="#a4bdffbbeb046825f357331cbeb42956e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_k___decryptor.html#a495d8801c8042d3c3576e00965bd9bc8">CreateDecryptionFilter</a> (<a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;rng, <a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> *attachment=NULL, const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> &amp;parameters=<a class="el" href="cryptlib_8h.html#aa9048ef24353685fd0dcc4180c6884c2">g_nullNameValuePairs</a>) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">create a new decryption filter  <a href="#a495d8801c8042d3c3576e00965bd9bc8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae7dbfced7f2792685edac3feca348ba0"></a><!-- doxytag: member="TF_DecryptorBase::FixedLengthDecrypt" ref="ae7dbfced7f2792685edac3feca348ba0" args="(RandomNumberGenerator &amp;rng, const byte *ciphertext, byte *plaintext, const NameValuePairs &amp;parameters=g_nullNameValuePairs) const " -->
<a class="el" href="struct_decoding_result.html">DecodingResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_k___decryptor.html#ae7dbfced7f2792685edac3feca348ba0">FixedLengthDecrypt</a> (<a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;rng, const byte *ciphertext, byte *plaintext, const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> &amp;parameters=<a class="el" href="cryptlib_8h.html#aa9048ef24353685fd0dcc4180c6884c2">g_nullNameValuePairs</a>) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">decrypt a fixed size ciphertext <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a48cf4528f16263f2200d5b908a0b8ffb"></a><!-- doxytag: member="TF_DecryptorBase::AccessMaterial" ref="a48cf4528f16263f2200d5b908a0b8ffb" args="()" -->
<a class="el" href="class_crypto_material.html">CryptoMaterial</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_private_key_algorithm.html#a48cf4528f16263f2200d5b908a0b8ffb">AccessMaterial</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">returns a reference to the crypto material used by this object <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0199217f43af73a6ad78fe1303903fe3"></a><!-- doxytag: member="TF_DecryptorBase::GetMaterial" ref="a0199217f43af73a6ad78fe1303903fe3" args="() const " -->
const <a class="el" href="class_crypto_material.html">CryptoMaterial</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_private_key_algorithm.html#a0199217f43af73a6ad78fe1303903fe3">GetMaterial</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">returns a const reference to the crypto material used by this object <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae2085815947c2ae7b3f9f614612e0c17"></a><!-- doxytag: member="TF_DecryptorBase::AccessPrivateKey" ref="ae2085815947c2ae7b3f9f614612e0c17" args="()=0" -->
virtual <a class="el" href="class_private_key.html">PrivateKey</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>AccessPrivateKey</b> ()=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a24edb4d57abc975e0e40ee02ce8f08fa"></a><!-- doxytag: member="TF_DecryptorBase::GetPrivateKey" ref="a24edb4d57abc975e0e40ee02ce8f08fa" args="() const " -->
virtual const <a class="el" href="class_private_key.html">PrivateKey</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetPrivateKey</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a522dbfcd5c1a46bf1be301cec26d6534"></a><!-- doxytag: member="TF_DecryptorBase::BERDecode" ref="a522dbfcd5c1a46bf1be301cec26d6534" args="(BufferedTransformation &amp;bt)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_asymmetric_algorithm.html#a522dbfcd5c1a46bf1be301cec26d6534">BERDecode</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;bt)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">for backwards compatibility, calls <a class="el" href="class_asymmetric_algorithm.html#ad99d55413166b69a0a12e10d111926c8" title="returns a reference to the crypto material used by this object">AccessMaterial()</a>.Load(bt) <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2d704079890783422b0a44653480ab83"></a><!-- doxytag: member="TF_DecryptorBase::DEREncode" ref="a2d704079890783422b0a44653480ab83" args="(BufferedTransformation &amp;bt) const " -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_asymmetric_algorithm.html#a2d704079890783422b0a44653480ab83">DEREncode</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;bt) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">for backwards compatibility, calls <a class="el" href="class_asymmetric_algorithm.html#adf9cc798c5a2d20ab3436dbad8e6df2d" title="returns a const reference to the crypto material used by this object">GetMaterial()</a>.Save(bt) <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acd21c6715add4884fa043eaf51655039"></a><!-- doxytag: member="TF_DecryptorBase::AlgorithmName" ref="acd21c6715add4884fa043eaf51655039" args="() const " -->
virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_algorithm.html#acd21c6715add4884fa043eaf51655039">AlgorithmName</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">returns name of this algorithm, not universally implemented yet <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a24b43349a71e1f98508eeb10b31a0a62"></a><!-- doxytag: member="TF_DecryptorBase::Clone" ref="a24b43349a71e1f98508eeb10b31a0a62" args="() const " -->
virtual <a class="el" href="class_clonable.html">Clonable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_clonable.html#a24b43349a71e1f98508eeb10b31a0a62">Clone</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">this is not implemented by most classes yet <br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-types"></a>
Protected Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a33e2d6c0fbb715a5255edd5e84a849fb"></a><!-- doxytag: member="TF_DecryptorBase::TrapdoorFunctionInterface" ref="a33e2d6c0fbb715a5255edd5e84a849fb" args="" -->
typedef <a class="el" href="class_trapdoor_function_inverse.html">TrapdoorFunctionInverse</a>&#160;</td><td class="memItemRight" valign="bottom"><b>TrapdoorFunctionInterface</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a06b4d20aa32c616a1d0d2b8bee909436"></a><!-- doxytag: member="TF_DecryptorBase::MessageEncodingInterface" ref="a06b4d20aa32c616a1d0d2b8bee909436" args="" -->
typedef <br class="typebreak"/>
<a class="el" href="class_p_k___encryption_message_encoding_method.html">PK_EncryptionMessageEncodingMethod</a>&#160;</td><td class="memItemRight" valign="bottom"><b>MessageEncodingInterface</b></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5a595b68f1e527bd4428d9bc8000d3eb"></a><!-- doxytag: member="TF_DecryptorBase::PaddedBlockByteLength" ref="a5a595b68f1e527bd4428d9bc8000d3eb" args="() const" -->
size_t&#160;</td><td class="memItemRight" valign="bottom"><b>PaddedBlockByteLength</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abdabbaaccfce390230525746c8613371"></a><!-- doxytag: member="TF_DecryptorBase::PaddedBlockBitLength" ref="abdabbaaccfce390230525746c8613371" args="() const" -->
size_t&#160;</td><td class="memItemRight" valign="bottom"><b>PaddedBlockBitLength</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a91a0b93853efa8d2dbb54a5473adc1e9"></a><!-- doxytag: member="TF_DecryptorBase::GetTrapdoorFunctionBounds" ref="a91a0b93853efa8d2dbb54a5473adc1e9" args="() const =0" -->
virtual const <br class="typebreak"/>
<a class="el" href="class_trapdoor_function_bounds.html">TrapdoorFunctionBounds</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetTrapdoorFunctionBounds</b> () const =0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab0343355a27d810970828bc26bf80682"></a><!-- doxytag: member="TF_DecryptorBase::GetTrapdoorFunctionInterface" ref="ab0343355a27d810970828bc26bf80682" args="() const =0" -->
virtual const <br class="typebreak"/>
<a class="el" href="class_trapdoor_function_inverse.html">TrapdoorFunctionInterface</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetTrapdoorFunctionInterface</b> () const =0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4cf32c7b5ac95767059781c22311d13a"></a><!-- doxytag: member="TF_DecryptorBase::GetMessageEncodingInterface" ref="a4cf32c7b5ac95767059781c22311d13a" args="() const =0" -->
virtual const <br class="typebreak"/>
<a class="el" href="class_p_k___encryption_message_encoding_method.html">MessageEncodingInterface</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetMessageEncodingInterface</b> () const =0</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>_ </p>

<p>Definition at line <a class="el" href="pubkey_8h_source.html#l00166">166</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="af46c7592f103bcb827445e5cbce8b7f9"></a><!-- doxytag: member="TF_DecryptorBase::Decrypt" ref="af46c7592f103bcb827445e5cbce8b7f9" args="(RandomNumberGenerator &amp;rng, const byte *ciphertext, size_t ciphertextLength, byte *plaintext, const NameValuePairs &amp;parameters=g_nullNameValuePairs) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_decoding_result.html">DecodingResult</a> TF_DecryptorBase::Decrypt </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 byte *&#160;</td>
          <td class="paramname"><em>ciphertext</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>ciphertextLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">byte *&#160;</td>
          <td class="paramname"><em>plaintext</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>parameters</em> = <code><a class="el" href="cryptlib_8h.html#aa9048ef24353685fd0dcc4180c6884c2">g_nullNameValuePairs</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>decrypt a byte string, and return the length of plaintext </p>
<dl class="pre"><dt><b>Precondition:</b></dt><dd>size of plaintext == MaxPlaintextLength(ciphertextLength) bytes. </dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the actual length of the plaintext, indication that decryption failed. </dd></dl>

<p>Implements <a class="el" href="class_p_k___decryptor.html#ab7466675ed050c440c16508f8a88cac1">PK_Decryptor</a>.</p>

<p>Definition at line <a class="el" href="pubkey_8cpp_source.html#l00135">135</a> of file <a class="el" href="pubkey_8cpp_source.html">pubkey.cpp</a>.</p>

<p>References <a class="el" href="cryptlib_8h_source.html#l00343">Algorithm::AlgorithmName()</a>, <a class="el" href="integer_8cpp_source.html#l03045">Integer::ByteCount()</a>, <a class="el" href="integer_8cpp_source.html#l03112">Integer::Encode()</a>, and <a class="el" href="integer_8cpp_source.html#l02862">Integer::Zero()</a>.</p>

</div>
</div>
<a class="anchor" id="a7e3d9b64229a0eeb41208425898c3be4"></a><!-- doxytag: member="TF_DecryptorBase::ParameterSupported" ref="a7e3d9b64229a0eeb41208425898c3be4" args="(const char *name) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_t_f___crypto_system_base.html">TF_CryptoSystemBase</a>&lt; <a class="el" href="class_p_k___decryptor.html">PK_Decryptor</a> , <a class="el" href="class_t_f___base.html">TF_Base</a>&lt; <a class="el" href="class_trapdoor_function_inverse.html">TrapdoorFunctionInverse</a>, <a class="el" href="class_p_k___encryption_message_encoding_method.html">PK_EncryptionMessageEncodingMethod</a> &gt;  &gt;::ParameterSupported </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td> const<code> [inline, virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implements <a class="el" href="class_p_k___crypto_system.html#a294c4664af51a72112db1f04e6ef9049">PK_CryptoSystem</a>.</p>

<p>Definition at line <a class="el" href="pubkey_8h_source.html#l00156">156</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6150e2905e935883f65f79f189e772f3"></a><!-- doxytag: member="TF_DecryptorBase::FixedCiphertextLength" ref="a6150e2905e935883f65f79f189e772f3" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="class_t_f___crypto_system_base.html">TF_CryptoSystemBase</a>&lt; <a class="el" href="class_p_k___decryptor.html">PK_Decryptor</a> , <a class="el" href="class_t_f___base.html">TF_Base</a>&lt; <a class="el" href="class_trapdoor_function_inverse.html">TrapdoorFunctionInverse</a>, <a class="el" href="class_p_k___encryption_message_encoding_method.html">PK_EncryptionMessageEncodingMethod</a> &gt;  &gt;::FixedCiphertextLength </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implements <a class="el" href="class_p_k___fixed_length_crypto_system_impl.html">PK_FixedLengthCryptoSystemImpl&lt; PK_Decryptor &gt;</a>.</p>

<p>Definition at line <a class="el" href="pubkey_8h_source.html#l00158">158</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa458766069b12b977e7483ab8dfbcba9"></a><!-- doxytag: member="TF_DecryptorBase::MaxPlaintextLength" ref="aa458766069b12b977e7483ab8dfbcba9" args="(size_t ciphertextLength) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="class_p_k___fixed_length_crypto_system_impl.html">PK_FixedLengthCryptoSystemImpl</a>&lt; <a class="el" href="class_p_k___decryptor.html">PK_Decryptor</a>  &gt;::MaxPlaintextLength </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>ciphertextLength</em></td><td>)</td>
          <td> const<code> [inline, virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implements <a class="el" href="class_p_k___crypto_system.html#aa4a3552c933a36b3aea26f31d00bee9b">PK_CryptoSystem</a>.</p>

<p>Definition at line <a class="el" href="pubkey_8h_source.html#l00142">142</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4bdffbbeb046825f357331cbeb42956e"></a><!-- doxytag: member="TF_DecryptorBase::CiphertextLength" ref="a4bdffbbeb046825f357331cbeb42956e" args="(size_t plaintextLength) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="class_p_k___fixed_length_crypto_system_impl.html">PK_FixedLengthCryptoSystemImpl</a>&lt; <a class="el" href="class_p_k___decryptor.html">PK_Decryptor</a>  &gt;::CiphertextLength </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>plaintextLength</em></td><td>)</td>
          <td> const<code> [inline, virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implements <a class="el" href="class_p_k___crypto_system.html#abf04a4e08fb69a1a118bad3e998ef6a6">PK_CryptoSystem</a>.</p>

<p>Definition at line <a class="el" href="pubkey_8h_source.html#l00144">144</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>

</div>
</div>
<a class="anchor" id="a495d8801c8042d3c3576e00965bd9bc8"></a><!-- doxytag: member="TF_DecryptorBase::CreateDecryptionFilter" ref="a495d8801c8042d3c3576e00965bd9bc8" args="(RandomNumberGenerator &amp;rng, BufferedTransformation *attachment=NULL, const NameValuePairs &amp;parameters=g_nullNameValuePairs) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> * PK_Decryptor::CreateDecryptionFilter </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"><a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> *&#160;</td>
          <td class="paramname"><em>attachment</em> = <code>NULL</code>, </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>parameters</em> = <code><a class="el" href="cryptlib_8h.html#aa9048ef24353685fd0dcc4180c6884c2">g_nullNameValuePairs</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>create a new decryption filter </p>
<dl class="note"><dt><b>Note:</b></dt><dd>caller is responsible for deleting the returned pointer </dd></dl>

<p>Definition at line <a class="el" href="cryptlib_8cpp_source.html#l00751">751</a> of file <a class="el" href="cryptlib_8cpp_source.html">cryptlib.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="pubkey_8h_source.html">pubkey.h</a></li>
<li><a class="el" href="pubkey_8cpp_source.html">pubkey.cpp</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Sun Oct 16 2011 for Crypto++ by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>