blob: 25fb42ef01908d5af1647f092101ee68cef85687 (
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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
|
<!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: pgpPktOnepass_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">pgpPktOnepass_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="pgpPktOnepass_s" -->
<p>5.4.
<a href="structpgpPktOnepass__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="structpgpPktOnepass__s.html#a7b147df58803e1cce74876a1b20086c1">version</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structpgpPktOnepass__s.html#a0910d2454ddd5b6224413e02d671acdd">sigtype</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structpgpPktOnepass__s.html#ac005bbb67a077515b4f239a6f1730430">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="structpgpPktOnepass__s.html#a504c5536c91f6731b0dac19dc09a72f9">pubkey_algo</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="rpmpgp_8h.html#af019dbf23a90a2232ca5bd955ac79e03">pgpKeyID_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structpgpPktOnepass__s.html#a68be25a3db27512f20623670d8335d43">signid</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structpgpPktOnepass__s.html#acaba90b9edede020244e7488df4ff6dd">nested</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>5.4. </p>
<p>One-Pass Signature Packets (Tag 4)</p>
<p>The One-Pass Signature packet precedes the signed data and contains enough information to allow the receiver to begin calculating any hashes needed to verify the signature. It allows the Signature Packet to be placed at the end of the message, so that the signer can compute the entire signed message in one pass.</p>
<p>A One-Pass Signature does not interoperate with PGP 2.6.x or earlier.</p>
<p>The body of this packet consists of:</p>
<ul>
<li>A one-octet version number. The current version is 3.</li>
<li>A one-octet signature type. Signature types are described in section 5.2.1.</li>
<li>A one-octet number describing the hash algorithm used.</li>
<li>A one-octet number describing the public key algorithm used.</li>
<li>An eight-octet number holding the key ID of the signing key.</li>
<li>A one-octet number holding a flag showing whether the signature is nested. A zero value indicates that the next packet is another One-Pass Signature packet that describes another signature to be applied to the same message data.</li>
</ul>
<p>Note that if a message contains more than one one-pass signature, then the signature packets bracket the message; that is, the first signature packet after the message corresponds to the last one-pass packet and the final signature packet corresponds to the first one- pass packet. </p>
<p>Definition at line <a class="el" href="rpmpgp_8h_source.html#l00525">525</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="ac005bbb67a077515b4f239a6f1730430"></a><!-- doxytag: member="pgpPktOnepass_s::hash_algo" ref="ac005bbb67a077515b4f239a6f1730430" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t <a class="el" href="structpgpPktOnepass__s.html#ac005bbb67a077515b4f239a6f1730430">pgpPktOnepass_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#l00528">528</a> of file <a class="el" href="rpmpgp_8h_source.html">rpmpgp.h</a>.</p>
</div>
</div>
<a class="anchor" id="acaba90b9edede020244e7488df4ff6dd"></a><!-- doxytag: member="pgpPktOnepass_s::nested" ref="acaba90b9edede020244e7488df4ff6dd" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t <a class="el" href="structpgpPktOnepass__s.html#acaba90b9edede020244e7488df4ff6dd">pgpPktOnepass_s::nested</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="rpmpgp_8h_source.html#l00531">531</a> of file <a class="el" href="rpmpgp_8h_source.html">rpmpgp.h</a>.</p>
</div>
</div>
<a class="anchor" id="a504c5536c91f6731b0dac19dc09a72f9"></a><!-- doxytag: member="pgpPktOnepass_s::pubkey_algo" ref="a504c5536c91f6731b0dac19dc09a72f9" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t <a class="el" href="structpgpPktOnepass__s.html#a504c5536c91f6731b0dac19dc09a72f9">pgpPktOnepass_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#l00529">529</a> of file <a class="el" href="rpmpgp_8h_source.html">rpmpgp.h</a>.</p>
</div>
</div>
<a class="anchor" id="a68be25a3db27512f20623670d8335d43"></a><!-- doxytag: member="pgpPktOnepass_s::signid" ref="a68be25a3db27512f20623670d8335d43" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="rpmpgp_8h.html#af019dbf23a90a2232ca5bd955ac79e03">pgpKeyID_t</a> <a class="el" href="structpgpPktOnepass__s.html#a68be25a3db27512f20623670d8335d43">pgpPktOnepass_s::signid</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>key ID of signer. </p>
<p>Definition at line <a class="el" href="rpmpgp_8h_source.html#l00530">530</a> of file <a class="el" href="rpmpgp_8h_source.html">rpmpgp.h</a>.</p>
</div>
</div>
<a class="anchor" id="a0910d2454ddd5b6224413e02d671acdd"></a><!-- doxytag: member="pgpPktOnepass_s::sigtype" ref="a0910d2454ddd5b6224413e02d671acdd" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t <a class="el" href="structpgpPktOnepass__s.html#a0910d2454ddd5b6224413e02d671acdd">pgpPktOnepass_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#l00527">527</a> of file <a class="el" href="rpmpgp_8h_source.html">rpmpgp.h</a>.</p>
</div>
</div>
<a class="anchor" id="a7b147df58803e1cce74876a1b20086c1"></a><!-- doxytag: member="pgpPktOnepass_s::version" ref="a7b147df58803e1cce74876a1b20086c1" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t <a class="el" href="structpgpPktOnepass__s.html#a7b147df58803e1cce74876a1b20086c1">pgpPktOnepass_s::version</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>version number (3). </p>
<p>Definition at line <a class="el" href="rpmpgp_8h_source.html#l00526">526</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>
|