📄 class_p_k___verifier.html
字号:
<tr> <td class="memname"><a class="el" href="struct_decoding_result.html">DecodingResult</a> PK_Verifier::Recover </td> <td>(</td> <td class="paramtype">byte * </td> <td class="paramname"> <em>recoveredMessage</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="class_p_k___message_accumulator.html">PK_MessageAccumulator</a> * </td> <td class="paramname"> <em>messageAccumulator</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"> const<code> [virtual]</code></td> </tr> </table></div><div class="memdoc"><p>recover a message from its signature <p><dl class="pre" compact><dt><b>Precondition:</b></dt><dd>size of recoveredMessage == MaxRecoverableLengthFromSignatureLength(signatureLength) </dd></dl><p>Definition at line <a class="el" href="cryptlib_8cpp-source.html#l00685">685</a> of file <a class="el" href="cryptlib_8cpp-source.html">cryptlib.cpp</a>.<p>References <a class="el" href="class_p_k___verifier.html#6612ff44a274594890419ae75d260cce">RecoverAndRestart()</a>.</div></div><p><a class="anchor" name="6612ff44a274594890419ae75d260cce"></a><!-- doxytag: member="PK_Verifier::RecoverAndRestart" ref="6612ff44a274594890419ae75d260cce" args="(byte *recoveredMessage, PK_MessageAccumulator &messageAccumulator) const =0" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="struct_decoding_result.html">DecodingResult</a> PK_Verifier::RecoverAndRestart </td> <td>(</td> <td class="paramtype">byte * </td> <td class="paramname"> <em>recoveredMessage</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="class_p_k___message_accumulator.html">PK_MessageAccumulator</a> & </td> <td class="paramname"> <em>messageAccumulator</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"> const<code> [pure virtual]</code></td> </tr> </table></div><div class="memdoc"><p>recover a message from its signature <p><dl class="pre" compact><dt><b>Precondition:</b></dt><dd>size of recoveredMessage == MaxRecoverableLengthFromSignatureLength(signatureLength) </dd></dl><p>Implemented in <a class="el" href="class_t_f___verifier_base.html#fff8535e4229e7e27e0824ce68e7e723">TF_VerifierBase</a>, <a class="el" href="class_d_l___verifier_base.html#b37d4d41fcc169d71b5b3a9d1e508270">DL_VerifierBase< T ></a>, and <a class="el" href="class_d_l___verifier_base.html#b37d4d41fcc169d71b5b3a9d1e508270">DL_VerifierBase< SCHEME_OPTIONS::Element ></a>.<p>Referenced by <a class="el" href="cryptlib_8cpp-source.html#l00685">Recover()</a>, and <a class="el" href="cryptlib_8cpp-source.html#l00691">RecoverMessage()</a>.</div></div><p><a class="anchor" name="05d969651d86a63d5002057113e0cab7"></a><!-- doxytag: member="PK_Verifier::RecoverMessage" ref="05d969651d86a63d5002057113e0cab7" args="(byte *recoveredMessage, const byte *nonrecoverableMessage, size_t nonrecoverableMessageLength, const byte *signature, size_t signatureLength) const" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="struct_decoding_result.html">DecodingResult</a> PK_Verifier::RecoverMessage </td> <td>(</td> <td class="paramtype">byte * </td> <td class="paramname"> <em>recoveredMessage</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const byte * </td> <td class="paramname"> <em>nonrecoverableMessage</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">size_t </td> <td class="paramname"> <em>nonrecoverableMessageLength</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const byte * </td> <td class="paramname"> <em>signature</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">size_t </td> <td class="paramname"> <em>signatureLength</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"> const<code> [virtual]</code></td> </tr> </table></div><div class="memdoc"><p>recover a message from its signature <p><dl class="pre" compact><dt><b>Precondition:</b></dt><dd>size of recoveredMessage == MaxRecoverableLengthFromSignatureLength(signatureLength) </dd></dl><p>Definition at line <a class="el" href="cryptlib_8cpp-source.html#l00691">691</a> of file <a class="el" href="cryptlib_8cpp-source.html">cryptlib.cpp</a>.<p>References <a class="el" href="class_p_k___verifier.html#515aa448e7fc3a5c6e422e65500ab507">InputSignature()</a>, <a class="el" href="class_p_k___verifier.html#24203e25fdd33fa7cf3c4a2393444a78">NewVerificationAccumulator()</a>, and <a class="el" href="class_p_k___verifier.html#6612ff44a274594890419ae75d260cce">RecoverAndRestart()</a>.</div></div><p><a class="anchor" name="95da484b356e57bac7548b1ea51f64cd"></a><!-- doxytag: member="PK_Verifier::IsProbabilistic" ref="95da484b356e57bac7548b1ea51f64cd" args="() const=0" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool PK_SignatureScheme::IsProbabilistic </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [pure virtual, inherited]</code></td> </tr> </table></div><div class="memdoc"><p>requires a random number generator to sign <p>if this returns false, <a class="el" href="cryptlib_8h.html#fcd6162a0a4d19df92106149e7eaf55a" title="returns a reference that can be passed to functions that ask for a RNG but doesn't...">NullRNG()</a> can be passed to functions that take <a class="el" href="class_random_number_generator.html" title="interface for random number generators">RandomNumberGenerator</a> & <p>Implemented in <a class="el" href="class_t_f___signature_scheme_base.html#db5ef45069481de1ceca75a847aa37f4">TF_SignatureSchemeBase< PK_Verifier, TF_Base< TrapdoorFunction, PK_SignatureMessageEncodingMethod > ></a>, <a class="el" href="class_t_f___signature_scheme_base.html#db5ef45069481de1ceca75a847aa37f4">TF_SignatureSchemeBase< PK_Signer, TF_Base< RandomizedTrapdoorFunctionInverse, PK_SignatureMessageEncodingMethod > ></a>, <a class="el" href="class_d_l___signature_scheme_base.html#1c195318486467bcb8492ca5ea8fe5c7">DL_SignatureSchemeBase< PK_Signer, DL_PrivateKey< SCHEME_OPTIONS::Element > ></a>, <a class="el" href="class_d_l___signature_scheme_base.html#1c195318486467bcb8492ca5ea8fe5c7">DL_SignatureSchemeBase< PK_Verifier, DL_PublicKey< SCHEME_OPTIONS::Element > ></a>, <a class="el" href="class_d_l___signature_scheme_base.html#1c195318486467bcb8492ca5ea8fe5c7">DL_SignatureSchemeBase< PK_Verifier, DL_PublicKey< T > ></a>, and <a class="el" href="class_d_l___signature_scheme_base.html#1c195318486467bcb8492ca5ea8fe5c7">DL_SignatureSchemeBase< PK_Signer, DL_PrivateKey< T > ></a>.</div></div><p><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="cryptlib_8h-source.html">cryptlib.h</a><li><a class="el" href="cryptlib_8cpp-source.html">cryptlib.cpp</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 + -