📄 class_p_k___message_accumulator_impl.html
字号:
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="345bc33d413c1fd7669de9d9d1f089c2"></a><!-- doxytag: member="PK_MessageAccumulatorImpl::m_recoverableMessage" ref="345bc33d413c1fd7669de9d9d1f089c2" args="" --><a class="el" href="class_sec_block.html">SecByteBlock</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_k___message_accumulator_base.html#345bc33d413c1fd7669de9d9d1f089c2">m_recoverableMessage</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bbef3e3ccb561a43b3ee7446c838a0da"></a><!-- doxytag: member="PK_MessageAccumulatorImpl::m_representative" ref="bbef3e3ccb561a43b3ee7446c838a0da" args="" --><a class="el" href="class_sec_block.html">SecByteBlock</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_k___message_accumulator_base.html#bbef3e3ccb561a43b3ee7446c838a0da">m_representative</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6f092d7793f35d6a38ed10bf83cdb781"></a><!-- doxytag: member="PK_MessageAccumulatorImpl::m_presignature" ref="6f092d7793f35d6a38ed10bf83cdb781" args="" --><a class="el" href="class_sec_block.html">SecByteBlock</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_k___message_accumulator_base.html#6f092d7793f35d6a38ed10bf83cdb781">m_presignature</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="80c5888ebcacfcdf50f950ebba950209"></a><!-- doxytag: member="PK_MessageAccumulatorImpl::m_semisignature" ref="80c5888ebcacfcdf50f950ebba950209" args="" --><a class="el" href="class_sec_block.html">SecByteBlock</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_k___message_accumulator_base.html#80c5888ebcacfcdf50f950ebba950209">m_semisignature</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ba062650b7094dadcf1168cd182f2486"></a><!-- doxytag: member="PK_MessageAccumulatorImpl::m_k" ref="ba062650b7094dadcf1168cd182f2486" args="" --><a class="el" href="class_integer.html">Integer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_k___message_accumulator_base.html#ba062650b7094dadcf1168cd182f2486">m_k</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0886827aa3335610a8bb412e90744fd8"></a><!-- doxytag: member="PK_MessageAccumulatorImpl::m_s" ref="0886827aa3335610a8bb412e90744fd8" args="" --><a class="el" href="class_integer.html">Integer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_k___message_accumulator_base.html#0886827aa3335610a8bb412e90744fd8">m_s</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6d0a3ce0258e928c8fb146989a6a7884"></a><!-- doxytag: member="PK_MessageAccumulatorImpl::m_empty" ref="6d0a3ce0258e928c8fb146989a6a7884" args="" -->bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_k___message_accumulator_base.html#6d0a3ce0258e928c8fb146989a6a7884">m_empty</a></td></tr><tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="64ba03d31c489dc32b50e00d377d8032"></a><!-- doxytag: member="PK_MessageAccumulatorImpl::ThrowIfInvalidTruncatedSize" ref="64ba03d31c489dc32b50e00d377d8032" args="(size_t size) const" -->void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_hash_transformation.html#64ba03d31c489dc32b50e00d377d8032">ThrowIfInvalidTruncatedSize</a> (size_t size) const</td></tr><tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="154db246b0eb9b9fd2c406b828d31c98"></a><!-- doxytag: member="PK_MessageAccumulatorImpl::m_object" ref="154db246b0eb9b9fd2c406b828d31c98" args="" -->HASH_ALGORITHM </td><td class="memItemRight" valign="bottom"><a class="el" href="class_object_holder.html#154db246b0eb9b9fd2c406b828d31c98">m_object</a></td></tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="39b0a4c4cdc11fda358f9975b5e4137e"></a><!-- doxytag: member="PK_MessageAccumulatorImpl::Ref" ref="39b0a4c4cdc11fda358f9975b5e4137e" args="()" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="class_hash_transformation.html">HashTransformation</a>& HashTransformation::Ref </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [inline, inherited]</code></td> </tr> </table></div><div class="memdoc"><p>return a reference to this object, <p>This function is useful for passing a temporary <a class="el" href="class_hash_transformation.html" title="interface for hash functions and data processing part of MACs">HashTransformation</a> object to a function that takes a non-const reference. <p>Definition at line <a class="el" href="cryptlib_8h-source.html#l00533">533</a> of file <a class="el" href="cryptlib_8h-source.html">cryptlib.h</a>.</div></div><p><a class="anchor" name="a0b8c7a110d8968268fd02ec32b9a8e8"></a><!-- doxytag: member="PK_MessageAccumulatorImpl::Final" ref="a0b8c7a110d8968268fd02ec32b9a8e8" args="(byte *digest)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void HashTransformation::Final </td> <td>(</td> <td class="paramtype">byte * </td> <td class="paramname"> <em>digest</em> </td> <td> ) </td> <td width="100%"><code> [inline, virtual, inherited]</code></td> </tr> </table></div><div class="memdoc"><p>compute hash for current message, then restart for a new message <p><dl class="pre" compact><dt><b>Precondition:</b></dt><dd>size of digest == <a class="el" href="class_hash_transformation.html#41faf8b1293a6c72390cb0c8bd668097" title="size of the hash returned by Final()">DigestSize()</a>. </dd></dl><p>Definition at line <a class="el" href="cryptlib_8h-source.html#l00543">543</a> of file <a class="el" href="cryptlib_8h-source.html">cryptlib.h</a>.<p>Referenced by <a class="el" href="pssr_8cpp-source.html#l00045">PSSR_MEM_Base::ComputeMessageRepresentative()</a>, <a class="el" href="pkcspad_8cpp-source.html#l00089">PKCS1v15_SignatureMessageEncodingMethod::ComputeMessageRepresentative()</a>, <a class="el" href="esign_8h-source.html#l00092">EMSA5Pad< T >::ComputeMessageRepresentative()</a>, <a class="el" href="pwdbased_8h-source.html#l00085">PKCS5_PBKDF2_HMAC< T >::DeriveKey()</a>, <a class="el" href="default_8cpp-source.html#l00083">DefaultEncryptor::FirstPut()</a>, <a class="el" href="randpool_8cpp-source.html#l00024">RandomPool::IncorporateEntropy()</a>, <a class="el" href="pssr_8cpp-source.html#l00084">PSSR_MEM_Base::RecoverMessageFromRepresentative()</a>, <a class="el" href="hmac_8cpp-source.html#l00067">HMAC_Base::TruncatedFinal()</a>, <a class="el" href="zlib_8cpp-source.html#l00033">ZlibCompressor::WritePoststreamTail()</a>, and <a class="el" href="gzip_8cpp-source.html#l00029">Gzip::WritePoststreamTail()</a>.</div></div><p><a class="anchor" name="16c4aecd047015d513feef4ed5b929ba"></a><!-- doxytag: member="PK_MessageAccumulatorImpl::Verify" ref="16c4aecd047015d513feef4ed5b929ba" args="(const byte *digest)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool HashTransformation::Verify </td> <td>(</td> <td class="paramtype">const byte * </td> <td class="paramname"> <em>digest</em> </td> <td> ) </td> <td width="100%"><code> [inline, virtual, inherited]</code></td> </tr> </table></div><div class="memdoc"><p>verify that digest is a valid digest for the current message, then reinitialize the object <p>Default implementation is to call <a class="el" href="class_hash_transformation.html#a0b8c7a110d8968268fd02ec32b9a8e8" title="compute hash for current message, then restart for a new message">Final()</a> and do a bitwise comparison between its output and digest. <p>Definition at line <a class="el" href="cryptlib_8h-source.html#l00569">569</a> of file <a class="el" href="cryptlib_8h-source.html">cryptlib.h</a>.<p>Referenced by <a class="el" href="filters_8cpp-source.html#l00773">HashVerificationFilter::LastPut()</a>, <a class="el" href="gzip_8cpp-source.html#l00084">Gunzip::ProcessPoststreamTail()</a>, and <a class="el" href="pssr_8cpp-source.html#l00084">PSSR_MEM_Base::RecoverMessageFromRepresentative()</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:45 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 + -