📄 class_d_l___decryptor_base.html
字号:
<td class="paramtype">const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> & </td> <td class="paramname"> <em>parameters</em> = <code><a class="el" href="cryptlib_8h.html#d3205973dd1afa14090a683154c1109c">g_nullNameValuePairs</a></code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"> const<code> [inline, virtual]</code></td> </tr> </table></div><div class="memdoc"><p>decrypt a byte string, and return the length of plaintext <p><dl class="pre" compact><dt><b>Precondition:</b></dt><dd>size of plaintext == MaxPlaintextLength(ciphertextLength) bytes. </dd></dl><dl class="return" compact><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#b7466675ed050c440c16508f8a88cac1">PK_Decryptor</a>.<p>Definition at line <a class="el" href="pubkey_8h-source.html#l01184">1184</a> of file <a class="el" href="pubkey_8h-source.html">pubkey.h</a>.</div></div><p><a class="anchor" name="3deffe3347f225eb0483c7bf3bedc495"></a><!-- doxytag: member="DL_DecryptorBase::MaxPlaintextLength" ref="3deffe3347f225eb0483c7bf3bedc495" 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_d_l___crypto_system_base.html">DL_CryptoSystemBase</a>< <a class="el" href="class_p_k___decryptor.html">PK_Decryptor</a> , <a class="el" href="class_d_l___private_key.html">DL_PrivateKey</a>< T > >::MaxPlaintextLength </td> <td>(</td> <td class="paramtype">size_t </td> <td class="paramname"> <em>ciphertextLength</em> </td> <td> ) </td> <td width="100%"> const<code> [inline, virtual, inherited]</code></td> </tr> </table></div><div class="memdoc"><p><p>Implements <a class="el" href="class_p_k___crypto_system.html#a4a3552c933a36b3aea26f31d00bee9b">PK_CryptoSystem</a>.<p>Definition at line <a class="el" href="pubkey_8h-source.html#l01156">1156</a> of file <a class="el" href="pubkey_8h-source.html">pubkey.h</a>.</div></div><p><a class="anchor" name="c738aee0b0262899ad33379da8798c6a"></a><!-- doxytag: member="DL_DecryptorBase::CiphertextLength" ref="c738aee0b0262899ad33379da8798c6a" 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_d_l___crypto_system_base.html">DL_CryptoSystemBase</a>< <a class="el" href="class_p_k___decryptor.html">PK_Decryptor</a> , <a class="el" href="class_d_l___private_key.html">DL_PrivateKey</a>< T > >::CiphertextLength </td> <td>(</td> <td class="paramtype">size_t </td> <td class="paramname"> <em>plaintextLength</em> </td> <td> ) </td> <td width="100%"> const<code> [inline, virtual, inherited]</code></td> </tr> </table></div><div class="memdoc"><p><p>Implements <a class="el" href="class_p_k___crypto_system.html#bf04a4e08fb69a1a118bad3e998ef6a6">PK_CryptoSystem</a>.<p>Definition at line <a class="el" href="pubkey_8h-source.html#l01162">1162</a> of file <a class="el" href="pubkey_8h-source.html">pubkey.h</a>.</div></div><p><a class="anchor" name="c510f55af473e85547237fdb39e441e1"></a><!-- doxytag: member="DL_DecryptorBase::ParameterSupported" ref="c510f55af473e85547237fdb39e441e1" args="(const char *name) const " --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">bool <a class="el" href="class_d_l___crypto_system_base.html">DL_CryptoSystemBase</a>< <a class="el" href="class_p_k___decryptor.html">PK_Decryptor</a> , <a class="el" href="class_d_l___private_key.html">DL_PrivateKey</a>< T > >::ParameterSupported </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td width="100%"> const<code> [inline, virtual, inherited]</code></td> </tr> </table></div><div class="memdoc"><p><p>Implements <a class="el" href="class_p_k___crypto_system.html#294c4664af51a72112db1f04e6ef9049">PK_CryptoSystem</a>.<p>Definition at line <a class="el" href="pubkey_8h-source.html#l01168">1168</a> of file <a class="el" href="pubkey_8h-source.html">pubkey.h</a>.</div></div><p><a class="anchor" name="c98bd1dac38f73bdc7d0930053ce9f56"></a><!-- doxytag: member="DL_DecryptorBase::CreateDecryptionFilter" ref="c98bd1dac38f73bdc7d0930053ce9f56" args="(RandomNumberGenerator &rng, BufferedTransformation *attachment=NULL, const NameValuePairs &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> & </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> * </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> & </td> <td class="paramname"> <em>parameters</em> = <code><a class="el" href="cryptlib_8h.html#d3205973dd1afa14090a683154c1109c">g_nullNameValuePairs</a></code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"> const<code> [virtual, inherited]</code></td> </tr> </table></div><div class="memdoc"><p>create a new decryption filter <p><dl class="note" compact><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#l00644">644</a> of file <a class="el" href="cryptlib_8cpp-source.html">cryptlib.cpp</a>.</div></div><p><a class="anchor" name="f415eacc974d297a03c4e7de710e5b4e"></a><!-- doxytag: member="DL_DecryptorBase::FixedCiphertextLength" ref="f415eacc974d297a03c4e7de710e5b4e" args="() const" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual size_t PK_CryptoSystem::FixedCiphertextLength </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline, virtual, inherited]</code></td> </tr> </table></div><div class="memdoc"><p>return fixed ciphertext length, if one exists, otherwise return 0 <p><dl class="note" compact><dt><b>Note:</b></dt><dd>"Fixed" here means length of ciphertext does not depend on length of plaintext. It usually does depend on the key length. </dd></dl><p>Reimplemented in <a class="el" href="class_t_f___crypto_system_base.html#91638e029e369d985f7858ad7daf2019">TF_CryptoSystemBase< PK_Decryptor, TF_Base< TrapdoorFunctionInverse, PK_EncryptionMessageEncodingMethod > ></a>, and <a class="el" href="class_t_f___crypto_system_base.html#91638e029e369d985f7858ad7daf2019">TF_CryptoSystemBase< PK_Encryptor, TF_Base< RandomizedTrapdoorFunction, PK_EncryptionMessageEncodingMethod > ></a>.<p>Definition at line <a class="el" href="cryptlib_8h-source.html#l01165">1165</a> of file <a class="el" href="cryptlib_8h-source.html">cryptlib.h</a>.<p>Referenced by <a class="el" href="cryptlib_8h-source.html#l01223">PK_Decryptor::FixedLengthDecrypt()</a>.</div></div><p><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></ul><hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 1 11:11:34 2007 for Crypto++ by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -