📄 class_private_key_algorithm.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>Crypto++: PrivateKeyAlgorithm class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.2 --><div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div><h1>PrivateKeyAlgorithm Class Reference</h1><code>#include <<a class="el" href="cryptlib_8h-source.html">cryptlib.h</a>></code><p><p>Inheritance diagram for PrivateKeyAlgorithm:<p><center><img src="class_private_key_algorithm.png" usemap="#PrivateKeyAlgorithm_map" border="0" alt=""></center><map name="PrivateKeyAlgorithm_map"><area href="class_asymmetric_algorithm.html" alt="AsymmetricAlgorithm" shape="rect" coords="2068,112,2649,136"><area href="class_algorithm.html" alt="Algorithm" shape="rect" coords="2068,56,2649,80"><area href="class_clonable.html" alt="Clonable" shape="rect" coords="2068,0,2649,24"><area href="class_digest_signer.html" alt="DigestSigner" shape="rect" coords="591,224,1172,248"><area href="class_p_k___decryptor.html" alt="PK_Decryptor" shape="rect" coords="2068,224,2649,248"><area href="class_p_k___signer.html" alt="PK_Signer" shape="rect" coords="3841,224,4422,248"><area href="class_d_l___digest_signature_system_base.html" alt="DL_DigestSignatureSystemBase< DigestSigner, DL_PrivateKey< SCHEME_OPTIONS::Element > >" shape="rect" coords="0,280,581,304"><area href="class_d_l___digest_signature_system_base.html" alt="DL_DigestSignatureSystemBase< DigestSigner, DL_PrivateKey< T > >" shape="rect" coords="591,280,1172,304"><area href="class_t_f___digest_signature_system_base.html" alt="TF_DigestSignatureSystemBase< DigestSigner, TF_Base< RandomizedTrapdoorFunctionInverse > >" shape="rect" coords="1182,280,1763,304"><area href="class_d_l___crypto_system_base.html" alt="DL_CryptoSystemBase< PK_Decryptor, DL_PrivateKey< SCHEME_OPTIONS::Element > >" shape="rect" coords="1773,280,2354,304"><area href="class_p_k___fixed_length_decryptor.html" alt="PK_FixedLengthDecryptor" shape="rect" coords="2364,280,2945,304"><area href="class_p_k___signature_scheme_base.html" alt="PK_SignatureSchemeBase< H, PK_Signer, DigestSigner >" shape="rect" coords="3546,280,4127,304"><area href="class_p_k___signer_with_recovery.html" alt="PK_SignerWithRecovery" shape="rect" coords="4137,280,4718,304"><area href="class_d_l___digest_signer_base.html" alt="DL_DigestSignerBase< SCHEME_OPTIONS::Element >" shape="rect" coords="0,336,581,360"><area href="class_d_l___digest_signer_base.html" alt="DL_DigestSignerBase< T >" shape="rect" coords="591,336,1172,360"><area href="class_t_f___digest_signer_base.html" alt="TF_DigestSignerBase" shape="rect" coords="1182,336,1763,360"><area href="class_d_l___decryptor_base.html" alt="DL_DecryptorBase< SCHEME_OPTIONS::Element >" shape="rect" coords="1773,336,2354,360"><area href="class_d_l___crypto_system_base.html" alt="DL_CryptoSystemBase< PK_FixedLengthDecryptor, DL_PrivateKey< Integer > >" shape="rect" coords="2955,336,3536,360"><area href="class_t_f___crypto_system_base.html" alt="TF_CryptoSystemBase< PK_FixedLengthDecryptor, TF_Base< TrapdoorFunctionInverse > >" shape="rect" coords="2955,392,3536,416"><area href="class_p_k___signer_base.html" alt="PK_SignerBase< H >" shape="rect" coords="3546,336,4127,360"><area href="class_signer_with_recovery_template.html" alt="SignerWithRecoveryTemplate< TF, H >" shape="rect" coords="4137,336,4718,360"></map><a href="class_private_key_algorithm-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>interface for asymmetric algorithms using private keys <p><p>Definition at line <a class="el" href="cryptlib_8h-source.html#l01074">1074</a> of file <a class="el" href="cryptlib_8h-source.html">cryptlib.h</a>.<table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_t_f___private_object_impl_3_01_t_f___digest_signer_base_00_01_s_c_h_e_m_e___o_p_t_i_o_n_s_01_4a13" doxytag="PrivateKeyAlgorithm::AccessMaterial"></a><a class="el" href="class_crypto_material.html">CryptoMaterial</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="class_private_key_algorithm.html#_t_f___private_object_impl_3_01_t_f___digest_signer_base_00_01_s_c_h_e_m_e___o_p_t_i_o_n_s_01_4a13">AccessMaterial</a> ()</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">returns a reference to the crypto material used by this object <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_t_f___private_object_impl_3_01_t_f___digest_signer_base_00_01_s_c_h_e_m_e___o_p_t_i_o_n_s_01_4a14" doxytag="PrivateKeyAlgorithm::GetMaterial"></a>const <a class="el" href="class_crypto_material.html">CryptoMaterial</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="class_private_key_algorithm.html#_t_f___private_object_impl_3_01_t_f___digest_signer_base_00_01_s_c_h_e_m_e___o_p_t_i_o_n_s_01_4a14">GetMaterial</a> () const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">returns a const reference to the crypto material used by this object <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_t_f___digest_signer_basea5" doxytag="PrivateKeyAlgorithm::AccessPrivateKey"></a>virtual <a class="el" href="class_private_key.html">PrivateKey</a> & </td><td class="memItemRight" valign=bottom><b>AccessPrivateKey</b> ()=0</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_t_f___digest_signer_basea6" doxytag="PrivateKeyAlgorithm::GetPrivateKey"></a>virtual const <a class="el" href="class_private_key.html">PrivateKey</a> & </td><td class="memItemRight" valign=bottom><b>GetPrivateKey</b> () const</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_x_t_r___d_ha24" doxytag="PrivateKeyAlgorithm::BERDecode"></a>void </td><td class="memItemRight" valign=bottom><a class="el" href="class_private_key_algorithm.html#_x_t_r___d_ha24">BERDecode</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &bt)</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">for backwards compatibility, calls <a class="el" href="class_asymmetric_algorithm.html#_asymmetric_algorithma0">AccessMaterial()</a>.Load(bt) <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_verifier_with_recovery_templatea23" doxytag="PrivateKeyAlgorithm::DEREncode"></a>void </td><td class="memItemRight" valign=bottom><a class="el" href="class_private_key_algorithm.html#_verifier_with_recovery_templatea23">DEREncode</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &bt) const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">for backwards compatibility, calls <a class="el" href="class_asymmetric_algorithm.html#_asymmetric_algorithma1">GetMaterial()</a>.Save(bt) <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_zlib_decompressora17" doxytag="PrivateKeyAlgorithm::AlgorithmName"></a>virtual std::string </td><td class="memItemRight" valign=bottom><a class="el" href="class_private_key_algorithm.html#_zlib_decompressora17">AlgorithmName</a> () const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">returns name of this algorithm, not universally implemented yet <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_zlib_decompressora18" doxytag="PrivateKeyAlgorithm::Clone"></a>virtual <a class="el" href="class_clonable.html">Clonable</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="class_private_key_algorithm.html#_zlib_decompressora18">Clone</a> () const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">this is not implemented by most classes yet <br><br></td></tr></table><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="align: right;"><small>Generated on Tue Jul 8 23:35:24 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 + -