Debian Codegraph @

templates/man3/PKCS7_verify.3ssl.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:35+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 # #-#-#-#-# archlinux: PKCS7_verify.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: PKCS7_verify.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: PKCS7_verify.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: PKCS7_verify.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
29 #. ========================================================================
30 #. type: IX
31 #: archlinux debian-trixie debian-unstable
32 #, no-wrap
33 msgid "Title"
34 msgstr ""
35
36 #
37 #. Required to disable full justification in groff 1.23.0.
38 #. ========================================================================
39 #. type: IX
40 #: archlinux
41 #, no-wrap
42 msgid "PKCS7_VERIFY 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "PKCS7_VERIFY"
49 msgstr ""
50
51 #. type: TH
52 #: archlinux debian-trixie debian-unstable
53 #, no-wrap
54 msgid "2026-04-07"
55 msgstr ""
56
57 #. type: TH
58 #: archlinux debian-unstable
59 #, no-wrap
60 msgid "3.6.2"
61 msgstr ""
62
63 #. type: TH
64 #: archlinux debian-trixie debian-unstable
65 #, no-wrap
66 msgid "OpenSSL"
67 msgstr ""
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable
71 #, no-wrap
72 msgid "NAME"
73 msgstr ""
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable
77 msgid "PKCS7_verify, PKCS7_get0_signers - verify a PKCS#7 signedData structure"
78 msgstr ""
79
80 #. type: IX
81 #: archlinux debian-trixie debian-unstable
82 #, no-wrap
83 msgid "SYNOPSIS"
84 msgstr ""
85
86 #. type: IX
87 #: archlinux debian-trixie debian-unstable
88 #, no-wrap
89 msgid "Header"
90 msgstr ""
91
92 #. type: Plain text
93 #: archlinux debian-trixie debian-unstable
94 #, no-wrap
95 msgid ""
96 "\\& #include E<lt>openssl/pkcs7.hE<gt>\n"
97 "\\&\n"
98 "\\& int PKCS7_verify(PKCS7 *p7, STACK_OF(X509) *certs, X509_STORE *store,\n"
99 "\\& BIO *indata, BIO *out, int flags);\n"
100 "\\&\n"
101 "\\& STACK_OF(X509) *PKCS7_get0_signers(PKCS7 *p7, STACK_OF(X509) *certs, int flags);\n"
102 msgstr ""
103
104 #. type: IX
105 #: archlinux debian-trixie debian-unstable
106 #, no-wrap
107 msgid "DESCRIPTION"
108 msgstr ""
109
110 #. type: Plain text
111 #: archlinux
112 msgid ""
113 "\\&B<PKCS7_verify()> is very similar to B<CMS_verify>\\|(3). It verifies a "
114 "PKCS#7 signedData structure given in I<p7>. The optional I<certs> parameter "
115 "refers to a set of certificates in which to search for signer\\*(Aqs "
116 "certificates. It is also used as a source of untrusted intermediate CA "
117 "certificates for chain building. \\&I<p7> may contain extra untrusted CA "
118 "certificates that may be used for chain building as well as CRLs that may be "
119 "used for certificate validation. \\&I<store> may be NULL or point to the "
120 "trusted certificate store to use for chain verification. \\&I<indata> "
121 "refers to the signed data if the content is detached from I<p7>. Otherwise "
122 "I<indata> should be NULL, and then the signed data must be in I<p7>. The "
123 "content is written to the BIO I<out> unless it is NULL. \\&I<flags> is an "
124 "optional set of flags, which can be used to modify the operation."
125 msgstr ""
126
127 #. type: Plain text
128 #: archlinux
129 msgid ""
130 "\\&B<PKCS7_get0_signers()> retrieves the signer\\*(Aqs certificates from "
131 "I<p7>, it does \\&B<not> check their validity or whether any signatures are "
132 "valid. The I<certs> and I<flags> parameters have the same meanings as in "
133 "B<PKCS7_verify()>."
134 msgstr ""
135
136 #. type: IX
137 #: archlinux debian-trixie debian-unstable
138 #, no-wrap
139 msgid "VERIFY PROCESS"
140 msgstr ""
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable
144 msgid "Normally the verify process proceeds as follows."
145 msgstr ""
146
147 #. type: Plain text
148 #: archlinux debian-trixie debian-unstable
149 msgid ""
150 "Initially some sanity checks are performed on I<p7>. The type of I<p7> must "
151 "be SignedData. There must be at least one signature on the data and if the "
152 "content is detached I<indata> cannot be NULL. If the content is not "
153 "detached and I<indata> is not NULL then the structure has both embedded and "
154 "external content. To treat this as an error, use the flag "
155 "\\&B<PKCS7_NO_DUAL_CONTENT>. The default behavior allows this, for "
156 "compatibility with older versions of OpenSSL."
157 msgstr ""
158
159 #. type: Plain text
160 #: archlinux
161 msgid ""
162 "An attempt is made to locate all the signer\\*(Aqs certificates, first "
163 "looking in the I<certs> parameter (if it is not NULL). Then they are looked "
164 "up in any certificates contained in the I<p7> structure unless "
165 "B<PKCS7_NOINTERN> is set. If any signer\\*(Aqs certificates cannot be "
166 "located the operation fails."
167 msgstr ""
168
169 #. type: Plain text
170 #: archlinux
171 msgid ""
172 "Each signer\\*(Aqs certificate is chain verified using the B<smimesign> "
173 "purpose and using the trusted certificate store I<store> if supplied. Any "
174 "internal certificates in the message, which may have been added using "
175 "\\&B<PKCS7_add_certificate>\\|(3), are used as untrusted CAs unless "
176 "B<PKCS7_NOCHAIN> is set. If CRL checking is enabled in I<store> and "
177 "B<PKCS7_NOCRL> is not set, any internal CRLs, which may have been added "
178 "using B<PKCS7_add_crl>\\|(3), are used in addition to attempting to look "
179 "them up in I<store>. If I<store> is not NULL and any chain verify fails an "
180 "error code is returned."
181 msgstr ""
182
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable
185 msgid ""
186 "Finally the signed content is read (and written to I<out> unless it is "
187 "NULL) and the signature is checked."
188 msgstr ""
189
190 #. type: Plain text
191 #: archlinux debian-trixie debian-unstable
192 msgid "If all signatures verify correctly then the function is successful."
193 msgstr ""
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable
197 msgid ""
198 "Any of the following flags (ored together) can be passed in the I<flags> "
199 "parameter to change the default verify behaviour. Only the flag "
200 "B<PKCS7_NOINTERN> is meaningful to B<PKCS7_get0_signers()>."
201 msgstr ""
202
203 #. type: Plain text
204 #: archlinux
205 msgid ""
206 "If B<PKCS7_NOINTERN> is set the certificates in the message itself are not "
207 "searched when locating the signer\\*(Aqs certificates. This means that all "
208 "the signer\\*(Aqs certificates must be in the I<certs> parameter."
209 msgstr ""
210
211 #. type: Plain text
212 #: archlinux debian-trixie debian-unstable
213 msgid ""
214 "If B<PKCS7_NOCRL> is set and CRL checking is enabled in I<store> then any "
215 "CRLs in the message itself are ignored."
216 msgstr ""
217
218 #. type: Plain text
219 #: archlinux debian-trixie debian-unstable
220 msgid ""
221 "If the B<PKCS7_TEXT> flag is set MIME headers for type CW<\\*(C`text/"
222 "plain\\*(C'> are deleted from the content. If the content is not of type "
223 "CW<\\*(C`text/plain\\*(C'> then an error is returned."
224 msgstr ""
225
226 #. type: Plain text
227 #: archlinux
228 msgid ""
229 "If B<PKCS7_NOVERIFY> is set the signer\\*(Aqs certificates are not chain "
230 "verified."
231 msgstr ""
232
233 #. type: Plain text
234 #: archlinux
235 msgid ""
236 "If B<PKCS7_NOCHAIN> is set then the certificates contained in the message "
237 "are not used as untrusted CAs. This means that the whole verify chain (apart "
238 "from the signer\\*(Aqs certificates) must be contained in the trusted store."
239 msgstr ""
240
241 #. type: Plain text
242 #: archlinux debian-trixie debian-unstable
243 msgid ""
244 "If B<PKCS7_NOSIGS> is set then the signatures on the data are not checked."
245 msgstr ""
246
247 #. type: IX
248 #: archlinux debian-trixie debian-unstable
249 #, no-wrap
250 msgid "NOTES"
251 msgstr ""
252
253 #. type: Plain text
254 #: archlinux
255 msgid ""
256 "One application of B<PKCS7_NOINTERN> is to only accept messages signed by a "
257 "small number of certificates. The acceptable certificates would be passed in "
258 "the I<certs> parameter. In this case if the signer\\*(Aqs certificate is not "
259 "one of the certificates supplied in I<certs> then the verify will fail "
260 "because the signer cannot be found."
261 msgstr ""
262
263 #. type: Plain text
264 #: archlinux debian-trixie debian-unstable
265 msgid ""
266 "Care should be taken when modifying the default verify behaviour, for "
267 "example setting CW<\\*(C`PKCS7_NOVERIFY|PKCS7_NOSIGS\\*(C'> will totally "
268 "disable all verification and any signed message will be considered valid. "
269 "This combination is however useful if one merely wishes to write the content "
270 "to I<out> and its validity is not considered important."
271 msgstr ""
272
273 #. type: Plain text
274 #: archlinux debian-trixie debian-unstable
275 msgid ""
276 "Chain verification should arguably be performed using the signing time "
277 "rather than the current time. However, since the signing time is supplied by "
278 "the signer it cannot be trusted without additional evidence (such as a "
279 "trusted timestamp)."
280 msgstr ""
281
282 #. type: IX
283 #: archlinux debian-trixie debian-unstable
284 #, no-wrap
285 msgid "RETURN VALUES"
286 msgstr ""
287
288 #. type: Plain text
289 #: archlinux debian-trixie debian-unstable
290 msgid ""
291 "\\&B<PKCS7_verify()> returns 1 for a successful verification and 0 if an "
292 "error occurs."
293 msgstr ""
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable
297 msgid ""
298 "\\&B<PKCS7_get0_signers()> returns all signers or NULL if an error occurred."
299 msgstr ""
300
301 #. type: Plain text
302 #: archlinux debian-trixie debian-unstable
303 msgid "The error can be obtained from B<ERR_get_error>\\|(3)."
304 msgstr ""
305
306 #. type: IX
307 #: archlinux debian-trixie debian-unstable
308 #, no-wrap
309 msgid "BUGS"
310 msgstr ""
311
312 #. type: Plain text
313 #: archlinux
314 msgid ""
315 "The trusted certificate store is not searched for the signer\\*(Aqs "
316 "certificates. This is primarily due to the inadequacies of the current "
317 "B<X509_STORE> functionality."
318 msgstr ""
319
320 #. type: Plain text
321 #: archlinux debian-trixie debian-unstable
322 msgid ""
323 "The lack of single pass processing means that the signed content must all be "
324 "held in memory if it is not detached."
325 msgstr ""
326
327 #. type: IX
328 #: archlinux debian-trixie debian-unstable
329 #, no-wrap
330 msgid "SEE ALSO"
331 msgstr ""
332
333 #. type: Plain text
334 #: archlinux debian-trixie debian-unstable
335 msgid ""
336 "\\&B<CMS_verify>\\|(3), B<PKCS7_add_certificate>\\|(3), B<PKCS7_add_crl>\\|"
337 "(3), \\&B<ERR_get_error>\\|(3), B<PKCS7_sign>\\|(3)"
338 msgstr ""
339
340 #. type: IX
341 #: archlinux debian-trixie debian-unstable
342 #, no-wrap
343 msgid "COPYRIGHT"
344 msgstr ""
345
346 #. type: Plain text
347 #: archlinux debian-trixie debian-unstable
348 msgid "Copyright 2002-2024 The OpenSSL Project Authors. All Rights Reserved."
349 msgstr ""
350
351 #. type: Plain text
352 #: archlinux debian-trixie debian-unstable
353 msgid ""
354 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
355 "this file except in compliance with the License. You can obtain a copy in "
356 "the file LICENSE in the source distribution or at E<lt>https://"
357 "www.openssl.org/source/license.htmlE<gt>."
358 msgstr ""
359
360 #. ========================================================================
361 #. type: IX
362 #: debian-trixie debian-unstable
363 #, no-wrap
364 msgid "PKCS7_VERIFY 3SSL"
365 msgstr ""
366
367 #. type: TH
368 #: debian-trixie
369 #, no-wrap
370 msgid "3.5.6"
371 msgstr ""
372
373 #. type: Plain text
374 #: debian-trixie debian-unstable
375 msgid ""
376 "\\&B<PKCS7_verify()> is very similar to B<CMS_verify>\\|(3). It verifies a "
377 "PKCS#7 signedData structure given in I<p7>. The optional I<certs> parameter "
378 "refers to a set of certificates in which to search for signer's "
379 "certificates. It is also used as a source of untrusted intermediate CA "
380 "certificates for chain building. \\&I<p7> may contain extra untrusted CA "
381 "certificates that may be used for chain building as well as CRLs that may be "
382 "used for certificate validation. \\&I<store> may be NULL or point to the "
383 "trusted certificate store to use for chain verification. \\&I<indata> "
384 "refers to the signed data if the content is detached from I<p7>. Otherwise "
385 "I<indata> should be NULL, and then the signed data must be in I<p7>. The "
386 "content is written to the BIO I<out> unless it is NULL. \\&I<flags> is an "
387 "optional set of flags, which can be used to modify the operation."
388 msgstr ""
389
390 #. type: Plain text
391 #: debian-trixie debian-unstable
392 msgid ""
393 "\\&B<PKCS7_get0_signers()> retrieves the signer's certificates from I<p7>, "
394 "it does \\&B<not> check their validity or whether any signatures are valid. "
395 "The I<certs> and I<flags> parameters have the same meanings as in "
396 "B<PKCS7_verify()>."
397 msgstr ""
398
399 #. type: Plain text
400 #: debian-trixie debian-unstable
401 msgid ""
402 "An attempt is made to locate all the signer's certificates, first looking in "
403 "the I<certs> parameter (if it is not NULL). Then they are looked up in any "
404 "certificates contained in the I<p7> structure unless B<PKCS7_NOINTERN> is "
405 "set. If any signer's certificates cannot be located the operation fails."
406 msgstr ""
407
408 #. type: Plain text
409 #: debian-trixie debian-unstable
410 msgid ""
411 "Each signer's certificate is chain verified using the B<smimesign> purpose "
412 "and using the trusted certificate store I<store> if supplied. Any internal "
413 "certificates in the message, which may have been added using "
414 "\\&B<PKCS7_add_certificate>\\|(3), are used as untrusted CAs unless "
415 "B<PKCS7_NOCHAIN> is set. If CRL checking is enabled in I<store> and "
416 "B<PKCS7_NOCRL> is not set, any internal CRLs, which may have been added "
417 "using B<PKCS7_add_crl>\\|(3), are used in addition to attempting to look "
418 "them up in I<store>. If I<store> is not NULL and any chain verify fails an "
419 "error code is returned."
420 msgstr ""
421
422 #. type: Plain text
423 #: debian-trixie debian-unstable
424 msgid ""
425 "If B<PKCS7_NOINTERN> is set the certificates in the message itself are not "
426 "searched when locating the signer's certificates. This means that all the "
427 "signer's certificates must be in the I<certs> parameter."
428 msgstr ""
429
430 #. type: Plain text
431 #: debian-trixie debian-unstable
432 msgid ""
433 "If B<PKCS7_NOVERIFY> is set the signer's certificates are not chain verified."
434 msgstr ""
435
436 #. type: Plain text
437 #: debian-trixie debian-unstable
438 msgid ""
439 "If B<PKCS7_NOCHAIN> is set then the certificates contained in the message "
440 "are not used as untrusted CAs. This means that the whole verify chain (apart "
441 "from the signer's certificates) must be contained in the trusted store."
442 msgstr ""
443
444 #. type: Plain text
445 #: debian-trixie debian-unstable
446 msgid ""
447 "One application of B<PKCS7_NOINTERN> is to only accept messages signed by a "
448 "small number of certificates. The acceptable certificates would be passed in "
449 "the I<certs> parameter. In this case if the signer's certificate is not one "
450 "of the certificates supplied in I<certs> then the verify will fail because "
451 "the signer cannot be found."
452 msgstr ""
453
454 #. type: Plain text
455 #: debian-trixie debian-unstable
456 msgid ""
457 "The trusted certificate store is not searched for the signer's "
458 "certificates. This is primarily due to the inadequacies of the current "
459 "B<X509_STORE> functionality."
460 msgstr ""