Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-updates > by-pkgid > 55b17b7f9e5c0528d63bb7d72dc76e51 > files > 331

rpm-apidocs-4.13.1-3.3.mga6.noarch.rpm

<!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: pgpPktKeyV4_s Struct 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.13.1</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">pgpPktKeyV4_s Struct Reference<div class="ingroups"><a class="el" href="group__rpmpgp.html">OpenPGP API.</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>The version 4 format is similar to the version 3 format except for the absence of a validity period.  
 <a href="structpgpPktKeyV4__s.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="rpmpgp_8h_source.html">rpmpgp.h</a>&gt;</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:ae2474cfd7306fc9741f20a2535ab8cde"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpgpPktKeyV4__s.html#ae2474cfd7306fc9741f20a2535ab8cde">version</a></td></tr>
<tr class="separator:ae2474cfd7306fc9741f20a2535ab8cde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb0c5a03e0070860f64af4b322d31c8d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="rpmpgp_8h.html#a3f26618361eeb911e1c83947661a4b93">pgpTime_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpgpPktKeyV4__s.html#adb0c5a03e0070860f64af4b322d31c8d">time</a></td></tr>
<tr class="separator:adb0c5a03e0070860f64af4b322d31c8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab764c519e8a4c1e89df685930334e3ce"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpgpPktKeyV4__s.html#ab764c519e8a4c1e89df685930334e3ce">pubkey_algo</a></td></tr>
<tr class="separator:ab764c519e8a4c1e89df685930334e3ce"><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>The version 4 format is similar to the version 3 format except for the absence of a validity period. </p>
<p>This has been moved to the signature packet. In addition, fingerprints of version 4 keys are calculated differently from version 3 keys, as described in section "Enhanced Key Formats."</p>
<p>A version 4 packet contains:</p><ul>
<li>A one-octet version number (4).</li>
<li>A four-octet number denoting the time that the key was created.</li>
<li>A one-octet number denoting the public key algorithm of this key</li>
<li><p class="startli">A series of multi-precision integers comprising the key material. This algorithm-specific portion is:</p>
<p class="startli">Algorithm Specific Fields for RSA public keys:</p><ul>
<li>multiprecision integer (MPI) of RSA public modulus n;</li>
<li>MPI of RSA public encryption exponent e.</li>
</ul>
<p class="startli">Algorithm Specific Fields for DSA public keys:</p><ul>
<li>MPI of DSA prime p;</li>
<li>MPI of DSA group order q (q is a prime divisor of p-1);</li>
<li>MPI of DSA group generator g;</li>
<li>MPI of DSA public key value y (= g**x where x is secret).</li>
</ul>
<p class="startli">Algorithm Specific Fields for Elgamal public keys:</p><ul>
<li>MPI of Elgamal prime p;</li>
<li>MPI of Elgamal group generator g;</li>
<li>MPI of Elgamal public key value y (= g**x where x is secret). </li>
</ul>
</li>
</ul>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t pgpPktKeyV4_s::pubkey_algo</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>public key algorithm. </p>

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

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="rpmpgp_8h.html#a3f26618361eeb911e1c83947661a4b93">pgpTime_t</a> pgpPktKeyV4_s::time</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>time that the key was created. </p>

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

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t pgpPktKeyV4_s::version</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>version number (4). </p>

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

</div>
</div>
<hr/>The documentation for this struct 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.13
</small></address>
</body>
</html>