📄 class_p_k___signature_scheme.html
字号:
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6e7deb95f656d3b3998b86ad971773f0"></a><!-- doxytag: member="PK_SignatureScheme::SignatureLength" ref="6e7deb95f656d3b3998b86ad971773f0" args="() const=0" -->virtual size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_k___signature_scheme.html#6e7deb95f656d3b3998b86ad971773f0">SignatureLength</a> () const=0</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">signature length if it only depends on the key, otherwise 0 <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="665909c10f27db81343a01c814488652"></a><!-- doxytag: member="PK_SignatureScheme::MaxSignatureLength" ref="665909c10f27db81343a01c814488652" args="(size_t recoverablePartLength=0) const" -->virtual size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_k___signature_scheme.html#665909c10f27db81343a01c814488652">MaxSignatureLength</a> (size_t recoverablePartLength=0) const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">maximum signature length produced for a given length of recoverable message part <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f8f3fd3692c258b72be3dad6da3423ec"></a><!-- doxytag: member="PK_SignatureScheme::MaxRecoverableLength" ref="f8f3fd3692c258b72be3dad6da3423ec" args="() const=0" -->virtual size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_k___signature_scheme.html#f8f3fd3692c258b72be3dad6da3423ec">MaxRecoverableLength</a> () const=0</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">length of longest message that can be recovered, or 0 if this signature scheme does not support message recovery <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2f2a599ba385e63766d4a7f7ccf2a884"></a><!-- doxytag: member="PK_SignatureScheme::MaxRecoverableLengthFromSignatureLength" ref="2f2a599ba385e63766d4a7f7ccf2a884" args="(size_t signatureLength) const =0" -->virtual size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_k___signature_scheme.html#2f2a599ba385e63766d4a7f7ccf2a884">MaxRecoverableLengthFromSignatureLength</a> (size_t signatureLength) const =0</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">length of longest message that can be recovered from a signature of given length, or 0 if this signature scheme does not support message recovery <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_k___signature_scheme.html#95da484b356e57bac7548b1ea51f64cd">IsProbabilistic</a> () const=0</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">requires a random number generator to sign <a href="#95da484b356e57bac7548b1ea51f64cd"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="56dba79cab3f05ad3757d8c66e989eec"></a><!-- doxytag: member="PK_SignatureScheme::AllowNonrecoverablePart" ref="56dba79cab3f05ad3757d8c66e989eec" args="() const=0" -->virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_k___signature_scheme.html#56dba79cab3f05ad3757d8c66e989eec">AllowNonrecoverablePart</a> () const=0</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">whether or not a non-recoverable message part can be signed <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8f62890f0485b9ca58528047871f8894"></a><!-- doxytag: member="PK_SignatureScheme::SignatureUpfront" ref="8f62890f0485b9ca58528047871f8894" args="() const" -->virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_k___signature_scheme.html#8f62890f0485b9ca58528047871f8894">SignatureUpfront</a> () const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">if this function returns true, during verification you must input the signature before the message, otherwise you can input it at anytime */ <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8c951b8936376dc05e5e231998b32d31"></a><!-- doxytag: member="PK_SignatureScheme::RecoverablePartFirst" ref="8c951b8936376dc05e5e231998b32d31" args="() const=0" -->virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_k___signature_scheme.html#8c951b8936376dc05e5e231998b32d31">RecoverablePartFirst</a> () const=0</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">whether you must input the recoverable part before the non-recoverable part during signing <br></td></tr><tr><td colspan="2"><br><h2>Classes</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_k___signature_scheme_1_1_invalid_key_length.html">InvalidKeyLength</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">invalid key exception, may be thrown by any function in this class if the private or public key has a length that can't be used <a href="class_p_k___signature_scheme_1_1_invalid_key_length.html#_details">More...</a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_k___signature_scheme_1_1_key_too_short.html">KeyTooShort</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">key too short exception, may be thrown by any function in this class if the private or public key is too short to sign or verify anything <a href="class_p_k___signature_scheme_1_1_key_too_short.html#_details">More...</a><br></td></tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="95da484b356e57bac7548b1ea51f64cd"></a><!-- doxytag: member="PK_SignatureScheme::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]</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 file:<ul><li><a class="el" href="cryptlib_8h-source.html">cryptlib.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 + -