Debian Codegraph @

templates/man3/X509_check_host.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_check_host.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: X509_check_host.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: X509_check_host.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: X509_check_host.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_CHECK_HOST 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "X509_CHECK_HOST"
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_check_host, X509_check_email, X509_check_ip, X509_check_ip_asc - X.509 "
79 "certificate matching"
80 msgstr ""
81
82 #. type: IX
83 #: archlinux debian-trixie debian-unstable
84 #, no-wrap
85 msgid "SYNOPSIS"
86 msgstr ""
87
88 #. type: IX
89 #: archlinux debian-trixie debian-unstable
90 #, no-wrap
91 msgid "Header"
92 msgstr ""
93
94 #. type: Plain text
95 #: archlinux debian-trixie debian-unstable
96 #, no-wrap
97 msgid ""
98 "\\& #include E<lt>openssl/x509v3.hE<gt>\n"
99 "\\&\n"
100 "\\& int X509_check_host(X509 *, const char *name, size_t namelen,\n"
101 "\\& unsigned int flags, char **peername);\n"
102 "\\& int X509_check_email(X509 *, const char *address, size_t addresslen,\n"
103 "\\& unsigned int flags);\n"
104 "\\& int X509_check_ip(X509 *, const unsigned char *address, size_t addresslen,\n"
105 "\\& unsigned int flags);\n"
106 "\\& int X509_check_ip_asc(X509 *, const char *address, unsigned int flags);\n"
107 msgstr ""
108
109 #. type: IX
110 #: archlinux debian-trixie debian-unstable
111 #, no-wrap
112 msgid "DESCRIPTION"
113 msgstr ""
114
115 #. type: Plain text
116 #: archlinux debian-trixie debian-unstable
117 msgid ""
118 "The certificate matching functions are used to check whether a certificate "
119 "matches a given hostname, email address, or IP address. The validity of the "
120 "certificate and its trust level has to be checked by other means."
121 msgstr ""
122
123 #. type: Plain text
124 #: archlinux debian-trixie debian-unstable
125 msgid ""
126 "\\&B<X509_check_host()> checks if the certificate Subject Alternative Name "
127 "(SAN) or Subject CommonName (CN) matches the specified hostname, which must "
128 "be encoded in the preferred name syntax described in section 3.5 of RFC "
129 "1034. By default, wildcards are supported and they match only in the left-"
130 "most label; but they may match part of that label with an explicit prefix or "
131 "suffix. For example, by default, the host B<name> \"www.example.com\" would "
132 "match a certificate with a SAN or CN value of \"*.example.com\", "
133 "\"w*.example.com\" or \"*w.example.com\"."
134 msgstr ""
135
136 #. type: Plain text
137 #: archlinux debian-trixie debian-unstable
138 msgid ""
139 "Per section 6.4.2 of RFC 6125, B<name> values representing international "
140 "domain names must be given in A-label form. The B<namelen> argument must be "
141 "the number of characters in the name string or zero in which case the length "
142 "is calculated with strlen(B<name>). When B<name> starts with a dot (e.g. "
143 "\".example.com\"), it will be matched by a certificate valid for any sub-"
144 "domain of B<name>, (see also \\&B<X509_CHECK_FLAG_SINGLE_LABEL_SUBDOMAINS> "
145 "below)."
146 msgstr ""
147
148 #. type: Plain text
149 #: archlinux debian-trixie debian-unstable
150 msgid ""
151 "When the certificate is matched, and B<peername> is not NULL, a pointer to a "
152 "copy of the matching SAN or CN from the peer certificate is stored at the "
153 "address passed in B<peername>. The application is responsible for freeing "
154 "the peername via B<OPENSSL_free()> when it is no longer needed."
155 msgstr ""
156
157 #. type: Plain text
158 #: archlinux debian-trixie debian-unstable
159 msgid ""
160 "\\&B<X509_check_email()> checks if the certificate matches the specified "
161 "email B<address>. The mailbox syntax of RFC 822 is supported, comments are "
162 "not allowed, and no attempt is made to normalize quoted characters. The "
163 "mailbox syntax of RFC 6531 is supported for SmtpUTF8Mailbox address in "
164 "subjectAltName according to RFC 8398, with similar limitations as for RFC "
165 "822 syntax, and no attempt is made to convert from A-label to U-label before "
166 "comparison. The B<addresslen> argument must be the number of characters in "
167 "the address string or zero in which case the length is calculated with "
168 "strlen(B<address>)."
169 msgstr ""
170
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable
173 msgid ""
174 "\\&B<X509_check_ip()> checks if the certificate matches a specified IPv4 or "
175 "IPv6 address. The B<address> array is in binary format, in network byte "
176 "order. The length is either 4 (IPv4) or 16 (IPv6). Only explicitly marked "
177 "addresses in the certificates are considered; IP addresses stored in DNS "
178 "names and Common Names are ignored. There are currently no B<flags> that "
179 "would affect the behavior of this call."
180 msgstr ""
181
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable
184 msgid ""
185 "\\&B<X509_check_ip_asc()> is similar, except that the NUL-terminated string "
186 "B<address> is first converted to the internal representation."
187 msgstr ""
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable
191 msgid ""
192 "The B<flags> argument is usually 0. It can be the bitwise OR of the flags:"
193 msgstr ""
194
195 #. type: IP
196 #: archlinux debian-trixie debian-unstable
197 #, no-wrap
198 msgid "B<X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT>,"
199 msgstr ""
200
201 #. type: IX
202 #: archlinux debian-trixie debian-unstable
203 #, no-wrap
204 msgid "Item"
205 msgstr ""
206
207 #. type: IX
208 #: archlinux debian-trixie debian-unstable
209 #, no-wrap
210 msgid "X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT,"
211 msgstr ""
212
213 #. type: IP
214 #: archlinux debian-trixie debian-unstable
215 #, no-wrap
216 msgid "B<X509_CHECK_FLAG_NEVER_CHECK_SUBJECT>,"
217 msgstr ""
218
219 #. type: IX
220 #: archlinux debian-trixie debian-unstable
221 #, no-wrap
222 msgid "X509_CHECK_FLAG_NEVER_CHECK_SUBJECT,"
223 msgstr ""
224
225 #. type: IP
226 #: archlinux debian-trixie debian-unstable
227 #, no-wrap
228 msgid "B<X509_CHECK_FLAG_NO_WILDCARDS>,"
229 msgstr ""
230
231 #. type: IX
232 #: archlinux debian-trixie debian-unstable
233 #, no-wrap
234 msgid "X509_CHECK_FLAG_NO_WILDCARDS,"
235 msgstr ""
236
237 #. type: IP
238 #: archlinux debian-trixie debian-unstable
239 #, no-wrap
240 msgid "B<X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS>,"
241 msgstr ""
242
243 #. type: IX
244 #: archlinux debian-trixie debian-unstable
245 #, no-wrap
246 msgid "X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS,"
247 msgstr ""
248
249 #. type: IP
250 #: archlinux debian-trixie debian-unstable
251 #, no-wrap
252 msgid "B<X509_CHECK_FLAG_MULTI_LABEL_WILDCARDS>."
253 msgstr ""
254
255 #. type: IX
256 #: archlinux debian-trixie debian-unstable
257 #, no-wrap
258 msgid "X509_CHECK_FLAG_MULTI_LABEL_WILDCARDS."
259 msgstr ""
260
261 #. type: IP
262 #: archlinux debian-trixie debian-unstable
263 #, no-wrap
264 msgid "B<X509_CHECK_FLAG_SINGLE_LABEL_SUBDOMAINS>."
265 msgstr ""
266
267 #. type: IX
268 #: archlinux debian-trixie debian-unstable
269 #, no-wrap
270 msgid "X509_CHECK_FLAG_SINGLE_LABEL_SUBDOMAINS."
271 msgstr ""
272
273 #. type: Plain text
274 #: archlinux debian-trixie debian-unstable
275 msgid ""
276 "The B<X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT> flag causes the function to "
277 "consider the subject DN even if the certificate contains at least one "
278 "subject alternative name of the right type (DNS name or email address as "
279 "appropriate); the default is to ignore the subject DN when at least one "
280 "corresponding subject alternative names is present."
281 msgstr ""
282
283 #. type: Plain text
284 #: archlinux debian-trixie debian-unstable
285 msgid ""
286 "The B<X509_CHECK_FLAG_NEVER_CHECK_SUBJECT> flag causes the function to never "
287 "consider the subject DN even if the certificate contains no subject "
288 "alternative names of the right type (DNS name or email address as "
289 "appropriate); the default is to use the subject DN when no corresponding "
290 "subject alternative names are present. If both "
291 "B<X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT> and "
292 "\\&B<X509_CHECK_FLAG_NEVER_CHECK_SUBJECT> are specified, the latter takes "
293 "precedence and the subject DN is not checked for matching names."
294 msgstr ""
295
296 #. type: Plain text
297 #: archlinux debian-trixie debian-unstable
298 msgid ""
299 "If set, B<X509_CHECK_FLAG_NO_WILDCARDS> disables wildcard expansion; this "
300 "only applies to B<X509_check_host>."
301 msgstr ""
302
303 #. type: Plain text
304 #: archlinux debian-trixie debian-unstable
305 msgid ""
306 "If set, B<X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS> suppresses support for \"*\" "
307 "as wildcard pattern in labels that have a prefix or suffix, such as: "
308 "\"www*\" or \"*www\"; this only applies to B<X509_check_host>."
309 msgstr ""
310
311 #. type: Plain text
312 #: archlinux debian-trixie debian-unstable
313 msgid ""
314 "If set, B<X509_CHECK_FLAG_MULTI_LABEL_WILDCARDS> allows a \"*\" that "
315 "constitutes the complete label of a DNS name (e.g. \"*.example.com\") to "
316 "match more than one label in B<name>; this flag only applies to "
317 "B<X509_check_host>."
318 msgstr ""
319
320 #. type: Plain text
321 #: archlinux debian-trixie debian-unstable
322 msgid ""
323 "If set, B<X509_CHECK_FLAG_SINGLE_LABEL_SUBDOMAINS> restricts B<name> values "
324 "which start with \".\", that would otherwise match any sub-domain in the "
325 "peer certificate, to only match direct child sub-domains. Thus, for "
326 "instance, with this flag set a B<name> of \".example.com\" would match a "
327 "peer certificate with a DNS name of \"www.example.com\", but would not match "
328 "a peer certificate with a DNS name of \"www.sub.example.com\"; this flag "
329 "only applies to B<X509_check_host>."
330 msgstr ""
331
332 #. type: IX
333 #: archlinux debian-trixie debian-unstable
334 #, no-wrap
335 msgid "RETURN VALUES"
336 msgstr ""
337
338 #. type: Plain text
339 #: archlinux debian-trixie debian-unstable
340 msgid ""
341 "The functions return 1 for a successful match, 0 for a failed match and -1 "
342 "for an internal error: typically a memory allocation failure or an ASN.1 "
343 "decoding error."
344 msgstr ""
345
346 #. type: Plain text
347 #: archlinux debian-trixie debian-unstable
348 msgid ""
349 "All functions can also return -2 if the input is malformed. For example, "
350 "\\&B<X509_check_host()> returns -2 if the provided B<name> contains embedded "
351 "NULs."
352 msgstr ""
353
354 #. type: IX
355 #: archlinux debian-trixie debian-unstable
356 #, no-wrap
357 msgid "NOTES"
358 msgstr ""
359
360 #. type: Plain text
361 #: archlinux debian-trixie debian-unstable
362 msgid ""
363 "Applications are encouraged to use B<X509_VERIFY_PARAM_set1_host()> rather "
364 "than explicitly calling B<X509_check_host>\\|(3). Hostname checks may be out "
365 "of scope with the B<DANE-EE>\\|(3) certificate usage, and the internal "
366 "checks will be suppressed as appropriate when DANE support is enabled."
367 msgstr ""
368
369 #. type: IX
370 #: archlinux debian-trixie debian-unstable
371 #, no-wrap
372 msgid "SEE ALSO"
373 msgstr ""
374
375 #. type: Plain text
376 #: archlinux debian-trixie debian-unstable
377 msgid ""
378 "\\&B<SSL_get_verify_result>\\|(3), \\&B<X509_VERIFY_PARAM_set1_host>\\|(3), "
379 "\\&B<X509_VERIFY_PARAM_add1_host>\\|(3), "
380 "\\&B<X509_VERIFY_PARAM_set1_email>\\|(3), \\&B<X509_VERIFY_PARAM_set1_ip>\\|"
381 "(3)"
382 msgstr ""
383
384 #. type: IX
385 #: archlinux debian-trixie debian-unstable
386 #, no-wrap
387 msgid "HISTORY"
388 msgstr ""
389
390 #. type: Plain text
391 #: archlinux debian-trixie debian-unstable
392 msgid "These functions were added in OpenSSL 1.0.2."
393 msgstr ""
394
395 #. type: IX
396 #: archlinux debian-trixie debian-unstable
397 #, no-wrap
398 msgid "COPYRIGHT"
399 msgstr ""
400
401 #. type: Plain text
402 #: archlinux debian-trixie debian-unstable
403 msgid "Copyright 2012-2022 The OpenSSL Project Authors. All Rights Reserved."
404 msgstr ""
405
406 #. type: Plain text
407 #: archlinux debian-trixie debian-unstable
408 msgid ""
409 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
410 "this file except in compliance with the License. You can obtain a copy in "
411 "the file LICENSE in the source distribution or at E<lt>https://"
412 "www.openssl.org/source/license.htmlE<gt>."
413 msgstr ""
414
415 #. ========================================================================
416 #. type: IX
417 #: debian-trixie debian-unstable
418 #, no-wrap
419 msgid "X509_CHECK_HOST 3SSL"
420 msgstr ""
421
422 #. type: TH
423 #: debian-trixie
424 #, no-wrap
425 msgid "3.5.6"
426 msgstr ""