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

📄 class_a_s_n1_key.html

📁 Crypto++是一个非常强大的密码学库,主要是功能全
💻 HTML
📖 第 1 页 / 共 3 页
字号:
        <tr>          <td class="md" nowrap valign="top"> virtual bool CryptoMaterial::Validate </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>rng</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>unsigned int&nbsp;</td>          <td class="mdname" nowrap> <em>level</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"> const<code> [pure virtual, inherited]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><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><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 compact><dt><b>Returns:</b></dt><dd>true if the tests pass </dd></dl><p>Implemented in <a class="el" href="class_e_s_i_g_n_function.html#_e_s_i_g_n_functiona3">ESIGNFunction</a>, <a class="el" href="class_invertible_e_s_i_g_n_function.html#_invertible_e_s_i_g_n_functiona5">InvertibleESIGNFunction</a>, <a class="el" href="class_l_u_c_function.html#_l_u_c_functiona6">LUCFunction</a>, <a class="el" href="class_invertible_l_u_c_function.html#_invertible_l_u_c_functiona5">InvertibleLUCFunction</a>, <a class="el" href="class_d_l___group_parameters.html#_d_l___group_parametersa1">DL_GroupParameters&lt; T &gt;</a>, <a class="el" href="class_d_l___private_key_impl.html#_d_l___private_key_impla0">DL_PrivateKeyImpl&lt; GP &gt;</a>, <a class="el" href="class_d_l___public_key_impl.html#_d_l___public_key_impla0">DL_PublicKeyImpl&lt; GP &gt;</a>, <a class="el" href="class_rabin_function.html#_rabin_functiona6">RabinFunction</a>, <a class="el" href="class_invertible_rabin_function.html#_invertible_rabin_functiona5">InvertibleRabinFunction</a>, <a class="el" href="class_r_s_a_function.html#_r_s_a_functiona4">RSAFunction</a>, <a class="el" href="class_invertible_r_s_a_function.html#_invertible_r_s_a_functiona7">InvertibleRSAFunction</a>, <a class="el" href="class_r_w_function.html#_r_w_functiona6">RWFunction&lt; r &gt;</a>, <a class="el" href="class_invertible_r_w_function.html#_invertible_r_w_functiona5">InvertibleRWFunction&lt; r &gt;</a>, <a class="el" href="class_x_t_r___d_h.html#_x_t_r___d_ha4">XTR_DH</a>, <a class="el" href="class_d_l___group_parameters.html#_d_l___group_parametersa1">DL_GroupParameters&lt; Integer &gt;</a>, <a class="el" href="class_d_l___group_parameters.html#_d_l___group_parametersa1">DL_GroupParameters&lt; typenameEcPrecomputation&lt; EC &gt;::Element &gt;</a>, <a class="el" href="class_d_l___private_key_impl.html#_d_l___private_key_impla0">DL_PrivateKeyImpl&lt; DL_GroupParameters_EC&lt; EC &gt; &gt;</a>, and <a class="el" href="class_d_l___public_key_impl.html#_d_l___public_key_impla0">DL_PublicKeyImpl&lt; DL_GroupParameters_EC&lt; EC &gt; &gt;</a>.    </td>  </tr></table><a name="_x_t_r___d_ha33" doxytag="ASN1Key::Precompute"></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" nowrap valign="top"> virtual void CryptoMaterial::Precompute </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">unsigned int&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>n</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [inline, virtual, inherited]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>do precomputation <p>The exact semantics of <a class="el" href="class_crypto_material.html#_x_t_r___d_ha33">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#_d_l___group_parametersa4">DL_GroupParameters&lt; T &gt;</a>, <a class="el" href="class_d_l___private_key_impl.html#_d_l___private_key_impla5">DL_PrivateKeyImpl&lt; GP &gt;</a>, <a class="el" href="class_d_l___public_key_impl.html#_d_l___public_key_impla4">DL_PublicKeyImpl&lt; GP &gt;</a>, <a class="el" href="class_d_l___group_parameters.html#_d_l___group_parametersa4">DL_GroupParameters&lt; Integer &gt;</a>, <a class="el" href="class_d_l___group_parameters.html#_d_l___group_parametersa4">DL_GroupParameters&lt; typenameEcPrecomputation&lt; EC &gt;::Element &gt;</a>, <a class="el" href="class_d_l___private_key_impl.html#_d_l___private_key_impla5">DL_PrivateKeyImpl&lt; DL_GroupParameters_EC&lt; EC &gt; &gt;</a>, and <a class="el" href="class_d_l___public_key_impl.html#_d_l___public_key_impla4">DL_PublicKeyImpl&lt; DL_GroupParameters_EC&lt; EC &gt; &gt;</a>.<p>Definition at line <a class="el" href="cryptlib_8h-source.html#l00995">995</a> of file <a class="el" href="cryptlib_8h-source.html">cryptlib.h</a>.    </td>  </tr></table><a name="_x_t_r___d_ha42" doxytag="ASN1Key::GetIntValue"></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" nowrap valign="top"> bool NameValuePairs::GetIntValue </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const char *&nbsp;</td>          <td class="mdname" nowrap> <em>name</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>int &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>value</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"> const<code> [inline, inherited]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><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#l00275">275</a> of file <a class="el" href="cryptlib_8h-source.html">cryptlib.h</a>.<p>References <a class="el" href="cryptlib_8h-source.html#l00255">NameValuePairs::GetValue()</a>.<p>Referenced by <a class="el" href="rw_8cpp-source.html#l00144">InvertibleRWFunction&lt; r &gt;::GenerateRandom()</a>, <a class="el" href="rsa_8cpp-source.html#l00102">InvertibleRSAFunction::GenerateRandom()</a>, <a class="el" href="rabin_8cpp-source.html#l00074">InvertibleRabinFunction::GenerateRandom()</a>, <a class="el" href="luc_8cpp-source.html#l00108">InvertibleLUCFunction::GenerateRandom()</a>, <a class="el" href="gfpcrypt_8cpp-source.html#l00142">DL_GroupParameters_IntegerBased::GenerateRandom()</a>, <a class="el" href="gfpcrypt_8cpp-source.html#l00026">DL_GroupParameters_DSA::GenerateRandom()</a>, and <a class="el" href="esign_8cpp-source.html#l00075">InvertibleESIGNFunction::GenerateRandom()</a>.    </td>  </tr></table><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="asn_8h-source.html">asn.h</a></ul><hr size="1"><address style="align: right;"><small>Generated on Tue Jul 8 23:34:35 2003 for Crypto++ by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.2 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -