Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rpm: pgpPktSig_u Union Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">rpm
   &#160;<span id="projectnumber">4.14.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">pgpPktSig_u Union Reference<div class="ingroups"><a class="el" href="group__rpmpgp.html">OpenPGP API.</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>5.2.  
 <a href="unionpgpPktSig__u.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="rpmpgp_8h_source.html">rpmpgp.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for pgpPktSig_u:</div>
<div class="dyncontent">
<div class="center"><img src="unionpgpPktSig__u__coll__graph.png" border="0" usemap="#pgpPktSig__u_coll__map" alt="Collaboration graph"/></div>
<map name="pgpPktSig__u_coll__map" id="pgpPktSig__u_coll__map">
<area shape="rect" id="node2" href="structpgpPktSigV3__s.html" title="5.2.2. " alt="" coords="5,5,124,32"/>
<area shape="rect" id="node3" href="structpgpPktSigV4__s.html" title="5.2.3. " alt="" coords="148,5,267,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:af78d1e0b0983cdd4795a2dd06747a1a6"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structpgpPktSigV3__s.html">pgpPktSigV3_s</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unionpgpPktSig__u.html#af78d1e0b0983cdd4795a2dd06747a1a6">v3</a></td></tr>
<tr class="separator:af78d1e0b0983cdd4795a2dd06747a1a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86370ec8ce90b06a3d439d1605c4e662"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structpgpPktSigV4__s.html">pgpPktSigV4_s</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unionpgpPktSig__u.html#a86370ec8ce90b06a3d439d1605c4e662">v4</a></td></tr>
<tr class="separator:a86370ec8ce90b06a3d439d1605c4e662"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>5.2. </p>
<p>Signature Packet (Tag 2)</p>
<p>A signature packet describes a binding between some public key and some data. The most common signatures are a signature of a file or a block of text, and a signature that is a certification of a user ID.</p>
<p>Two versions of signature packets are defined. Version 3 provides basic signature information, while version 4 provides an expandable format with subpackets that can specify more information about the signature. PGP 2.6.x only accepts version 3 signatures.</p>
<p>Implementations MUST accept V3 signatures. Implementations SHOULD generate V4 signatures. Implementations MAY generate a V3 signature that can be verified by PGP 2.6.x.</p>
<p>Note that if an implementation is creating an encrypted and signed message that is encrypted to a V3 key, it is reasonable to create a V3 signature. </p>

<p class="definition">Definition at line <a class="el" href="rpmpgp_8h_source.html#l00459">459</a> of file <a class="el" href="rpmpgp_8h_source.html">rpmpgp.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="af78d1e0b0983cdd4795a2dd06747a1a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af78d1e0b0983cdd4795a2dd06747a1a6">&#9670;&nbsp;</a></span>v3</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structpgpPktSigV3__s.html">pgpPktSigV3_s</a> pgpPktSig_u::v3</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="rpmpgp_8h_source.html#l00460">460</a> of file <a class="el" href="rpmpgp_8h_source.html">rpmpgp.h</a>.</p>

</div>
</div>
<a id="a86370ec8ce90b06a3d439d1605c4e662"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a86370ec8ce90b06a3d439d1605c4e662">&#9670;&nbsp;</a></span>v4</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structpgpPktSigV4__s.html">pgpPktSigV4_s</a> pgpPktSig_u::v4</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="rpmpgp_8h_source.html#l00461">461</a> of file <a class="el" href="rpmpgp_8h_source.html">rpmpgp.h</a>.</p>

</div>
</div>
<hr/>The documentation for this union was generated from the following file:<ul>
<li><a class="el" href="rpmpgp_8h_source.html">rpmpgp.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>