Sophie

Sophie

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

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_EncryptorImpl&lt; SCHEME_OPTIONS &gt; Class Template 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-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static 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_EncryptorImpl&lt; SCHEME_OPTIONS &gt; Class Template Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="TF_EncryptorImpl" --><!-- doxytag: inherits="TF_ObjectImpl&lt; TF_EncryptorBase, SCHEME_OPTIONS, SCHEME_OPTIONS::PublicKey &gt;" -->
<p>_  
 <a href="class_t_f___encryptor_impl.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_EncryptorImpl&lt; SCHEME_OPTIONS &gt;:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_t_f___encryptor_impl.png" usemap="#TF_EncryptorImpl&lt; SCHEME_OPTIONS &gt;_map" alt=""/>
  <map id="TF_EncryptorImpl&lt; SCHEME_OPTIONS &gt;_map" name="TF_EncryptorImpl&lt; SCHEME_OPTIONS &gt;_map">
<area href="class_t_f___object_impl.html" alt="TF_ObjectImpl&lt; TF_EncryptorBase, SCHEME_OPTIONS, SCHEME_OPTIONS::PublicKey &gt;" shape="rect" coords="744,560,1478,584"/>
<area href="class_t_f___object_impl_base.html" alt="TF_ObjectImplBase&lt; TF_EncryptorBase, SCHEME_OPTIONS, SCHEME_OPTIONS::PublicKey &gt;" shape="rect" coords="744,504,1478,528"/>
<area href="class_algorithm_impl.html" alt="AlgorithmImpl&lt; TF_EncryptorBase, SCHEME_OPTIONS::AlgorithmInfo &gt;" shape="rect" coords="744,448,1478,472"/>
<area href="class_t_f___encryptor_base.html" title="_" alt="TF_EncryptorBase" shape="rect" coords="744,392,1478,416"/>
<area href="class_t_f___crypto_system_base.html" alt="TF_CryptoSystemBase&lt; PK_Encryptor, TF_Base&lt; RandomizedTrapdoorFunction, PK_EncryptionMessageEncodingMethod &gt; &gt;" shape="rect" coords="744,336,1478,360"/>
<area href="class_p_k___fixed_length_crypto_system_impl.html" alt="PK_FixedLengthCryptoSystemImpl&lt; PK_Encryptor &gt;" shape="rect" coords="372,280,1106,304"/>
<area href="class_t_f___base.html" alt="TF_Base&lt; RandomizedTrapdoorFunction, PK_EncryptionMessageEncodingMethod &gt;" shape="rect" coords="1116,280,1850,304"/>
<area href="class_p_k___encryptor.html" title="interface for public-key encryptors" alt="PK_Encryptor" shape="rect" coords="372,224,1106,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,734,192"/>
<area href="class_public_key_algorithm.html" title="interface for asymmetric algorithms using public keys" alt="PublicKeyAlgorithm" shape="rect" coords="744,168,1478,192"/>
<area href="class_asymmetric_algorithm.html" title="interface for asymmetric algorithms" alt="AsymmetricAlgorithm" shape="rect" coords="744,112,1478,136"/>
<area href="class_algorithm.html" title="interface for all crypto algorithms" alt="Algorithm" shape="rect" coords="744,56,1478,80"/>
<area href="class_clonable.html" title="interface for cloning objects, this is not implemented by most classes yet" alt="Clonable" shape="rect" coords="744,0,1478,24"/>
</map>
 </div></div>

<p><a href="class_t_f___encryptor_impl-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2556861b650cccbfcd32e60ff257330e"></a><!-- doxytag: member="TF_EncryptorImpl::KeyClass" ref="a2556861b650cccbfcd32e60ff257330e" args="" -->
typedef SCHEME_OPTIONS::PublicKey&#160;</td><td class="memItemRight" valign="bottom"><b>KeyClass</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae64f334064fec62ccf88a3688333c21a"></a><!-- doxytag: member="TF_EncryptorImpl::SchemeOptions" ref="ae64f334064fec62ccf88a3688333c21a" args="" -->
typedef SCHEME_OPTIONS&#160;</td><td class="memItemRight" valign="bottom"><b>SchemeOptions</b></td></tr>
<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="anchor" id="a58ff89944ecfc6cc3868f87dfeca311c"></a><!-- doxytag: member="TF_EncryptorImpl::GetKey" ref="a58ff89944ecfc6cc3868f87dfeca311c" args="() const" -->
const KeyClass &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetKey</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa45a08dc915b85e0d15a45682acd9a7e"></a><!-- doxytag: member="TF_EncryptorImpl::AccessKey" ref="aa45a08dc915b85e0d15a45682acd9a7e" args="()" -->
KeyClass &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>AccessKey</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa07a0724bf36c08f3d1c1b0680a9b88f"></a><!-- doxytag: member="TF_EncryptorImpl::AccessPublicKey" ref="aa07a0724bf36c08f3d1c1b0680a9b88f" args="()" -->
<a class="el" href="class_public_key.html">PublicKey</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>AccessPublicKey</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8646a9ac7c07a43434f3b56b23889d8c"></a><!-- doxytag: member="TF_EncryptorImpl::GetPublicKey" ref="a8646a9ac7c07a43434f3b56b23889d8c" args="() const" -->
const <a class="el" href="class_public_key.html">PublicKey</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetPublicKey</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa33ca21885a25e0caff6cbf6e723f6c7"></a><!-- doxytag: member="TF_EncryptorImpl::AccessPrivateKey" ref="aa33ca21885a25e0caff6cbf6e723f6c7" args="()" -->
<a class="el" href="class_private_key.html">PrivateKey</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>AccessPrivateKey</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a083cf367c43a67e85cd8058440d44455"></a><!-- doxytag: member="TF_EncryptorImpl::GetPrivateKey" ref="a083cf367c43a67e85cd8058440d44455" args="() const" -->
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="a147db8b6b2b0a3591b636b4fe17d2263"></a><!-- doxytag: member="TF_EncryptorImpl::GetTrapdoorFunction" ref="a147db8b6b2b0a3591b636b4fe17d2263" args="() const" -->
const KeyClass &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetTrapdoorFunction</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac4450ac1539e2fbcc1b25b19d2b82afd"></a><!-- doxytag: member="TF_EncryptorImpl::NewSignatureAccumulator" ref="ac4450ac1539e2fbcc1b25b19d2b82afd" args="(RandomNumberGenerator &amp;rng) const" -->
<a class="el" href="class_p_k___message_accumulator.html">PK_MessageAccumulator</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>NewSignatureAccumulator</b> (<a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;rng) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aca4f4c9d91e1f5532bdc835f32fba6b6"></a><!-- doxytag: member="TF_EncryptorImpl::NewVerificationAccumulator" ref="aca4f4c9d91e1f5532bdc835f32fba6b6" args="() const" -->
<a class="el" href="class_p_k___message_accumulator.html">PK_MessageAccumulator</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>NewVerificationAccumulator</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9d6e3714fc32c36789147d9f3b627eeb"></a><!-- doxytag: member="TF_EncryptorImpl::AlgorithmName" ref="a9d6e3714fc32c36789147d9f3b627eeb" args="() const" -->
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_algorithm_impl.html#a9d6e3714fc32c36789147d9f3b627eeb">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">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f___encryptor_base.html#a32403faf2a609ea7fbcc6f5a5f52fb5d">Encrypt</a> (<a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;rng, const byte *plaintext, size_t plaintextLength, byte *ciphertext, 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">encrypt a byte string  <a href="#a32403faf2a609ea7fbcc6f5a5f52fb5d"></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_EncryptorImpl::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___encryptor.html#a66b9a0c99f5258f11b02f71d776ff4a2">CreateEncryptionFilter</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 encryption filter  <a href="#a66b9a0c99f5258f11b02f71d776ff4a2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a74b77db3086e07caf5506fda9ec204e7"></a><!-- doxytag: member="TF_EncryptorImpl::AccessMaterial" ref="a74b77db3086e07caf5506fda9ec204e7" args="()" -->
<a class="el" href="class_crypto_material.html">CryptoMaterial</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_public_key_algorithm.html#a74b77db3086e07caf5506fda9ec204e7">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="aadbb6acca8905a61d75f1951d53a90e5"></a><!-- doxytag: member="TF_EncryptorImpl::GetMaterial" ref="aadbb6acca8905a61d75f1951d53a90e5" 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_public_key_algorithm.html#aadbb6acca8905a61d75f1951d53a90e5">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="a522dbfcd5c1a46bf1be301cec26d6534"></a><!-- doxytag: member="TF_EncryptorImpl::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_EncryptorImpl::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="a24b43349a71e1f98508eeb10b31a0a62"></a><!-- doxytag: member="TF_EncryptorImpl::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="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4b388176a0c4853b2a3e747c5e637b95"></a><!-- doxytag: member="TF_EncryptorImpl::StaticAlgorithmName" ref="a4b388176a0c4853b2a3e747c5e637b95" args="()" -->
static std::string&#160;</td><td class="memItemRight" valign="bottom"><b>StaticAlgorithmName</b> ()</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_EncryptorImpl::TrapdoorFunctionInterface" ref="a33e2d6c0fbb715a5255edd5e84a849fb" args="" -->
typedef <a class="el" href="class_randomized_trapdoor_function.html">RandomizedTrapdoorFunction</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_EncryptorImpl::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="a87e4c9804ec263464c5e90d34b638d14"></a><!-- doxytag: member="TF_EncryptorImpl::GetMessageEncodingInterface" ref="a87e4c9804ec263464c5e90d34b638d14" args="() const" -->
const <br class="typebreak"/>
<a class="el" href="class_p_k___encryption_message_encoding_method.html">TF_EncryptorBase::MessageEncodingInterface</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetMessageEncodingInterface</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa10d9e829d9ce56a9d3ea432361a3cec"></a><!-- doxytag: member="TF_EncryptorImpl::GetTrapdoorFunctionBounds" ref="aa10d9e829d9ce56a9d3ea432361a3cec" args="() const" -->
const <a class="el" href="class_trapdoor_function_bounds.html">TrapdoorFunctionBounds</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetTrapdoorFunctionBounds</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abc5e03f659690dab1b12ac7893bc9ddc"></a><!-- doxytag: member="TF_EncryptorImpl::GetTrapdoorFunctionInterface" ref="abc5e03f659690dab1b12ac7893bc9ddc" args="() const" -->
const <br class="typebreak"/>
<a class="el" href="class_randomized_trapdoor_function.html">TF_EncryptorBase::TrapdoorFunctionInterface</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetTrapdoorFunctionInterface</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7670931a0770c84c668511d29f6be4cd"></a><!-- doxytag: member="TF_EncryptorImpl::GetHashIdentifier" ref="a7670931a0770c84c668511d29f6be4cd" args="() const" -->
HashIdentifier&#160;</td><td class="memItemRight" valign="bottom"><b>GetHashIdentifier</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0dd01aab90c563ba615e50d6ae7cc0d0"></a><!-- doxytag: member="TF_EncryptorImpl::GetDigestSize" ref="a0dd01aab90c563ba615e50d6ae7cc0d0" args="() const" -->
size_t&#160;</td><td class="memItemRight" valign="bottom"><b>GetDigestSize</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5a595b68f1e527bd4428d9bc8000d3eb"></a><!-- doxytag: member="TF_EncryptorImpl::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_EncryptorImpl::PaddedBlockBitLength" ref="abdabbaaccfce390230525746c8613371" args="() const" -->
size_t&#160;</td><td class="memItemRight" valign="bottom"><b>PaddedBlockBitLength</b> () const</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>template&lt;class SCHEME_OPTIONS&gt;<br/>
class TF_EncryptorImpl&lt; SCHEME_OPTIONS &gt;</h3>

<p>_ </p>

<p>Definition at line <a class="el" href="pubkey_8h_source.html#l00457">457</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="a32403faf2a609ea7fbcc6f5a5f52fb5d"></a><!-- doxytag: member="TF_EncryptorImpl::Encrypt" ref="a32403faf2a609ea7fbcc6f5a5f52fb5d" args="(RandomNumberGenerator &amp;rng, const byte *plaintext, size_t plaintextLength, byte *ciphertext, const NameValuePairs &amp;parameters=g_nullNameValuePairs) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TF_EncryptorBase::Encrypt </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>plaintext</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>plaintextLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">byte *&#160;</td>
          <td class="paramname"><em>ciphertext</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, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>encrypt a byte string </p>
<dl class="pre"><dt><b>Precondition:</b></dt><dd>CiphertextLength(plaintextLength) != 0 (i.e., plaintext isn't too long) </dd>
<dd>
size of ciphertext == CiphertextLength(plaintextLength) </dd></dl>

<p>Implements <a class="el" href="class_p_k___encryptor.html#aecb519bc1cb0b261698be999bb5c8961">PK_Encryptor</a>.</p>

<p>Definition at line <a class="el" href="pubkey_8cpp_source.html#l00148">148</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>, and <a class="el" href="integer_8cpp_source.html#l03112">Integer::Encode()</a>.</p>

</div>
</div>
<a class="anchor" id="a7e3d9b64229a0eeb41208425898c3be4"></a><!-- doxytag: member="TF_EncryptorImpl::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___encryptor.html">PK_Encryptor</a> , <a class="el" href="class_t_f___base.html">TF_Base</a>&lt; <a class="el" href="class_randomized_trapdoor_function.html">RandomizedTrapdoorFunction</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_EncryptorImpl::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___encryptor.html">PK_Encryptor</a> , <a class="el" href="class_t_f___base.html">TF_Base</a>&lt; <a class="el" href="class_randomized_trapdoor_function.html">RandomizedTrapdoorFunction</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_Encryptor &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_EncryptorImpl::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___encryptor.html">PK_Encryptor</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_EncryptorImpl::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___encryptor.html">PK_Encryptor</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="a66b9a0c99f5258f11b02f71d776ff4a2"></a><!-- doxytag: member="TF_EncryptorImpl::CreateEncryptionFilter" ref="a66b9a0c99f5258f11b02f71d776ff4a2" 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_Encryptor::CreateEncryptionFilter </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 encryption filter </p>
<dl class="note"><dt><b>Note:</b></dt><dd>The caller is responsible for deleting the returned pointer. </dd>
<dd>
Encoding parameters should be passed in the "EP" channel. </dd></dl>

<p>Definition at line <a class="el" href="cryptlib_8cpp_source.html#l00703">703</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 file:<ul>
<li><a class="el" href="pubkey_8h_source.html">pubkey.h</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>