<!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.13"/> <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  <span id="projectnumber">4.13.0.2</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.13 --> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> $(function() { initMenu('',false,false,'search.php','Search'); }); </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 <<a class="el" href="rpmpgp_8h_source.html">rpmpgp.h</a>></code></p> <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> </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"> </td></tr> <tr class="memitem:a86370ec8ce90b06a3d439d1605c4e662"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structpgpPktSigV4__s.html">pgpPktSigV4_s</a> </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"> </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#l00457">457</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">◆ </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#l00458">458</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">◆ </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#l00459">459</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  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> </body> </html>