⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 class_d_l___signer_impl.html

📁 著名的密码库Crypto++的文档 C++语言的杰作。程序员必备。
💻 HTML
📖 第 1 页 / 共 3 页
字号:
          <td class="paramname"> <em>messageAccumulator</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">byte *&nbsp;</td>          <td class="paramname"> <em>signature</em></td><td>&nbsp;</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>sign and delete messageAccumulator (even in case of exception thrown) <p><dl class="pre" compact><dt><b>Precondition:</b></dt><dd>size of signature == <a class="el" href="class_p_k___signature_scheme.html#665909c10f27db81343a01c814488652" title="maximum signature length produced for a given length of recoverable message part">MaxSignatureLength()</a> </dd></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>actual signature length </dd></dl><p>Definition at line <a class="el" href="cryptlib_8cpp-source.html#l00649">649</a> of file <a class="el" href="cryptlib_8cpp-source.html">cryptlib.cpp</a>.<p>References <a class="el" href="class_p_k___signer.html#fbcf3f00d761f681839ae6264743dd34">PK_Signer::SignAndRestart()</a>.<p>Referenced by <a class="el" href="filters_8cpp-source.html#l00802">SignerFilter::Put2()</a>.</div></div><p><a class="anchor" name="6781cdd4a4a750a9720e268c90a24387"></a><!-- doxytag: member="DL_SignerImpl::SignMessage" ref="6781cdd4a4a750a9720e268c90a24387" args="(RandomNumberGenerator &amp;rng, const byte *message, size_t messageLen, byte *signature) const" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">size_t PK_Signer::SignMessage           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;&nbsp;</td>          <td class="paramname"> <em>rng</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">const byte *&nbsp;</td>          <td class="paramname"> <em>message</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">size_t&nbsp;</td>          <td class="paramname"> <em>messageLen</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">byte *&nbsp;</td>          <td class="paramname"> <em>signature</em></td><td>&nbsp;</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>sign a message <p><dl class="pre" compact><dt><b>Precondition:</b></dt><dd>size of signature == <a class="el" href="class_p_k___signature_scheme.html#665909c10f27db81343a01c814488652" title="maximum signature length produced for a given length of recoverable message part">MaxSignatureLength()</a> </dd></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>actual signature length </dd></dl><p>Definition at line <a class="el" href="cryptlib_8cpp-source.html#l00655">655</a> of file <a class="el" href="cryptlib_8cpp-source.html">cryptlib.cpp</a>.<p>References <a class="el" href="class_p_k___signer.html#ff85d006e814ccc8ac943b145a0bfaf9">PK_Signer::NewSignatureAccumulator()</a>, and <a class="el" href="class_p_k___signer.html#fbcf3f00d761f681839ae6264743dd34">PK_Signer::SignAndRestart()</a>.</div></div><p><a class="anchor" name="76eb862d0cb8d80e0bee7ad52a0da707"></a><!-- doxytag: member="DL_SignerImpl::SignMessageWithRecovery" ref="76eb862d0cb8d80e0bee7ad52a0da707" args="(RandomNumberGenerator &amp;rng, const byte *recoverableMessage, size_t recoverableMessageLength, const byte *nonrecoverableMessage, size_t nonrecoverableMessageLength, byte *signature) const " --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">size_t PK_Signer::SignMessageWithRecovery           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;&nbsp;</td>          <td class="paramname"> <em>rng</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">const byte *&nbsp;</td>          <td class="paramname"> <em>recoverableMessage</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">size_t&nbsp;</td>          <td class="paramname"> <em>recoverableMessageLength</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">const byte *&nbsp;</td>          <td class="paramname"> <em>nonrecoverableMessage</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">size_t&nbsp;</td>          <td class="paramname"> <em>nonrecoverableMessageLength</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">byte *&nbsp;</td>          <td class="paramname"> <em>signature</em></td><td>&nbsp;</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>sign a recoverable message <p><dl class="pre" compact><dt><b>Precondition:</b></dt><dd>size of signature == MaxSignatureLength(recoverableMessageLength) </dd></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>actual signature length </dd></dl><p>Definition at line <a class="el" href="cryptlib_8cpp-source.html#l00662">662</a> of file <a class="el" href="cryptlib_8cpp-source.html">cryptlib.cpp</a>.<p>References <a class="el" href="class_p_k___signer.html#ff85d006e814ccc8ac943b145a0bfaf9">PK_Signer::NewSignatureAccumulator()</a>, and <a class="el" href="class_p_k___signer.html#fbcf3f00d761f681839ae6264743dd34">PK_Signer::SignAndRestart()</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:36 2007 for Crypto++ by&nbsp;<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 + -