blob: bf14ad728d1c868b7a66e68a01c0004f28246916 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
|
<!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"/>
<title>rpm: pgpPktSigV4_s Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">rpm <span id="projectnumber">4.9.1</span></div>
</td>
</tr>
</tbody>
</table>
</div>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle">
<div class="title">pgpPktSigV4_s Struct Reference<div class="ingroups"><a class="el" href="group__rpmpgp.html">OpenPGP API.</a></div></div> </div>
</div>
<div class="contents">
<!-- doxytag: class="pgpPktSigV4_s" -->
<p>5.2.3.
<a href="structpgpPktSigV4__s.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><td colspan="2"><h2><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structpgpPktSigV4__s.html#a36c52e02ee235ac6a769ec64b79d7220">version</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structpgpPktSigV4__s.html#af2c88aee7ee5c919983303eea9f39ece">sigtype</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structpgpPktSigV4__s.html#af815fec07d770c7966faadcbe5765973">pubkey_algo</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structpgpPktSigV4__s.html#a34b5c6c7965c8422cd5e77c7f8adb32f">hash_algo</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structpgpPktSigV4__s.html#a48838e474c48d4dcedec4d47bde2b0fc">hashlen</a> [2]</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>5.2.3. </p>
<p>Version 4 Signature Packet Format</p>
<p>The body of a version 4 Signature Packet contains:</p>
<ul>
<li>One-octet version number (4).</li>
<li>One-octet signature type.</li>
<li>One-octet public key algorithm.</li>
<li>One-octet hash algorithm.</li>
<li>Two-octet scalar octet count for following hashed subpacket data. Note that this is the length in octets of all of the hashed subpackets; a pointer incremented by this number will skip over the hashed subpackets.</li>
<li>Hashed subpacket data. (zero or more subpackets)</li>
<li>Two-octet scalar octet count for following unhashed subpacket data. Note that this is the length in octets of all of the unhashed subpackets; a pointer incremented by this number will skip over the unhashed subpackets.</li>
<li>Unhashed subpacket data. (zero or more subpackets)</li>
<li>Two-octet field holding left 16 bits of signed hash value.</li>
<li>One or more multi-precision integers comprising the signature. </li>
</ul>
<p>Definition at line <a class="el" href="rpmpgp_8h_source.html#l00322">322</a> of file <a class="el" href="rpmpgp_8h_source.html">rpmpgp.h</a>.</p>
</div><hr/><h2>Field Documentation</h2>
<a class="anchor" id="a34b5c6c7965c8422cd5e77c7f8adb32f"></a><!-- doxytag: member="pgpPktSigV4_s::hash_algo" ref="a34b5c6c7965c8422cd5e77c7f8adb32f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t <a class="el" href="structpgpPktSigV4__s.html#a34b5c6c7965c8422cd5e77c7f8adb32f">pgpPktSigV4_s::hash_algo</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>hash algorithm. </p>
<p>Definition at line <a class="el" href="rpmpgp_8h_source.html#l00326">326</a> of file <a class="el" href="rpmpgp_8h_source.html">rpmpgp.h</a>.</p>
</div>
</div>
<a class="anchor" id="a48838e474c48d4dcedec4d47bde2b0fc"></a><!-- doxytag: member="pgpPktSigV4_s::hashlen" ref="a48838e474c48d4dcedec4d47bde2b0fc" args="[2]" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t <a class="el" href="structpgpPktSigV4__s.html#a48838e474c48d4dcedec4d47bde2b0fc">pgpPktSigV4_s::hashlen</a>[2]</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>length of following hashed material. </p>
<p>Definition at line <a class="el" href="rpmpgp_8h_source.html#l00327">327</a> of file <a class="el" href="rpmpgp_8h_source.html">rpmpgp.h</a>.</p>
</div>
</div>
<a class="anchor" id="af815fec07d770c7966faadcbe5765973"></a><!-- doxytag: member="pgpPktSigV4_s::pubkey_algo" ref="af815fec07d770c7966faadcbe5765973" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t <a class="el" href="structpgpPktSigV4__s.html#af815fec07d770c7966faadcbe5765973">pgpPktSigV4_s::pubkey_algo</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>public key algorithm. </p>
<p>Definition at line <a class="el" href="rpmpgp_8h_source.html#l00325">325</a> of file <a class="el" href="rpmpgp_8h_source.html">rpmpgp.h</a>.</p>
</div>
</div>
<a class="anchor" id="af2c88aee7ee5c919983303eea9f39ece"></a><!-- doxytag: member="pgpPktSigV4_s::sigtype" ref="af2c88aee7ee5c919983303eea9f39ece" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t <a class="el" href="structpgpPktSigV4__s.html#af2c88aee7ee5c919983303eea9f39ece">pgpPktSigV4_s::sigtype</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>signature type. </p>
<p>Definition at line <a class="el" href="rpmpgp_8h_source.html#l00324">324</a> of file <a class="el" href="rpmpgp_8h_source.html">rpmpgp.h</a>.</p>
</div>
</div>
<a class="anchor" id="a36c52e02ee235ac6a769ec64b79d7220"></a><!-- doxytag: member="pgpPktSigV4_s::version" ref="a36c52e02ee235ac6a769ec64b79d7220" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t <a class="el" href="structpgpPktSigV4__s.html#a36c52e02ee235ac6a769ec64b79d7220">pgpPktSigV4_s::version</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>version number (4). </p>
<p>Definition at line <a class="el" href="rpmpgp_8h_source.html#l00323">323</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>
<hr class="footer"/><address class="footer"><small>Generated on Fri Jul 15 2011 for rpm by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>
|