📄 class_d_l___group_parameters___d_s_a.html
字号:
<td>(</td> <td class="paramtype"><a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> & </td> <td class="paramname"> <em>rng</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> & </td> <td class="paramname"> <em>alg</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [virtual]</code></td> </tr> </table></div><div class="memdoc"><p>ModulusSize must be between <a class="el" href="struct_d_s_a.html#116b2ce7571a9763a4c59db13df29ac4413962145fccf747bdea3bac1ae4c5f4">DSA::MIN_PRIME_LENGTH</a> and <a class="el" href="struct_d_s_a.html#116b2ce7571a9763a4c59db13df29ac4ca432ae49e56b3a9e1bd1c807918a947">DSA::MAX_PRIME_LENGTH</a>, and divisible by <a class="el" href="struct_d_s_a.html#116b2ce7571a9763a4c59db13df29ac4bc6f89b1820fc7d4b9dcfcfcc9f6cee1">DSA::PRIME_LENGTH_MULTIPLE</a> <p>Reimplemented from <a class="el" href="class_d_l___group_parameters___integer_based.html#8c9a79c493a215ca37408bb7ddfb5533">DL_GroupParameters_IntegerBased</a>.<p>Definition at line <a class="el" href="gfpcrypt_8cpp-source.html#l00026">26</a> of file <a class="el" href="gfpcrypt_8cpp-source.html">gfpcrypt.cpp</a>.<p>References <a class="el" href="gfpcrypt_8h-source.html#l00071">DL_GroupParameters_IntegerBased::ComputeGroupOrder()</a>, <a class="el" href="iterhash_8h-source.html#l00084">IteratedHashWithStaticTransform< word32, BigEndian, 64, 20, SHA1 >::DIGESTSIZE</a>, <a class="el" href="cryptlib_8cpp-source.html#l00157">RandomNumberGenerator::GenerateBlock()</a>, <a class="el" href="dsa_8cpp-source.html#l00061">DSA::GeneratePrimes()</a>, <a class="el" href="cryptlib_8h-source.html#l00280">NameValuePairs::GetIntValue()</a>, <a class="el" href="cryptlib_8h-source.html#l00260">NameValuePairs::GetValue()</a>, <a class="el" href="cryptlib_8h-source.html#l00267">NameValuePairs::GetValueWithDefault()</a>, <a class="el" href="gfpcrypt_8h-source.html#l00028">DL_GroupParameters_IntegerBased::Initialize()</a>, <a class="el" href="gfpcrypt_8h-source.html#l00401">DSA::IsValidPrimeLength()</a>, and <a class="el" href="integer_8cpp-source.html#l03200">Integer::Randomize()</a>.</div></div><p><a class="anchor" name="0d668d2148cf57078a93f3a5a4b4ac2a"></a><!-- doxytag: member="DL_GroupParameters_DSA::AssignFrom" ref="0d668d2148cf57078a93f3a5a4b4ac2a" args="(const NameValuePairs &source)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">void <a class="el" href="class_d_l___group_parameters___integer_based_impl.html">DL_GroupParameters_IntegerBasedImpl</a>< <a class="el" href="class_mod_exp_precomputation.html">ModExpPrecomputation</a> , <a class="el" href="class_d_l___fixed_base_precomputation_impl.html">DL_FixedBasePrecomputationImpl</a>< typename <a class="el" href="class_mod_exp_precomputation.html">ModExpPrecomputation</a> ::<a class="el" href="class_integer.html">Element</a>> >::AssignFrom </td> <td>(</td> <td class="paramtype">const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> & </td> <td class="paramname"> <em>source</em> </td> <td> ) </td> <td width="100%"><code> [inline, virtual, inherited]</code></td> </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>Reimplemented from <a class="el" href="class_d_l___group_parameters___integer_based.html#151a76c88372bdf98c68be2ad19400e1">DL_GroupParameters_IntegerBased</a>.<p>Definition at line <a class="el" href="gfpcrypt_8h-source.html#l00095">95</a> of file <a class="el" href="gfpcrypt_8h-source.html">gfpcrypt.h</a>.</div></div><p><a class="anchor" name="23d34a094f5765a1cf51f22ae1233f66"></a><!-- doxytag: member="DL_GroupParameters_DSA::Load" ref="23d34a094f5765a1cf51f22ae1233f66" args="(BufferedTransformation &bt)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">void <a class="el" href="class_a_s_n1_crypto_material.html">ASN1CryptoMaterial</a>< <a class="el" href="class_d_l___group_parameters.html">DL_GroupParameters</a>< <a class="el" href="class_integer.html">Integer</a> > >::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><p>Reimplemented from <a class="el" href="class_crypto_material.html#e7a94de4c3d3822070db5babbdf8b113">CryptoMaterial</a>.<p>Definition at line <a class="el" href="asn_8h-source.html#l00240">240</a> of file <a class="el" href="asn_8h-source.html">asn.h</a>.</div></div><p><a class="anchor" name="b8446b61690a19015d3d565d86dd1d3d"></a><!-- doxytag: member="DL_GroupParameters_DSA::BEREncode" ref="b8446b61690a19015d3d565d86dd1d3d" args="(BufferedTransformation &bt) const " --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void ASN1Object::BEREncode </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%"> 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< PublicKey >::Save()</a>.</div></div><p><a class="anchor" name="1f25ebabec85af46cf34e2239f9612e3"></a><!-- doxytag: member="DL_GroupParameters_DSA::Validate" ref="1f25ebabec85af46cf34e2239f9612e3" args="(RandomNumberGenerator &rng, unsigned int level) const" --><div class="memitem"><div class="memproto"> <table class="memname">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -