📄 class_signer_with_recovery_template.html
字号:
<table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>whether or not messages longer than <a class="el" href="class_signature_system_with_recovery_base_template.html#_verifier_with_recovery_templatea11">MaximumRecoverableLength()</a> can be signed <p>If this function returns false, any message longer than <a class="el" href="class_signature_system_with_recovery_base_template.html#_verifier_with_recovery_templatea11">MaximumRecoverableLength()</a> will be truncated for signature and will fail verification.<p>Implements <a class="el" href="class_p_k___signature_scheme_with_recovery.html#_p_k___verifier_with_recoverya5">PK_SignatureSchemeWithRecovery</a>.<p>Definition at line <a class="el" href="pubkey_8h-source.html#l00529">529</a> of file <a class="el" href="pubkey_8h-source.html">pubkey.h</a>. </td> </tr></table><a name="_signer_with_recovery_templatea10" doxytag="SignerWithRecoveryTemplate::Sign"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void PK_Signer::Sign </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> & </td> <td class="mdname" nowrap> <em>rng</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="class_hash_transformation.html">HashTransformation</a> * </td> <td class="mdname" nowrap> <em>messageAccumulator</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>byte * </td> <td class="mdname" nowrap> <em>signature</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>sign and delete messageAccumulator (even in case of exception thrown) <p><dl compact><dt><b>Precondition:</b></dt><dd>messageAccumulator was obtained by calling <a class="el" href="class_p_k___signer.html#_signer_with_recovery_templatea12">NewSignatureAccumulator()</a> <p><a class="el" href="class_hash_transformation.html#_x_m_a_c_c___basea13">HashTransformation::Final()</a> has not been called on messageAccumulator <p>size of signature == <a class="el" href="class_signature_system_with_recovery_base_template.html#_verifier_with_recovery_templatea9">SignatureLength()</a></dd></dl><p>Definition at line <a class="el" href="cryptlib_8cpp-source.html#l00619">619</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#_p_k___signer_with_recoverya5">PK_Signer::SignAndRestart()</a>.<p>Referenced by <a class="el" href="filters_8cpp-source.html#l00720">SignerFilter::Put2()</a>. </td> </tr></table><a name="_signer_with_recovery_templatea11" doxytag="SignerWithRecoveryTemplate::SignMessage"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void PK_Signer::SignMessage </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> & </td> <td class="mdname" nowrap> <em>rng</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const byte * </td> <td class="mdname" nowrap> <em>message</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>unsigned int </td> <td class="mdname" nowrap> <em>messageLen</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>byte * </td> <td class="mdname" nowrap> <em>signature</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>sign a message <p><dl compact><dt><b>Precondition:</b></dt><dd>size of signature == <a class="el" href="class_signature_system_with_recovery_base_template.html#_verifier_with_recovery_templatea9">SignatureLength()</a> </dd></dl><p>Definition at line <a class="el" href="cryptlib_8cpp-source.html#l00625">625</a> of file <a class="el" href="cryptlib_8cpp-source.html">cryptlib.cpp</a>.<p>References <a class="el" href="cryptlib_8h-source.html#l01256">PK_Signer::NewSignatureAccumulator()</a>, and <a class="el" href="class_p_k___signer.html#_p_k___signer_with_recoverya5">PK_Signer::SignAndRestart()</a>. </td> </tr></table><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="align: right;"><small>Generated on Tue Jul 8 23:35:34 2003 for Crypto++ by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.2 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -