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

📄 class_a_s_n1_object.html

📁 Crypto++是一个非常强大的密码学库,主要是功能全
💻 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++: ASN1Object 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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Compound&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Compound&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div><h1>ASN1Object Class Reference</h1><code>#include &lt;<a class="el" href="cryptlib_8h-source.html">cryptlib.h</a>&gt;</code><p><p>Inheritance diagram for ASN1Object:<p><center><img src="class_a_s_n1_object.png" usemap="#ASN1Object_map" border="0" alt=""></center><map name="ASN1Object_map"><area href="class_a_s_n1_crypto_material.html" alt="ASN1CryptoMaterial" shape="rect" coords="4980,56,5966,80"><area href="class_integer.html" alt="Integer" shape="rect" coords="5976,56,6962,80"><area href="class_a_s_n1_key.html" alt="ASN1Key" shape="rect" coords="996,112,1982,136"><area href="class_d_l___group_parameters___integer_based.html" alt="DL_GroupParameters_IntegerBased" shape="rect" coords="4980,112,5966,136"><area href="class_e_s_i_g_n_function.html" alt="ESIGNFunction" shape="rect" coords="6972,112,7958,136"><area href="class_p_k_c_s8_private_key.html" alt="PKCS8PrivateKey" shape="rect" coords="0,168,986,192"><area href="class_x509_public_key.html" alt="X509PublicKey" shape="rect" coords="1992,168,2978,192"><area href="class_d_l___group_parameters_impl.html" alt="DL_GroupParametersImpl< DL_GroupPrecomputation_LUC, DL_BasePrecomputation_LUC, DL_GroupParameters_IntegerBased >" shape="rect" coords="3984,168,4970,192"><area href="class_d_l___group_parameters_impl.html" alt="DL_GroupParametersImpl< GROUP_PRECOMP, BASE_PRECOMP, DL_GroupParameters_IntegerBased >" shape="rect" coords="4980,168,5966,192"><area href="class_d_l___group_parameters_impl.html" alt="DL_GroupParametersImpl< ModExpPrecomputation, DL_FixedBasePrecomputationImpl< typenameModExpPrecomputation::Element >, DL_GroupParameters_IntegerBased >" shape="rect" coords="5976,168,6962,192"><area href="class_invertible_e_s_i_g_n_function.html" alt="InvertibleESIGNFunction" shape="rect" coords="6972,168,7958,192"><area href="class_d_l___key_impl.html" alt="DL_KeyImpl< PKCS8PrivateKey, DL_GroupParameters_EC< EC > >" shape="rect" coords="996,224,1982,248"><area href="class_d_l___key_impl.html" alt="DL_KeyImpl< PKCS8PrivateKey, GP >" shape="rect" coords="996,280,1982,304"><area href="class_invertible_r_s_a_function.html" alt="InvertibleRSAFunction" shape="rect" coords="996,336,1982,360"><area href="class_d_l___key_impl.html" alt="DL_KeyImpl< X509PublicKey, DL_GroupParameters_EC< EC > >" shape="rect" coords="2988,224,3974,248"><area href="class_d_l___key_impl.html" alt="DL_KeyImpl< X509PublicKey, GP >" shape="rect" coords="2988,280,3974,304"><area href="class_r_s_a_function.html" alt="RSAFunction" shape="rect" coords="2988,336,3974,360"><area href="class_d_l___group_parameters___integer_based_impl.html" alt="DL_GroupParameters_IntegerBasedImpl< DL_GroupPrecomputation_LUC, DL_BasePrecomputation_LUC >" shape="rect" coords="3984,224,4970,248"><area href="class_d_l___group_parameters___integer_based_impl.html" alt="DL_GroupParameters_IntegerBasedImpl< GROUP_PRECOMP, BASE_PRECOMP >" shape="rect" coords="4980,224,5966,248"><area href="class_d_l___group_parameters___integer_based_impl.html" alt="DL_GroupParameters_IntegerBasedImpl< ModExpPrecomputation >" shape="rect" coords="5976,224,6962,248"></map><a href="class_a_s_n1_object-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>interface for encoding and decoding ASN1 objects <p><p>Definition at line <a class="el" href="cryptlib_8h-source.html#l01572">1572</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="_a_s_n1_objecta1" doxytag="ASN1Object::BERDecode"></a>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_a_s_n1_object.html#_a_s_n1_objecta1">BERDecode</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;bt)=0</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">decode this object from a <a class="el" href="class_buffered_transformation.html">BufferedTransformation</a>, using BER (Basic Encoding Rules) <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="_a_s_n1_objecta2" doxytag="ASN1Object::DEREncode"></a>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_a_s_n1_object.html#_a_s_n1_objecta2">DEREncode</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;bt) const=0</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">encode this object into a <a class="el" href="class_buffered_transformation.html">BufferedTransformation</a>, using DER (Distinguished Encoding Rules) <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_a_s_n1_object.html#_x509_public_keya10">BEREncode</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;bt) const</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">encode this object into a <a class="el" href="class_buffered_transformation.html">BufferedTransformation</a>, using BER </em> <a href="#_x509_public_keya10"></a><em><br><br></td></tr></table><hr><h2>Member Function Documentation</h2><a name="_x509_public_keya10" doxytag="ASN1Object::BEREncode"></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 ASN1Object::BEREncode </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>bt</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const<code> [inline, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>encode this object into a <a class="el" href="class_buffered_transformation.html">BufferedTransformation</a>, using BER <p>this may be useful if <a class="el" href="class_a_s_n1_object.html#_a_s_n1_objecta2">DEREncode()</a> would be too inefficient <p>Definition at line <a class="el" href="cryptlib_8h-source.html#l01582">1582</a> of file <a class="el" href="cryptlib_8h-source.html">cryptlib.h</a>.<p>Referenced by <a class="el" href="simple_8h-source.html#l00047">ASN1CryptoMaterial::Save()</a>.    </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: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 + -