📄 class_signer_with_recovery_template.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>Crypto++: TemplateSignerWithRecoveryTemplate< TF, H > class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.2 --><div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div><h1>SignerWithRecoveryTemplate< TF, H > Class Template Reference</h1><code>#include <<a class="el" href="pubkey_8h-source.html">pubkey.h</a>></code><p><p>Inheritance diagram for SignerWithRecoveryTemplate< TF, H >:<p><center><img src="class_signer_with_recovery_template.png" usemap="#SignerWithRecoveryTemplate< TF, H >_map" border="0" alt=""></center><map name="SignerWithRecoveryTemplate< TF, H >_map"><area href="class_signature_system_with_recovery_base_template.html" alt="SignatureSystemWithRecoveryBaseTemplate< H >" shape="rect" coords="0,280,296,304"><area href="class_p_k___signer_with_recovery.html" alt="PK_SignerWithRecovery" shape="rect" coords="535,280,831,304"><area href="class_p_k___signature_scheme_with_recovery.html" alt="PK_SignatureSchemeWithRecovery" shape="rect" coords="0,224,296,248"><area href="class_p_k___signature_scheme_with_recovery.html" alt="PK_SignatureSchemeWithRecovery" shape="rect" coords="306,224,602,248"><area href="class_p_k___signer.html" alt="PK_Signer" shape="rect" coords="765,224,1061,248"><area href="class_p_k___signature_scheme.html" alt="PK_SignatureScheme" shape="rect" coords="0,168,296,192"><area href="class_p_k___signature_scheme.html" alt="PK_SignatureScheme" shape="rect" coords="306,168,602,192"><area href="class_p_k___signature_scheme.html" alt="PK_SignatureScheme" shape="rect" coords="612,168,908,192"><area href="class_private_key_algorithm.html" alt="PrivateKeyAlgorithm" shape="rect" coords="918,168,1214,192"><area href="class_asymmetric_algorithm.html" alt="AsymmetricAlgorithm" shape="rect" coords="918,112,1214,136"><area href="class_algorithm.html" alt="Algorithm" shape="rect" coords="918,56,1214,80"><area href="class_clonable.html" alt="Clonable" shape="rect" coords="918,0,1214,24"></map><a href="class_signer_with_recovery_template-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2><h3>template<class TF, class H><br> class SignerWithRecoveryTemplate< TF, H ></h3><p><p>Definition at line <a class="el" href="pubkey_8h-source.html#l00540">540</a> of file <a class="el" href="pubkey_8h-source.html">pubkey.h</a>.<table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Public Types</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_signer_with_recovery_templatew0" doxytag="SignerWithRecoveryTemplate::KeyClass"></a>typedef TF </td><td class="memItemRight" valign=bottom><b>KeyClass</b></td></tr><tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_signer_with_recovery_templatea0" doxytag="SignerWithRecoveryTemplate::GetKey"></a>const KeyClass & </td><td class="memItemRight" valign=bottom><b>GetKey</b> () const</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_signer_with_recovery_templatea1" doxytag="SignerWithRecoveryTemplate::AccessKey"></a>KeyClass & </td><td class="memItemRight" valign=bottom><b>AccessKey</b> ()</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_signer_with_recovery_templatea2" doxytag="SignerWithRecoveryTemplate::AccessPrivateKey"></a><a class="el" href="class_private_key.html">PrivateKey</a> & </td><td class="memItemRight" valign=bottom><b>AccessPrivateKey</b> ()</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_signer_with_recovery_templatea4" doxytag="SignerWithRecoveryTemplate::SignAndRestart"></a>void </td><td class="memItemRight" valign=bottom><a class="el" href="class_signer_with_recovery_template.html#_signer_with_recovery_templatea4">SignAndRestart</a> (<a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &rng, <a class="el" href="class_hash_transformation.html">HashTransformation</a> &messageAccumulator, byte *signature) const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">sign and restart messageAccumulator <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_signer_with_recovery_templatea5" doxytag="SignerWithRecoveryTemplate::GetTrapdoorFunctionBounds"></a>const <a class="el" href="class_trapdoor_function_bounds.html">TrapdoorFunctionBounds</a> & </td><td class="memItemRight" valign=bottom><b>GetTrapdoorFunctionBounds</b> () const</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_verifier_with_recovery_templatea9" doxytag="SignerWithRecoveryTemplate::SignatureLength"></a>unsigned int </td><td class="memItemRight" valign=bottom><a class="el" href="class_signer_with_recovery_template.html#_verifier_with_recovery_templatea9">SignatureLength</a> () const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">signature length support by this object (as either input or output) <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_verifier_with_recovery_templatea10" doxytag="SignerWithRecoveryTemplate::NewMessageAccumulator"></a><a class="el" href="class_hash_transformation.html">HashTransformation</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="class_signer_with_recovery_template.html#_verifier_with_recovery_templatea10">NewMessageAccumulator</a> () const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">deprecated, please use <a class="el" href="class_p_k___signer.html#_signer_with_recovery_templatea12">PK_Signer::NewSignatureAccumulator</a> or <a class="el" href="class_p_k___verifier.html#_verifier_with_recovery_templatea15">PK_Verifier::NewVerificationAccumulator</a> instead <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_verifier_with_recovery_templatea11" doxytag="SignerWithRecoveryTemplate::MaximumRecoverableLength"></a>unsigned int </td><td class="memItemRight" valign=bottom><a class="el" href="class_signer_with_recovery_template.html#_verifier_with_recovery_templatea11">MaximumRecoverableLength</a> () const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">length of longest message that can be fully recovered <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="class_signer_with_recovery_template.html#_verifier_with_recovery_templatea12">AllowLeftoverMessage</a> () const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">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 </em> <a href="#_verifier_with_recovery_templatea12"></a><em><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="class_signer_with_recovery_template.html#_signer_with_recovery_templatea10">Sign</a> (<a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &rng, <a class="el" href="class_hash_transformation.html">HashTransformation</a> *messageAccumulator, byte *signature) const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">sign and delete messageAccumulator (even in case of exception thrown) </em> <a href="#_signer_with_recovery_templatea10"></a><em><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="class_signer_with_recovery_template.html#_signer_with_recovery_templatea11">SignMessage</a> (<a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &rng, const byte *message, unsigned int messageLen, byte *signature) const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">sign a message </em> <a href="#_signer_with_recovery_templatea11"></a><em><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_signer_with_recovery_templatea12" doxytag="SignerWithRecoveryTemplate::NewSignatureAccumulator"></a>virtual <a class="el" href="class_hash_transformation.html">HashTransformation</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="class_signer_with_recovery_template.html#_signer_with_recovery_templatea12">NewSignatureAccumulator</a> () const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">create a new <a class="el" href="class_hash_transformation.html">HashTransformation</a> to accumulate the message to be signed <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_t_f___private_object_impl_3_01_t_f___digest_signer_base_00_01_s_c_h_e_m_e___o_p_t_i_o_n_s_01_4a13" doxytag="SignerWithRecoveryTemplate::AccessMaterial"></a><a class="el" href="class_crypto_material.html">CryptoMaterial</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="class_signer_with_recovery_template.html#_t_f___private_object_impl_3_01_t_f___digest_signer_base_00_01_s_c_h_e_m_e___o_p_t_i_o_n_s_01_4a13">AccessMaterial</a> ()</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">returns a reference to the crypto material used by this object <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_t_f___private_object_impl_3_01_t_f___digest_signer_base_00_01_s_c_h_e_m_e___o_p_t_i_o_n_s_01_4a14" doxytag="SignerWithRecoveryTemplate::GetMaterial"></a>const <a class="el" href="class_crypto_material.html">CryptoMaterial</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="class_signer_with_recovery_template.html#_t_f___private_object_impl_3_01_t_f___digest_signer_base_00_01_s_c_h_e_m_e___o_p_t_i_o_n_s_01_4a14">GetMaterial</a> () const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">returns a const reference to the crypto material used by this object <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_t_f___digest_signer_basea6" doxytag="SignerWithRecoveryTemplate::GetPrivateKey"></a>virtual const <a class="el" href="class_private_key.html">PrivateKey</a> & </td><td class="memItemRight" valign=bottom><b>GetPrivateKey</b> () const</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_x_t_r___d_ha24" doxytag="SignerWithRecoveryTemplate::BERDecode"></a>void </td><td class="memItemRight" valign=bottom><a class="el" href="class_signer_with_recovery_template.html#_x_t_r___d_ha24">BERDecode</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &bt)</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">for backwards compatibility, calls <a class="el" href="class_asymmetric_algorithm.html#_asymmetric_algorithma0">AccessMaterial()</a>.Load(bt) <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_verifier_with_recovery_templatea23" doxytag="SignerWithRecoveryTemplate::DEREncode"></a>void </td><td class="memItemRight" valign=bottom><a class="el" href="class_signer_with_recovery_template.html#_verifier_with_recovery_templatea23">DEREncode</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &bt) const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">for backwards compatibility, calls <a class="el" href="class_asymmetric_algorithm.html#_asymmetric_algorithma1">GetMaterial()</a>.Save(bt) <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_zlib_decompressora17" doxytag="SignerWithRecoveryTemplate::AlgorithmName"></a>virtual std::string </td><td class="memItemRight" valign=bottom><a class="el" href="class_signer_with_recovery_template.html#_zlib_decompressora17">AlgorithmName</a> () const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">returns name of this algorithm, not universally implemented yet <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_zlib_decompressora18" doxytag="SignerWithRecoveryTemplate::Clone"></a>virtual <a class="el" href="class_clonable.html">Clonable</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="class_signer_with_recovery_template.html#_zlib_decompressora18">Clone</a> () const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">this is not implemented by most classes yet <br><br></td></tr><tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_verifier_with_recovery_templateb0" doxytag="SignerWithRecoveryTemplate::PaddedBlockByteLength"></a>unsigned int </td><td class="memItemRight" valign=bottom><b>PaddedBlockByteLength</b> () const</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_verifier_with_recovery_templateb1" doxytag="SignerWithRecoveryTemplate::PaddedBlockBitLength"></a>unsigned int </td><td class="memItemRight" valign=bottom><b>PaddedBlockBitLength</b> () const</td></tr></table><hr><h2>Member Function Documentation</h2><a name="_verifier_with_recovery_templatea12" doxytag="SignerWithRecoveryTemplate::AllowLeftoverMessage"></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" colspan="4">template<class H> </td> </tr> <tr> <td class="md" nowrap valign="top"> bool <a class="el" href="class_signature_system_with_recovery_base_template.html">SignatureSystemWithRecoveryBaseTemplate</a>< H >::AllowLeftoverMessage </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inline, virtual, inherited]</code></td> </tr> </table> </td> </tr></table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -