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

📄 dsa_8h.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++: dsa.h File 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>dsa.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2><p>Definition in file <a class="el" href="dsa_8h-source.html">dsa.h</a>.<p><code>#include "<a class="el" href="gfpcrypt_8h-source.html">gfpcrypt.h</a>"</code><br><p><a href="dsa_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Enumerations</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dsa_8h.html#a4">DSASignatureFormat</a> { <b>DSA_P1363</b>, <b>DSA_DER</b>, <b>DSA_OPENPGP</b> }</td></tr><tr><td colspan=2><br><h2>Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dsa_8h.html#a3">DSAConvertSignatureFormat</a> (byte *buffer, unsigned int bufferSize, <a class="el" href="dsa_8h.html#a4">DSASignatureFormat</a> toFormat, const byte *signature, unsigned int signatureLen, <a class="el" href="dsa_8h.html#a4">DSASignatureFormat</a> fromFormat)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function converts between these formats, and returns length of signature in the target format. </em> <a href="#a3"></a><em><br><br></td></tr></table><hr><h2>Enumeration Type Documentation</h2><a name="a4" doxytag="dsa.h::DSASignatureFormat"></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"> enum <a class="el" href="dsa_8h.html#a4">DSASignatureFormat</a>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>The <a class="el" href="struct_d_s_a.html">DSA</a> signature format used by Crypto++ is as defined by IEEE P1363. Java uses the DER format, and OpenPGP uses the OpenPGP format. <p>Definition at line <a class="el" href="dsa_8h-source.html#l00013">13</a> of file <a class="el" href="dsa_8h-source.html">dsa.h</a>.    </td>  </tr></table><hr><h2>Function Documentation</h2><a name="a3" doxytag="dsa.h::DSAConvertSignatureFormat"></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"> unsigned int DSAConvertSignatureFormat </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">byte *&nbsp;</td>          <td class="mdname" nowrap> <em>buffer</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>unsigned int&nbsp;</td>          <td class="mdname" nowrap> <em>bufferSize</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap><a class="el" href="dsa_8h.html#a4">DSASignatureFormat</a>&nbsp;</td>          <td class="mdname" nowrap> <em>toFormat</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const byte *&nbsp;</td>          <td class="mdname" nowrap> <em>signature</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>unsigned int&nbsp;</td>          <td class="mdname" nowrap> <em>signatureLen</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap><a class="el" href="dsa_8h.html#a4">DSASignatureFormat</a>&nbsp;</td>          <td class="mdname" nowrap> <em>fromFormat</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This function converts between these formats, and returns length of signature in the target format. <p>If toFormat == DSA_P1363, bufferSize must equal publicKey.SignatureLength() <p>Definition at line <a class="el" href="dsa_8cpp-source.html#l00012">12</a> of file <a class="el" href="dsa_8cpp-source.html">dsa.cpp</a>.    </td>  </tr></table><hr size="1"><address style="align: right;"><small>Generated on Tue Jul 8 23:34:29 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 + -