⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 class_d_l___group_parameters___g_f_p.html

📁 著名的密码库Crypto++的文档 C++语言的杰作。程序员必备。
💻 HTML
📖 第 1 页 / 共 4 页
字号:
          <td class="paramname"> <em>bt</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"> const<code> [inline, virtual, inherited]</code></td>        </tr>      </table></div><div class="memdoc"><p>encode this object into a <a class="el" href="class_buffered_transformation.html" title="interface for buffered transformations">BufferedTransformation</a>, using BER <p>this may be useful if <a class="el" href="class_a_s_n1_object.html#10e40187a6ba048dfc8a2c8ca5c6c2ec" title="encode this object into a BufferedTransformation, using DER (Distinguished Encoding...">DEREncode()</a> would be too inefficient <p>Definition at line <a class="el" href="cryptlib_8h-source.html#l01597">1597</a> of file <a class="el" href="cryptlib_8h-source.html">cryptlib.h</a>.<p>Referenced by <a class="el" href="asn_8h-source.html#l00238">ASN1CryptoMaterial&lt; PublicKey &gt;::Save()</a>.</div></div><p><a class="anchor" name="1f25ebabec85af46cf34e2239f9612e3"></a><!-- doxytag: member="DL_GroupParameters_GFP::Validate" ref="1f25ebabec85af46cf34e2239f9612e3" args="(RandomNumberGenerator &amp;rng, unsigned int level) const" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">bool <a class="el" href="class_d_l___group_parameters.html">DL_GroupParameters</a>&lt; <a class="el" href="class_integer.html">Integer</a>  &gt;::Validate           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;&nbsp;</td>          <td class="paramname"> <em>rng</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">unsigned int&nbsp;</td>          <td class="paramname"> <em>level</em></td><td>&nbsp;</td>        </tr>        <tr>          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"> const<code> [inline, virtual, inherited]</code></td>        </tr>      </table></div><div class="memdoc"><p>check this object for errors <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>level</em>&nbsp;</td><td>denotes the level of thoroughness: 0 - using this object won't cause a crash or exception (rng is ignored) 1 - this object will probably function (encrypt, sign, etc.) correctly (but may not check for weak keys and such) 2 - make sure this object will function correctly, and do reasonable security checks 3 - do checks that may take a long time </td></tr>  </table></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>true if the tests pass </dd></dl><p>Implements <a class="el" href="class_crypto_material.html#439743c6b4e89ca8228a12fa1ea43ab1">CryptoMaterial</a>.<p>Definition at line <a class="el" href="pubkey_8h-source.html#l00531">531</a> of file <a class="el" href="pubkey_8h-source.html">pubkey.h</a>.</div></div><p><a class="anchor" name="5f04ae8b4d0b9410a046af1607fbbb6f"></a><!-- doxytag: member="DL_GroupParameters_GFP::Precompute" ref="5f04ae8b4d0b9410a046af1607fbbb6f" args="(unsigned int precomputationStorage=16)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">void <a class="el" href="class_d_l___group_parameters.html">DL_GroupParameters</a>&lt; <a class="el" href="class_integer.html">Integer</a>  &gt;::Precompute           </td>          <td>(</td>          <td class="paramtype">unsigned int&nbsp;</td>          <td class="paramname"> <em>n</em> = <code>16</code>          </td>          <td>&nbsp;)&nbsp;</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_d_l___group_parameters.html#5f04ae8b4d0b9410a046af1607fbbb6f" 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 from <a class="el" href="class_crypto_material.html#39e512d2ea70d0e967db98c19994a7fd">CryptoMaterial</a>.<p>Definition at line <a class="el" href="pubkey_8h-source.html#l00557">557</a> of file <a class="el" href="pubkey_8h-source.html">pubkey.h</a>.</div></div><p><a class="anchor" name="39b6daefcabcdd07f5ae482a075e1728"></a><!-- doxytag: member="DL_GroupParameters_GFP::GetIntValue" ref="39b6daefcabcdd07f5ae482a075e1728" args="(const char *name, int &amp;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 *&nbsp;</td>          <td class="paramname"> <em>name</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">int &amp;&nbsp;</td>          <td class="paramname"> <em>value</em></td><td>&nbsp;</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="gfpcrypt_8h-source.html">gfpcrypt.h</a><li><a class="el" href="gfpcrypt_8cpp-source.html">gfpcrypt.cpp</a></ul><hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 1 11:11:34 2007 for Crypto++ by&nbsp;<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 + -