📄 class_l_u_c_function.html
字号:
</tr> </table></div><div class="memdoc"><p>assign values from source to this object <p><dl class="note" compact><dt><b>Note:</b></dt><dd>This function can be used to create a public key from a private key. </dd></dl><p>Implements <a class="el" href="class_crypto_material.html#20181c1b39a74a9fe91385b025b773c6">CryptoMaterial</a>.<p>Reimplemented in <a class="el" href="class_invertible_l_u_c_function.html#aaef1b335de1f76ec61079d1dfd78744">InvertibleLUCFunction</a>.<p>Definition at line <a class="el" href="luc_8cpp-source.html#l00085">85</a> of file <a class="el" href="luc_8cpp-source.html">luc.cpp</a>.</div></div><p><a class="anchor" name="e7a94de4c3d3822070db5babbdf8b113"></a><!-- doxytag: member="LUCFunction::Load" ref="e7a94de4c3d3822070db5babbdf8b113" args="(BufferedTransformation &bt)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void CryptoMaterial::Load </td> <td>(</td> <td class="paramtype"><a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> & </td> <td class="paramname"> <em>bt</em> </td> <td> ) </td> <td width="100%"><code> [inline, virtual, inherited]</code></td> </tr> </table></div><div class="memdoc"><p>load key from a <a class="el" href="class_buffered_transformation.html" title="interface for buffered transformations">BufferedTransformation</a> <p><dl compact><dt><b>Exceptions:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>KeyingErr</em> </td><td>if decode fails </td></tr> </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>Generally does not check that the key is valid. Call ValidateKey() or ThrowIfInvalidKey() to check that. </dd></dl><p>Reimplemented in <a class="el" href="class_invertible_r_s_a_function.html#d8a540a6369b9043d082b0dc38b99d4b">InvertibleRSAFunction</a>, <a class="el" href="class_a_s_n1_crypto_material.html#23d34a094f5765a1cf51f22ae1233f66">ASN1CryptoMaterial< PrivateKey ></a>, <a class="el" href="class_a_s_n1_crypto_material.html#23d34a094f5765a1cf51f22ae1233f66">ASN1CryptoMaterial< DL_GroupParameters< Integer > ></a>, and <a class="el" href="class_a_s_n1_crypto_material.html#23d34a094f5765a1cf51f22ae1233f66">ASN1CryptoMaterial< PublicKey ></a>.<p>Definition at line <a class="el" href="cryptlib_8h-source.html#l01025">1025</a> of file <a class="el" href="cryptlib_8h-source.html">cryptlib.h</a>.</div></div><p><a class="anchor" name="39e512d2ea70d0e967db98c19994a7fd"></a><!-- doxytag: member="LUCFunction::Precompute" ref="39e512d2ea70d0e967db98c19994a7fd" args="(unsigned int n)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void CryptoMaterial::Precompute </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>n</em> </td> <td> ) </td> <td width="100%"><code> [inline, virtual, inherited]</code></td> </tr> </table></div><div class="memdoc"><p>do precomputation <p>The exact semantics of <a class="el" href="class_crypto_material.html#39e512d2ea70d0e967db98c19994a7fd" title="do precomputation">Precompute()</a> is varies, but typically it means calculate a table of n objects that can be used later to speed up computation. <p>Reimplemented in <a class="el" href="class_d_l___group_parameters.html#5f04ae8b4d0b9410a046af1607fbbb6f">DL_GroupParameters< T ></a>, <a class="el" href="class_d_l___private_key_impl.html#c1876a3d292e192186070869be896ded">DL_PrivateKeyImpl< GP ></a>, <a class="el" href="class_d_l___public_key_impl.html#95e25f6632ec2621289d10abc557b17b">DL_PublicKeyImpl< GP ></a>, <a class="el" href="class_d_l___group_parameters.html#5f04ae8b4d0b9410a046af1607fbbb6f">DL_GroupParameters< Integer ></a>, <a class="el" href="class_d_l___group_parameters.html#5f04ae8b4d0b9410a046af1607fbbb6f">DL_GroupParameters< typenameEcPrecomputation< EC >::Element ></a>, <a class="el" href="class_d_l___private_key_impl.html#c1876a3d292e192186070869be896ded">DL_PrivateKeyImpl< DL_GroupParameters_EC< EC > ></a>, and <a class="el" href="class_d_l___public_key_impl.html#95e25f6632ec2621289d10abc557b17b">DL_PublicKeyImpl< DL_GroupParameters_EC< EC > ></a>.<p>Definition at line <a class="el" href="cryptlib_8h-source.html#l01034">1034</a> of file <a class="el" href="cryptlib_8h-source.html">cryptlib.h</a>.</div></div><p><a class="anchor" name="39b6daefcabcdd07f5ae482a075e1728"></a><!-- doxytag: member="LUCFunction::GetIntValue" ref="39b6daefcabcdd07f5ae482a075e1728" args="(const char *name, int &value) const " --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">bool NameValuePairs::GetIntValue </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int & </td> <td class="paramname"> <em>value</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"> const<code> [inline, inherited]</code></td> </tr> </table></div><div class="memdoc"><p>get a named value with type int <p>used to ensure we don't accidentally try to get an unsigned int or some other type when we mean int (which is the most common case) <p>Definition at line <a class="el" href="cryptlib_8h-source.html#l00280">280</a> of file <a class="el" href="cryptlib_8h-source.html">cryptlib.h</a>.<p>Referenced by <a class="el" href="rw_8cpp-source.html#l00088">InvertibleRWFunction::GenerateRandom()</a>, <a class="el" href="rsa_8cpp-source.html#l00104">InvertibleRSAFunction::GenerateRandom()</a>, <a class="el" href="rabin_8cpp-source.html#l00075">InvertibleRabinFunction::GenerateRandom()</a>, <a class="el" href="luc_8cpp-source.html#l00107">InvertibleLUCFunction::GenerateRandom()</a>, <a class="el" href="gfpcrypt_8cpp-source.html#l00163">DL_GroupParameters_IntegerBased::GenerateRandom()</a>, <a class="el" href="gfpcrypt_8cpp-source.html#l00026">DL_GroupParameters_DSA::GenerateRandom()</a>, <a class="el" href="esign_8cpp-source.html#l00075">InvertibleESIGNFunction::GenerateRandom()</a>, and <a class="el" href="integer_8cpp-source.html#l03253">Integer::GenerateRandomNoThrow()</a>.</div></div><p><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="luc_8h-source.html">luc.h</a><li><a class="el" href="luc_8cpp-source.html">luc.cpp</a></ul><hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 1 11:11:42 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 + -