Debian Codegraph @

templates/man3/X509_VERIFY_PARAM_set_flags.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:51+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: X509_VERIFY_PARAM_set_flags.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: X509_VERIFY_PARAM_set_flags.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: X509_VERIFY_PARAM_set_flags.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: X509_VERIFY_PARAM_set_flags.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 "X509_VERIFY_PARAM_SET_FLAGS 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "X509_VERIFY_PARAM_SET_FLAGS"
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 ""
78 "X509_VERIFY_PARAM_set_flags, X509_VERIFY_PARAM_clear_flags, "
79 "X509_VERIFY_PARAM_get_flags, X509_VERIFY_PARAM_set_purpose, "
80 "X509_VERIFY_PARAM_get_purpose, X509_VERIFY_PARAM_get_inh_flags, "
81 "X509_VERIFY_PARAM_set_inh_flags, X509_VERIFY_PARAM_set_trust, "
82 "X509_VERIFY_PARAM_set_depth, X509_VERIFY_PARAM_get_depth, "
83 "X509_VERIFY_PARAM_set_auth_level, X509_VERIFY_PARAM_get_auth_level, "
84 "X509_VERIFY_PARAM_set_time, X509_VERIFY_PARAM_get_time, "
85 "X509_VERIFY_PARAM_add0_policy, X509_VERIFY_PARAM_set1_policies, "
86 "X509_VERIFY_PARAM_get0_host, X509_VERIFY_PARAM_set1_host, "
87 "X509_VERIFY_PARAM_add1_host, X509_VERIFY_PARAM_set_hostflags, "
88 "X509_VERIFY_PARAM_get_hostflags, X509_VERIFY_PARAM_get0_peername, "
89 "X509_VERIFY_PARAM_get0_email, X509_VERIFY_PARAM_set1_email, "
90 "X509_VERIFY_PARAM_set1_ip, X509_VERIFY_PARAM_get1_ip_asc, "
91 "X509_VERIFY_PARAM_set1_ip_asc \\&- X509 verification parameters"
92 msgstr ""
93
94 #. type: IX
95 #: archlinux debian-trixie debian-unstable
96 #, no-wrap
97 msgid "SYNOPSIS"
98 msgstr ""
99
100 #. type: IX
101 #: archlinux debian-trixie debian-unstable
102 #, no-wrap
103 msgid "Header"
104 msgstr ""
105
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable
108 #, no-wrap
109 msgid ""
110 "\\& #include E<lt>openssl/x509_vfy.hE<gt>\n"
111 "\\&\n"
112 "\\& int X509_VERIFY_PARAM_set_flags(X509_VERIFY_PARAM *param,\n"
113 "\\& unsigned long flags);\n"
114 "\\& int X509_VERIFY_PARAM_clear_flags(X509_VERIFY_PARAM *param,\n"
115 "\\& unsigned long flags);\n"
116 "\\& unsigned long X509_VERIFY_PARAM_get_flags(const X509_VERIFY_PARAM *param);\n"
117 "\\&\n"
118 "\\& int X509_VERIFY_PARAM_set_inh_flags(X509_VERIFY_PARAM *param,\n"
119 "\\& uint32_t flags);\n"
120 "\\& uint32_t X509_VERIFY_PARAM_get_inh_flags(const X509_VERIFY_PARAM *param);\n"
121 "\\&\n"
122 "\\& int X509_VERIFY_PARAM_set_purpose(X509_VERIFY_PARAM *param, int purpose);\n"
123 "\\& int X509_VERIFY_PARAM_get_purpose(X509_VERIFY_PARAM *param);\n"
124 "\\& int X509_VERIFY_PARAM_set_trust(X509_VERIFY_PARAM *param, int trust);\n"
125 "\\&\n"
126 "\\& void X509_VERIFY_PARAM_set_time(X509_VERIFY_PARAM *param, time_t t);\n"
127 "\\& time_t X509_VERIFY_PARAM_get_time(const X509_VERIFY_PARAM *param);\n"
128 "\\&\n"
129 "\\& int X509_VERIFY_PARAM_add0_policy(X509_VERIFY_PARAM *param,\n"
130 "\\& ASN1_OBJECT *policy);\n"
131 "\\& int X509_VERIFY_PARAM_set1_policies(X509_VERIFY_PARAM *param,\n"
132 "\\& STACK_OF(ASN1_OBJECT) *policies);\n"
133 "\\&\n"
134 "\\& void X509_VERIFY_PARAM_set_depth(X509_VERIFY_PARAM *param, int depth);\n"
135 "\\& int X509_VERIFY_PARAM_get_depth(const X509_VERIFY_PARAM *param);\n"
136 "\\&\n"
137 "\\& void X509_VERIFY_PARAM_set_auth_level(X509_VERIFY_PARAM *param,\n"
138 "\\& int auth_level);\n"
139 "\\& int X509_VERIFY_PARAM_get_auth_level(const X509_VERIFY_PARAM *param);\n"
140 "\\&\n"
141 "\\& char *X509_VERIFY_PARAM_get0_host(X509_VERIFY_PARAM *param, int n);\n"
142 "\\& int X509_VERIFY_PARAM_set1_host(X509_VERIFY_PARAM *param,\n"
143 "\\& const char *name, size_t namelen);\n"
144 "\\& int X509_VERIFY_PARAM_add1_host(X509_VERIFY_PARAM *param,\n"
145 "\\& const char *name, size_t namelen);\n"
146 "\\& void X509_VERIFY_PARAM_set_hostflags(X509_VERIFY_PARAM *param,\n"
147 "\\& unsigned int flags);\n"
148 "\\& unsigned int X509_VERIFY_PARAM_get_hostflags(const X509_VERIFY_PARAM *param);\n"
149 "\\& char *X509_VERIFY_PARAM_get0_peername(const X509_VERIFY_PARAM *param);\n"
150 "\\& char *X509_VERIFY_PARAM_get0_email(X509_VERIFY_PARAM *param);\n"
151 "\\& int X509_VERIFY_PARAM_set1_email(X509_VERIFY_PARAM *param,\n"
152 "\\& const char *email, size_t emaillen);\n"
153 "\\& char *X509_VERIFY_PARAM_get1_ip_asc(X509_VERIFY_PARAM *param);\n"
154 "\\& int X509_VERIFY_PARAM_set1_ip(X509_VERIFY_PARAM *param,\n"
155 "\\& const unsigned char *ip, size_t iplen);\n"
156 "\\& int X509_VERIFY_PARAM_set1_ip_asc(X509_VERIFY_PARAM *param, const char *ipasc);\n"
157 msgstr ""
158
159 #. type: IX
160 #: archlinux debian-trixie debian-unstable
161 #, no-wrap
162 msgid "DESCRIPTION"
163 msgstr ""
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable
167 msgid ""
168 "These functions manipulate the B<X509_VERIFY_PARAM> structure associated "
169 "with a certificate verification operation."
170 msgstr ""
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable
174 msgid ""
175 "The B<X509_VERIFY_PARAM_set_flags()> function sets the flags in B<param> by "
176 "oring it with B<flags>. See \"VERIFICATION FLAGS\" for a complete "
177 "description of values the B<flags> parameter can take."
178 msgstr ""
179
180 #. type: Plain text
181 #: archlinux debian-trixie debian-unstable
182 msgid "\\&B<X509_VERIFY_PARAM_get_flags()> returns the flags in B<param>."
183 msgstr ""
184
185 #. type: Plain text
186 #: archlinux debian-trixie debian-unstable
187 msgid ""
188 "\\&B<X509_VERIFY_PARAM_get_inh_flags()> returns the inheritance flags in "
189 "B<param> which specifies how verification flags are copied from one "
190 "structure to another. B<X509_VERIFY_PARAM_set_inh_flags()> sets the "
191 "inheritance flags. See the B<INHERITANCE FLAGS> section for a description "
192 "of these bits."
193 msgstr ""
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable
197 msgid ""
198 "\\&B<X509_VERIFY_PARAM_clear_flags()> clears the flags B<flags> in B<param>."
199 msgstr ""
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable
203 msgid ""
204 "\\&B<X509_VERIFY_PARAM_set_purpose()> sets the verification purpose in "
205 "B<param> to B<purpose>. This determines the acceptable purpose of the "
206 "certificate chain, for example B<X509_PURPOSE_SSL_CLIENT>. The purpose "
207 "requirement is cleared if B<purpose> is X509_PURPOSE_DEFAULT_ANY."
208 msgstr ""
209
210 #. type: Plain text
211 #: archlinux debian-trixie debian-unstable
212 msgid "\\&B<X509_VERIFY_PARAM_get_purpose()> returns the purpose in B<param>."
213 msgstr ""
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable
217 msgid ""
218 "\\&B<X509_VERIFY_PARAM_set_trust()> sets the trust setting in B<param> to "
219 "\\&B<trust>."
220 msgstr ""
221
222 #. type: Plain text
223 #: archlinux debian-trixie debian-unstable
224 msgid ""
225 "\\&B<X509_VERIFY_PARAM_set_time()> sets the verification time in B<param> to "
226 "\\&B<t>. Normally the current time is used."
227 msgstr ""
228
229 #. type: Plain text
230 #: archlinux debian-trixie debian-unstable
231 msgid ""
232 "\\&B<X509_VERIFY_PARAM_add0_policy()> adds B<policy> to the acceptable "
233 "policy set. Contrary to preexisting documentation of this function it does "
234 "not enable policy checking."
235 msgstr ""
236
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable
239 msgid ""
240 "\\&B<X509_VERIFY_PARAM_set1_policies()> enables policy checking (it is "
241 "disabled by default) and sets the acceptable policy set to B<policies>. Any "
242 "existing policy set is cleared. The B<policies> parameter can be B<NULL> to "
243 "clear an existing policy set."
244 msgstr ""
245
246 #. type: Plain text
247 #: archlinux debian-trixie debian-unstable
248 msgid ""
249 "\\&B<X509_VERIFY_PARAM_set_depth()> sets the maximum verification depth to "
250 "B<depth>. That is the maximum number of intermediate CA certificates that "
251 "can appear in a chain. A maximal depth chain contains 2 more certificates "
252 "than the limit, since neither the end-entity certificate nor the trust-"
253 "anchor count against this limit. Thus a B<depth> limit of 0 only allows the "
254 "end-entity certificate to be signed directly by the trust anchor, while with "
255 "a B<depth> limit of 1 there can be one intermediate CA certificate between "
256 "the trust anchor and the end-entity certificate."
257 msgstr ""
258
259 #. type: Plain text
260 #: archlinux
261 msgid ""
262 "\\&B<X509_VERIFY_PARAM_set_auth_level()> sets the authentication security "
263 "level to \\&B<auth_level>. The authentication security level determines the "
264 "acceptable signature and public key strength when verifying certificate "
265 "chains. For a certificate chain to validate, the public keys of all the "
266 "certificates must meet the specified security level. The signature "
267 "algorithm security level is not enforced for the chain\\*(Aqs I<trust "
268 "anchor> certificate, which is either directly trusted or validated by means "
269 "other than its signature. See B<SSL_CTX_set_security_level>\\|(3) for the "
270 "definitions of the available levels. The default security level is -1, or "
271 "\"not set\". At security level 0 or lower all algorithms are acceptable. "
272 "Security level 1 requires at least 80-bit-equivalent security and is broadly "
273 "interoperable, though it will, for example, reject MD5 signatures or RSA "
274 "keys shorter than 1024 bits."
275 msgstr ""
276
277 #. type: Plain text
278 #: archlinux debian-trixie debian-unstable
279 msgid ""
280 "\\&B<X509_VERIFY_PARAM_get0_host()> returns the B<n>th expected DNS hostname "
281 "that has been set using B<X509_VERIFY_PARAM_set1_host()> or "
282 "B<X509_VERIFY_PARAM_add1_host()>. To obtain all names start with B<n> = 0 "
283 "and increment B<n> as long as no NULL pointer is returned."
284 msgstr ""
285
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable
288 msgid ""
289 "\\&B<X509_VERIFY_PARAM_set1_host()> sets the expected DNS hostname to "
290 "\\&B<name> clearing any previously specified hostname. If \\&B<name> is "
291 "NULL, or empty the list of hostnames is cleared, and name checks are not "
292 "performed on the peer certificate. If B<name> is NUL-terminated, B<namelen> "
293 "may be zero, otherwise B<namelen> must be set to the length of B<name>."
294 msgstr ""
295
296 #. type: Plain text
297 #: archlinux debian-trixie debian-unstable
298 msgid ""
299 "When a hostname is specified, certificate verification automatically invokes "
300 "B<X509_check_host>\\|(3) with flags equal to the B<flags> argument given to "
301 "\\&B<X509_VERIFY_PARAM_set_hostflags()> (default zero). Applications are "
302 "strongly advised to use this interface in preference to explicitly calling "
303 "B<X509_check_host>\\|(3), hostname checks may be out of scope with the "
304 "B<DANE-EE>\\|(3) certificate usage, and the internal check will be "
305 "suppressed as appropriate when DANE verification is enabled."
306 msgstr ""
307
308 #. type: Plain text
309 #: archlinux debian-trixie debian-unstable
310 msgid ""
311 "When the subject CommonName will not be ignored, whether as a result of the "
312 "\\&B<X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT> host flag, or because no DNS "
313 "subject alternative names are present in the certificate, any DNS name "
314 "constraints in issuer certificates apply to the subject CommonName as well "
315 "as the subject alternative name extension."
316 msgstr ""
317
318 #. type: Plain text
319 #: archlinux debian-trixie debian-unstable
320 msgid ""
321 "When the subject CommonName will be ignored, whether as a result of the "
322 "\\&B<X509_CHECK_FLAG_NEVER_CHECK_SUBJECT> host flag, or because some DNS "
323 "subject alternative names are present in the certificate, DNS name "
324 "constraints in issuer certificates will not be applied to the subject DN. "
325 "As described in B<X509_check_host>\\|(3) the "
326 "B<X509_CHECK_FLAG_NEVER_CHECK_SUBJECT> flag takes precedence over the "
327 "B<X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT> flag."
328 msgstr ""
329
330 #. type: Plain text
331 #: archlinux debian-trixie debian-unstable
332 msgid ""
333 "\\&B<X509_VERIFY_PARAM_get_hostflags()> returns any host flags previously "
334 "set via a call to B<X509_VERIFY_PARAM_set_hostflags()>."
335 msgstr ""
336
337 #. type: Plain text
338 #: archlinux
339 msgid ""
340 "\\&B<X509_VERIFY_PARAM_add1_host()> adds B<name> as an additional reference "
341 "identifier that can match the peer\\*(Aqs certificate. Any previous names "
342 "set via B<X509_VERIFY_PARAM_set1_host()> or B<X509_VERIFY_PARAM_add1_host()> "
343 "are retained, no change is made if B<name> is NULL or empty. When multiple "
344 "names are configured, the peer is considered verified when any name matches."
345 msgstr ""
346
347 #. type: Plain text
348 #: archlinux debian-trixie debian-unstable
349 msgid ""
350 "\\&B<X509_VERIFY_PARAM_get0_peername()> returns the DNS hostname or subject "
351 "CommonName from the peer certificate that matched one of the reference "
352 "identifiers. When wildcard matching is not disabled, or when a reference "
353 "identifier specifies a parent domain (starts with \".\") rather than a "
354 "hostname, the peer name may be a wildcard name or a sub-domain of the "
355 "reference identifier respectively. The return string is allocated by the "
356 "library and is no longer valid once the associated B<param> argument is "
357 "freed. Applications must not free the return value."
358 msgstr ""
359
360 #. type: Plain text
361 #: archlinux debian-trixie debian-unstable
362 msgid ""
363 "\\&B<X509_VERIFY_PARAM_get0_email()> returns the expected RFC822 email "
364 "address."
365 msgstr ""
366
367 #. type: Plain text
368 #: archlinux debian-trixie debian-unstable
369 msgid ""
370 "\\&B<X509_VERIFY_PARAM_set1_email()> sets the expected RFC822 email address "
371 "to \\&B<email>. If B<email> is NUL-terminated, B<emaillen> may be zero, "
372 "otherwise \\&B<emaillen> must be set to the length of B<email>. When an "
373 "email address is specified, certificate verification automatically invokes "
374 "\\&B<X509_check_email>\\|(3)."
375 msgstr ""
376
377 #. type: Plain text
378 #: archlinux debian-trixie debian-unstable
379 msgid ""
380 "\\&B<X509_VERIFY_PARAM_get1_ip_asc()> returns the expected IP address as a "
381 "string. The caller is responsible for freeing it."
382 msgstr ""
383
384 #. type: Plain text
385 #: archlinux debian-trixie debian-unstable
386 msgid ""
387 "\\&B<X509_VERIFY_PARAM_set1_ip()> sets the expected IP address to B<ip>. "
388 "The B<ip> argument is in binary format, in network byte-order and "
389 "\\&B<iplen> must be set to 4 for IPv4 and 16 for IPv6. When an IP address "
390 "is specified, certificate verification automatically invokes "
391 "\\&B<X509_check_ip>\\|(3)."
392 msgstr ""
393
394 #. type: Plain text
395 #: archlinux debian-trixie debian-unstable
396 msgid ""
397 "\\&B<X509_VERIFY_PARAM_set1_ip_asc()> sets the expected IP address to "
398 "\\&B<ipasc>. The B<ipasc> argument is a NUL-terminal ASCII string: dotted "
399 "decimal quad for IPv4 and colon-separated hexadecimal for IPv6. The "
400 "condensed \"::\" notation is supported for IPv6 addresses."
401 msgstr ""
402
403 #. type: IX
404 #: archlinux debian-trixie debian-unstable
405 #, no-wrap
406 msgid "RETURN VALUES"
407 msgstr ""
408
409 #. type: Plain text
410 #: archlinux debian-trixie debian-unstable
411 msgid ""
412 "\\&B<X509_VERIFY_PARAM_set_flags()>, B<X509_VERIFY_PARAM_clear_flags()>, "
413 "\\&B<X509_VERIFY_PARAM_set_inh_flags()>, "
414 "\\&B<X509_VERIFY_PARAM_set_purpose()>, B<X509_VERIFY_PARAM_set_trust()>, "
415 "\\&B<X509_VERIFY_PARAM_add0_policy()> B<X509_VERIFY_PARAM_set1_policies()>, "
416 "\\&B<X509_VERIFY_PARAM_set1_host()>, B<X509_VERIFY_PARAM_add1_host()>, "
417 "\\&B<X509_VERIFY_PARAM_set1_email()>, B<X509_VERIFY_PARAM_set1_ip()> and "
418 "\\&B<X509_VERIFY_PARAM_set1_ip_asc()> return 1 for success and 0 for failure."
419 msgstr ""
420
421 #. type: Plain text
422 #: archlinux debian-trixie debian-unstable
423 msgid ""
424 "\\&B<X509_VERIFY_PARAM_get0_host()>, B<X509_VERIFY_PARAM_get0_email()>, and "
425 "\\&B<X509_VERIFY_PARAM_get1_ip_asc()>, return the string pointers specified "
426 "above or NULL if the respective value has not been set or on error."
427 msgstr ""
428
429 #. type: Plain text
430 #: archlinux debian-trixie debian-unstable
431 msgid ""
432 "\\&B<X509_VERIFY_PARAM_get_flags()> returns the current verification flags."
433 msgstr ""
434
435 #. type: Plain text
436 #: archlinux debian-trixie debian-unstable
437 msgid "\\&B<X509_VERIFY_PARAM_get_hostflags()> returns any current host flags."
438 msgstr ""
439
440 #. type: Plain text
441 #: archlinux debian-trixie debian-unstable
442 msgid ""
443 "\\&B<X509_VERIFY_PARAM_get_inh_flags()> returns the current inheritance "
444 "flags."
445 msgstr ""
446
447 #. type: Plain text
448 #: archlinux debian-trixie debian-unstable
449 msgid ""
450 "\\&B<X509_VERIFY_PARAM_set_time()> and B<X509_VERIFY_PARAM_set_depth()> do "
451 "not return values."
452 msgstr ""
453
454 #. type: Plain text
455 #: archlinux debian-trixie debian-unstable
456 msgid ""
457 "\\&B<X509_VERIFY_PARAM_get_depth()> returns the current verification depth."
458 msgstr ""
459
460 #. type: Plain text
461 #: archlinux debian-trixie debian-unstable
462 msgid ""
463 "\\&B<X509_VERIFY_PARAM_get_auth_level()> returns the current authentication "
464 "security level."
465 msgstr ""
466
467 #. type: Plain text
468 #: archlinux debian-trixie debian-unstable
469 msgid ""
470 "\\&B<X509_VERIFY_PARAM_get_purpose()> returns the current purpose, which may "
471 "be B<X509_PURPOSE_DEFAULT_ANY> if unset."
472 msgstr ""
473
474 #. type: IX
475 #: archlinux debian-trixie debian-unstable
476 #, no-wrap
477 msgid "VERIFICATION FLAGS"
478 msgstr ""
479
480 #. type: Plain text
481 #: archlinux debian-trixie debian-unstable
482 msgid ""
483 "The verification flags consists of zero or more of the following flags ored "
484 "together."
485 msgstr ""
486
487 #. type: Plain text
488 #: archlinux debian-trixie debian-unstable
489 msgid ""
490 "\\&B<X509_V_FLAG_CRL_CHECK> enables CRL checking for the certificate chain "
491 "leaf certificate. An error occurs if a suitable CRL cannot be found."
492 msgstr ""
493
494 #. type: Plain text
495 #: archlinux debian-trixie debian-unstable
496 msgid ""
497 "\\&B<X509_V_FLAG_CRL_CHECK_ALL> expands CRL checking to the entire "
498 "certificate chain if B<X509_V_FLAG_CRL_CHECK> has also been enabled, and is "
499 "otherwise ignored."
500 msgstr ""
501
502 #. type: Plain text
503 #: archlinux debian-unstable
504 msgid ""
505 "\\&B<X509_V_FLAG_OCSP_RESP_CHECK> enables Online Certificate Status Protocol "
506 "(OCSP) checking for the certificate chain leaf certificate. An error occurs "
507 "if a suitable OCSP response cannot be found."
508 msgstr ""
509
510 #. type: Plain text
511 #: archlinux debian-unstable
512 msgid ""
513 "\\&B<X509_V_FLAG_OCSP_RESP_CHECK_ALL> expands OCSP checking to the entire "
514 "certificate chain if B<X509_V_FLAG_OCSP_RESP_CHECK> has also been enabled, "
515 "and is otherwise ignored."
516 msgstr ""
517
518 #. type: Plain text
519 #: archlinux debian-trixie debian-unstable
520 msgid ""
521 "\\&B<X509_V_FLAG_IGNORE_CRITICAL> disables critical extension checking. By "
522 "default any unhandled critical extensions in certificates or (if checked) "
523 "CRLs result in a fatal error. If this flag is set unhandled critical "
524 "extensions are ignored. B<WARNING> setting this option for anything other "
525 "than debugging purposes can be a security risk. Finer control over which "
526 "extensions are supported can be performed in the verification callback."
527 msgstr ""
528
529 #. type: Plain text
530 #: archlinux debian-trixie debian-unstable
531 msgid ""
532 "The B<X509_V_FLAG_X509_STRICT> flag disables workarounds for some broken "
533 "certificates and makes the verification strictly apply B<X509> rules."
534 msgstr ""
535
536 #. type: Plain text
537 #: archlinux debian-trixie debian-unstable
538 msgid ""
539 "\\&B<X509_V_FLAG_ALLOW_PROXY_CERTS> enables proxy certificate verification."
540 msgstr ""
541
542 #. type: Plain text
543 #: archlinux debian-trixie debian-unstable
544 msgid ""
545 "\\&B<X509_V_FLAG_POLICY_CHECK> enables certificate policy checking, by "
546 "default no policy checking is performed. Additional information is sent to "
547 "the verification callback relating to policy checking."
548 msgstr ""
549
550 #. type: Plain text
551 #: archlinux debian-trixie debian-unstable
552 msgid ""
553 "\\&B<X509_V_FLAG_EXPLICIT_POLICY>, B<X509_V_FLAG_INHIBIT_ANY> and "
554 "\\&B<X509_V_FLAG_INHIBIT_MAP> set the B<require explicit policy>, B<inhibit "
555 "any policy> and B<inhibit policy mapping> flags respectively as defined in "
556 "\\&B<RFC3280>. Policy checking is automatically enabled if any of these "
557 "flags are set."
558 msgstr ""
559
560 #. type: Plain text
561 #: archlinux debian-trixie debian-unstable
562 msgid ""
563 "If B<X509_V_FLAG_NOTIFY_POLICY> is set and the policy checking is successful "
564 "a special status code is set to the verification callback. This permits it "
565 "to examine the valid policy tree and perform additional checks or simply log "
566 "it for debugging purposes."
567 msgstr ""
568
569 #. type: Plain text
570 #: archlinux debian-trixie debian-unstable
571 msgid ""
572 "By default some additional features such as indirect CRLs and CRLs signed by "
573 "different keys are disabled. If B<X509_V_FLAG_EXTENDED_CRL_SUPPORT> is set "
574 "they are enabled."
575 msgstr ""
576
577 #. type: Plain text
578 #: archlinux debian-trixie debian-unstable
579 msgid ""
580 "If B<X509_V_FLAG_USE_DELTAS> is set delta CRLs (if present) are used to "
581 "determine certificate status. If not set deltas are ignored."
582 msgstr ""
583
584 #. type: Plain text
585 #: archlinux
586 msgid ""
587 "\\&B<X509_V_FLAG_CHECK_SS_SIGNATURE> requests checking the signature of the "
588 "last certificate in a chain if the certificate is supposedly self-signed. "
589 "This is prohibited and will result in an error if it is a non-conforming CA "
590 "certificate with key usage restrictions not including the I<keyCertSign> "
591 "bit. By default this check is disabled because it doesn\\*(Aqt add any "
592 "additional security but in some cases applications might want to check the "
593 "signature anyway. A side effect of not checking the self-signature of such a "
594 "certificate is that disabled or unsupported message digests used for the "
595 "signature are not treated as fatal errors."
596 msgstr ""
597
598 #. type: Plain text
599 #: archlinux debian-trixie debian-unstable
600 msgid ""
601 "When B<X509_V_FLAG_TRUSTED_FIRST> is set, which is always the case since "
602 "OpenSSL 1.1.0, construction of the certificate chain in "
603 "B<X509_verify_cert>\\|(3) searches the trust store for issuer certificates "
604 "before searching the provided untrusted certificates. Local issuer "
605 "certificates are often more likely to satisfy local security requirements "
606 "and lead to a locally trusted root. This is especially important when some "
607 "certificates in the trust store have explicit trust settings (see \"TRUST "
608 "SETTINGS\" in B<openssl-x509>\\|(1))."
609 msgstr ""
610
611 #. type: Plain text
612 #: archlinux debian-trixie debian-unstable
613 msgid ""
614 "The B<X509_V_FLAG_NO_ALT_CHAINS> flag could have been used before OpenSSL "
615 "1.1.0 to suppress checking for alternative chains. By default, unless "
616 "B<X509_V_FLAG_TRUSTED_FIRST> is set, when building a certificate chain, if "
617 "the first certificate chain found is not trusted, then OpenSSL will attempt "
618 "to replace untrusted certificates supplied by the peer with certificates "
619 "from the trust store to see if an alternative chain can be found that is "
620 "trusted. As of OpenSSL 1.1.0, with B<X509_V_FLAG_TRUSTED_FIRST> always set, "
621 "this option has no effect."
622 msgstr ""
623
624 #. type: Plain text
625 #: archlinux debian-trixie debian-unstable
626 msgid ""
627 "The B<X509_V_FLAG_PARTIAL_CHAIN> flag causes non-self-signed certificates in "
628 "the trust store to be treated as trust anchors, in the same way as self-"
629 "signed root CA certificates. This makes it possible to trust self-issued "
630 "certificates as well as certificates issued by an intermediate CA without "
631 "having to trust their ancestor root CA. With OpenSSL 1.1.0 and later and "
632 "B<X509_V_FLAG_PARTIAL_CHAIN> set, chain construction stops as soon as the "
633 "first certificate contained in the trust store is added to the chain, "
634 "whether that certificate is a self-signed \"root\" certificate or a not self-"
635 "signed \"intermediate\" or self-issued certificate. Thus, when an "
636 "intermediate certificate is found in the trust store, the verified chain "
637 "passed to callbacks may be shorter than it otherwise would be without the "
638 "B<X509_V_FLAG_PARTIAL_CHAIN> flag."
639 msgstr ""
640
641 #. type: Plain text
642 #: archlinux debian-trixie debian-unstable
643 msgid ""
644 "The B<X509_V_FLAG_NO_CHECK_TIME> flag suppresses checking the validity "
645 "period of certificates and CRLs against the current time. If "
646 "B<X509_VERIFY_PARAM_set_time()> is used to specify a verification time, the "
647 "check is not suppressed."
648 msgstr ""
649
650 #. type: IX
651 #: archlinux debian-trixie debian-unstable
652 #, no-wrap
653 msgid "INHERITANCE FLAGS"
654 msgstr ""
655
656 #. type: Plain text
657 #: archlinux debian-trixie debian-unstable
658 msgid ""
659 "These flags specify how parameters are \"inherited\" from one structure to "
660 "another."
661 msgstr ""
662
663 #. type: Plain text
664 #: archlinux debian-trixie debian-unstable
665 msgid ""
666 "If B<X509_VP_FLAG_ONCE> is set then the current setting is zeroed after the "
667 "next call."
668 msgstr ""
669
670 #. type: Plain text
671 #: archlinux debian-trixie debian-unstable
672 msgid ""
673 "If B<X509_VP_FLAG_LOCKED> is set then no values are copied. This overrides "
674 "all of the following flags."
675 msgstr ""
676
677 #. type: Plain text
678 #: archlinux debian-trixie debian-unstable
679 msgid ""
680 "If B<X509_VP_FLAG_DEFAULT> is set then anything set in the source is copied "
681 "to the destination. Effectively the values in \"to\" become default values "
682 "which will be used only if nothing new is set in \"from\". This is the "
683 "default."
684 msgstr ""
685
686 #. type: Plain text
687 #: archlinux debian-trixie debian-unstable
688 msgid ""
689 "If B<X509_VP_FLAG_OVERWRITE> is set then all value are copied across whether "
690 "they are set or not. Flags is still Ored though."
691 msgstr ""
692
693 #. type: Plain text
694 #: archlinux debian-trixie debian-unstable
695 msgid ""
696 "If B<X509_VP_FLAG_RESET_FLAGS> is set then the flags value is copied instead "
697 "of ORed."
698 msgstr ""
699
700 #. type: IX
701 #: archlinux debian-trixie debian-unstable
702 #, no-wrap
703 msgid "NOTES"
704 msgstr ""
705
706 #. type: Plain text
707 #: archlinux debian-trixie debian-unstable
708 msgid ""
709 "The above functions should be used to manipulate verification parameters "
710 "instead of functions which work in specific structures such as "
711 "\\&B<X509_STORE_CTX_set_flags()> which are likely to be deprecated in a "
712 "future release."
713 msgstr ""
714
715 #. type: IX
716 #: archlinux debian-trixie debian-unstable
717 #, no-wrap
718 msgid "BUGS"
719 msgstr ""
720
721 #. type: Plain text
722 #: archlinux debian-trixie debian-unstable
723 msgid ""
724 "Delta CRL checking is currently primitive. Only a single delta can be used "
725 "and (partly due to limitations of B<X509_STORE>) constructed CRLs are not "
726 "maintained."
727 msgstr ""
728
729 #. type: Plain text
730 #: archlinux debian-trixie debian-unstable
731 msgid ""
732 "If CRLs checking is enable CRLs are expected to be available in the "
733 "corresponding B<X509_STORE> structure. No attempt is made to download CRLs "
734 "from the CRL distribution points extension."
735 msgstr ""
736
737 #. type: IX
738 #: archlinux debian-trixie debian-unstable
739 #, no-wrap
740 msgid "EXAMPLES"
741 msgstr ""
742
743 #. type: Plain text
744 #: archlinux debian-trixie debian-unstable
745 msgid ""
746 "Enable CRL checking when performing certificate verification during SSL "
747 "connections associated with an B<SSL_CTX> structure B<ctx>:"
748 msgstr ""
749
750 #. type: Plain text
751 #: archlinux debian-trixie debian-unstable
752 #, no-wrap
753 msgid ""
754 "\\& X509_VERIFY_PARAM *param;\n"
755 "\\&\n"
756 "\\& param = X509_VERIFY_PARAM_new();\n"
757 "\\& X509_VERIFY_PARAM_set_flags(param, X509_V_FLAG_CRL_CHECK);\n"
758 "\\& SSL_CTX_set1_param(ctx, param);\n"
759 "\\& X509_VERIFY_PARAM_free(param);\n"
760 msgstr ""
761
762 #. type: IX
763 #: archlinux debian-trixie debian-unstable
764 #, no-wrap
765 msgid "SEE ALSO"
766 msgstr ""
767
768 #. type: Plain text
769 #: archlinux debian-trixie debian-unstable
770 msgid ""
771 "\\&B<X509_verify_cert>\\|(3), \\&B<X509_check_host>\\|(3), "
772 "\\&B<X509_check_email>\\|(3), \\&B<X509_check_ip>\\|(3), \\&B<openssl-"
773 "x509>\\|(1)"
774 msgstr ""
775
776 #. type: IX
777 #: archlinux debian-trixie debian-unstable
778 #, no-wrap
779 msgid "HISTORY"
780 msgstr ""
781
782 #. type: Plain text
783 #: archlinux debian-trixie debian-unstable
784 msgid ""
785 "The B<X509_V_FLAG_NO_ALT_CHAINS> flag was added in OpenSSL 1.1.0. The flag "
786 "B<X509_V_FLAG_CB_ISSUER_CHECK> was deprecated in OpenSSL 1.1.0 and has no "
787 "effect."
788 msgstr ""
789
790 #. type: Plain text
791 #: archlinux debian-trixie debian-unstable
792 msgid ""
793 "The B<X509_VERIFY_PARAM_get_hostflags()> function was added in OpenSSL "
794 "1.1.0i."
795 msgstr ""
796
797 #. type: Plain text
798 #: archlinux debian-trixie debian-unstable
799 msgid ""
800 "The B<X509_VERIFY_PARAM_get0_host()>, B<X509_VERIFY_PARAM_get0_email()>, and "
801 "B<X509_VERIFY_PARAM_get1_ip_asc()> functions were added in OpenSSL 3.0."
802 msgstr ""
803
804 #. type: Plain text
805 #: archlinux debian-trixie debian-unstable
806 msgid ""
807 "The function B<X509_VERIFY_PARAM_add0_policy()> was historically documented "
808 "as enabling policy checking however the implementation has never done this. "
809 "The documentation was changed to align with the implementation."
810 msgstr ""
811
812 #. type: Plain text
813 #: archlinux debian-trixie debian-unstable
814 msgid ""
815 "The B<X509_VERIFY_PARAM_get_purpose()> function was added in OpenSSL 3.5."
816 msgstr ""
817
818 #. type: IX
819 #: archlinux debian-trixie debian-unstable
820 #, no-wrap
821 msgid "COPYRIGHT"
822 msgstr ""
823
824 #. type: Plain text
825 #: archlinux debian-trixie debian-unstable
826 msgid "Copyright 2009-2025 The OpenSSL Project Authors. All Rights Reserved."
827 msgstr ""
828
829 #. type: Plain text
830 #: archlinux debian-trixie debian-unstable
831 msgid ""
832 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
833 "this file except in compliance with the License. You can obtain a copy in "
834 "the file LICENSE in the source distribution or at E<lt>https://"
835 "www.openssl.org/source/license.htmlE<gt>."
836 msgstr ""
837
838 #. ========================================================================
839 #. type: IX
840 #: debian-trixie debian-unstable
841 #, no-wrap
842 msgid "X509_VERIFY_PARAM_SET_FLAGS 3SSL"
843 msgstr ""
844
845 #. type: TH
846 #: debian-trixie
847 #, no-wrap
848 msgid "3.5.6"
849 msgstr ""
850
851 #. type: Plain text
852 #: debian-trixie debian-unstable
853 msgid ""
854 "\\&B<X509_VERIFY_PARAM_set_auth_level()> sets the authentication security "
855 "level to \\&B<auth_level>. The authentication security level determines the "
856 "acceptable signature and public key strength when verifying certificate "
857 "chains. For a certificate chain to validate, the public keys of all the "
858 "certificates must meet the specified security level. The signature "
859 "algorithm security level is not enforced for the chain's I<trust anchor> "
860 "certificate, which is either directly trusted or validated by means other "
861 "than its signature. See B<SSL_CTX_set_security_level>\\|(3) for the "
862 "definitions of the available levels. The default security level is -1, or "
863 "\"not set\". At security level 0 or lower all algorithms are acceptable. "
864 "Security level 1 requires at least 80-bit-equivalent security and is broadly "
865 "interoperable, though it will, for example, reject MD5 signatures or RSA "
866 "keys shorter than 1024 bits."
867 msgstr ""
868
869 #. type: Plain text
870 #: debian-trixie debian-unstable
871 msgid ""
872 "\\&B<X509_VERIFY_PARAM_add1_host()> adds B<name> as an additional reference "
873 "identifier that can match the peer's certificate. Any previous names set "
874 "via B<X509_VERIFY_PARAM_set1_host()> or B<X509_VERIFY_PARAM_add1_host()> are "
875 "retained, no change is made if B<name> is NULL or empty. When multiple "
876 "names are configured, the peer is considered verified when any name matches."
877 msgstr ""
878
879 #. type: Plain text
880 #: debian-trixie debian-unstable
881 msgid ""
882 "\\&B<X509_V_FLAG_CHECK_SS_SIGNATURE> requests checking the signature of the "
883 "last certificate in a chain if the certificate is supposedly self-signed. "
884 "This is prohibited and will result in an error if it is a non-conforming CA "
885 "certificate with key usage restrictions not including the I<keyCertSign> "
886 "bit. By default this check is disabled because it doesn't add any "
887 "additional security but in some cases applications might want to check the "
888 "signature anyway. A side effect of not checking the self-signature of such a "
889 "certificate is that disabled or unsupported message digests used for the "
890 "signature are not treated as fatal errors."
891 msgstr ""