Debian Codegraph @

templates/man3/SSL_CTX_add1_chain_cert.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:44+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: SSL_CTX_add1_chain_cert.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: SSL_CTX_add1_chain_cert.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: SSL_CTX_add1_chain_cert.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: SSL_CTX_add1_chain_cert.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 "SSL_CTX_ADD1_CHAIN_CERT 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "SSL_CTX_ADD1_CHAIN_CERT"
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 "SSL_CTX_set0_chain, SSL_CTX_set1_chain, SSL_CTX_add0_chain_cert, "
79 "SSL_CTX_add1_chain_cert, SSL_CTX_get0_chain_certs, "
80 "SSL_CTX_clear_chain_certs, SSL_set0_chain, SSL_set1_chain, "
81 "SSL_add0_chain_cert, SSL_add1_chain_cert, SSL_get0_chain_certs, "
82 "SSL_clear_chain_certs, SSL_CTX_build_cert_chain, SSL_build_cert_chain, "
83 "SSL_CTX_select_current_cert, SSL_select_current_cert, "
84 "SSL_CTX_set_current_cert, SSL_set_current_cert - extra chain certificate "
85 "processing"
86 msgstr ""
87
88 #. type: IX
89 #: archlinux debian-trixie debian-unstable
90 #, no-wrap
91 msgid "SYNOPSIS"
92 msgstr ""
93
94 #. type: IX
95 #: archlinux debian-trixie debian-unstable
96 #, no-wrap
97 msgid "Header"
98 msgstr ""
99
100 #. type: Plain text
101 #: archlinux debian-trixie debian-unstable
102 #, no-wrap
103 msgid ""
104 "\\& #include E<lt>openssl/ssl.hE<gt>\n"
105 "\\&\n"
106 "\\& int SSL_CTX_set0_chain(SSL_CTX *ctx, STACK_OF(X509) *sk);\n"
107 "\\& int SSL_CTX_set1_chain(SSL_CTX *ctx, STACK_OF(X509) *sk);\n"
108 "\\& int SSL_CTX_add0_chain_cert(SSL_CTX *ctx, X509 *x509);\n"
109 "\\& int SSL_CTX_add1_chain_cert(SSL_CTX *ctx, X509 *x509);\n"
110 "\\& int SSL_CTX_get0_chain_certs(SSL_CTX *ctx, STACK_OF(X509) **sk);\n"
111 "\\& int SSL_CTX_clear_chain_certs(SSL_CTX *ctx);\n"
112 "\\&\n"
113 "\\& int SSL_set0_chain(SSL *ssl, STACK_OF(X509) *sk);\n"
114 "\\& int SSL_set1_chain(SSL *ssl, STACK_OF(X509) *sk);\n"
115 "\\& int SSL_add0_chain_cert(SSL *ssl, X509 *x509);\n"
116 "\\& int SSL_add1_chain_cert(SSL *ssl, X509 *x509);\n"
117 "\\& int SSL_get0_chain_certs(SSL *ssl, STACK_OF(X509) **sk);\n"
118 "\\& int SSL_clear_chain_certs(SSL *ssl);\n"
119 "\\&\n"
120 "\\& int SSL_CTX_build_cert_chain(SSL_CTX *ctx, flags);\n"
121 "\\& int SSL_build_cert_chain(SSL *ssl, flags);\n"
122 "\\&\n"
123 "\\& int SSL_CTX_select_current_cert(SSL_CTX *ctx, X509 *x509);\n"
124 "\\& int SSL_select_current_cert(SSL *ssl, X509 *x509);\n"
125 "\\& int SSL_CTX_set_current_cert(SSL_CTX *ctx, long op);\n"
126 "\\& int SSL_set_current_cert(SSL *ssl, long op);\n"
127 msgstr ""
128
129 #. type: IX
130 #: archlinux debian-trixie debian-unstable
131 #, no-wrap
132 msgid "DESCRIPTION"
133 msgstr ""
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable
137 msgid ""
138 "\\&B<SSL_CTX_set0_chain()> and B<SSL_CTX_set1_chain()> set the certificate "
139 "chain associated with the current certificate of B<ctx> to B<sk>."
140 msgstr ""
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable
144 msgid ""
145 "\\&B<SSL_CTX_add0_chain_cert()> and B<SSL_CTX_add1_chain_cert()> append the "
146 "single certificate B<x509> to the chain associated with the current "
147 "certificate of \\&B<ctx>."
148 msgstr ""
149
150 #. type: Plain text
151 #: archlinux debian-trixie debian-unstable
152 msgid ""
153 "\\&B<SSL_CTX_get0_chain_certs()> retrieves the chain associated with the "
154 "current certificate of B<ctx>."
155 msgstr ""
156
157 #. type: Plain text
158 #: archlinux debian-trixie debian-unstable
159 msgid ""
160 "\\&B<SSL_CTX_clear_chain_certs()> clears any existing chain associated with "
161 "the current certificate of B<ctx>. (This is implemented by calling "
162 "\\&B<SSL_CTX_set0_chain()> with B<sk> set to B<NULL>)."
163 msgstr ""
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable
167 msgid ""
168 "\\&B<SSL_CTX_build_cert_chain()> builds the certificate chain for B<ctx>. "
169 "Normally this uses the chain store or the verify store if the chain store is "
170 "not set. If the function is successful the built chain will replace any "
171 "existing chain. The B<flags> parameter can be set to "
172 "B<SSL_BUILD_CHAIN_FLAG_UNTRUSTED> to use existing chain certificates as "
173 "untrusted CAs, B<SSL_BUILD_CHAIN_FLAG_NO_ROOT> to omit the root CA from the "
174 "built chain, B<SSL_BUILD_CHAIN_FLAG_CHECK> to use all existing chain "
175 "certificates only to build the chain (effectively sanity checking and "
176 "rearranging them if necessary), the flag "
177 "\\&B<SSL_BUILD_CHAIN_FLAG_IGNORE_ERROR> ignores any errors during "
178 "verification: if flag B<SSL_BUILD_CHAIN_FLAG_CLEAR_ERROR> is also set "
179 "verification errors are cleared from the error queue. Details of the chain "
180 "building process are described in \"Certification Path Building\" in "
181 "B<openssl-verification-options>\\|(1)."
182 msgstr ""
183
184 #. type: Plain text
185 #: archlinux debian-trixie debian-unstable
186 msgid ""
187 "Each of these functions operates on the I<current> end entity (i.e. server "
188 "or client) certificate. This is the last certificate loaded or selected on "
189 "the corresponding B<ctx> structure."
190 msgstr ""
191
192 #. type: Plain text
193 #: archlinux debian-trixie debian-unstable
194 msgid ""
195 "\\&B<SSL_CTX_select_current_cert()> selects B<x509> as the current end "
196 "entity certificate, but only if B<x509> has already been loaded into B<ctx> "
197 "using a function such as B<SSL_CTX_use_certificate()>."
198 msgstr ""
199
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable
202 msgid ""
203 "\\&B<SSL_set0_chain()>, B<SSL_set1_chain()>, B<SSL_add0_chain_cert()>, "
204 "\\&B<SSL_add1_chain_cert()>, B<SSL_get0_chain_certs()>, "
205 "B<SSL_clear_chain_certs()>, \\&B<SSL_build_cert_chain()>, "
206 "B<SSL_select_current_cert()> and B<SSL_set_current_cert()> are similar "
207 "except they apply to SSL structure B<ssl>."
208 msgstr ""
209
210 #. type: Plain text
211 #: archlinux debian-trixie debian-unstable
212 msgid ""
213 "\\&B<SSL_CTX_set_current_cert()> changes the current certificate to a value "
214 "based on the B<op> argument. Currently B<op> can be B<SSL_CERT_SET_FIRST> to "
215 "use the first valid certificate or B<SSL_CERT_SET_NEXT> to set the next "
216 "valid certificate after the current certificate. These two operations can be "
217 "used to iterate over all certificates in an B<SSL_CTX> structure."
218 msgstr ""
219
220 #. type: Plain text
221 #: archlinux debian-trixie debian-unstable
222 msgid ""
223 "\\&B<SSL_set_current_cert()> also supports the option "
224 "B<SSL_CERT_SET_SERVER>. If B<ssl> is a server and has sent a certificate to "
225 "a connected client this option sets that certificate to the current "
226 "certificate and returns 1. If the negotiated cipher suite is anonymous (and "
227 "thus no certificate will be sent) 2 is returned and the current certificate "
228 "is unchanged. If B<ssl> is not a server or a certificate has not been sent 0 "
229 "is returned and the current certificate is unchanged."
230 msgstr ""
231
232 #. type: Plain text
233 #: archlinux debian-trixie debian-unstable
234 msgid ""
235 "All these functions are implemented as macros. Those containing a B<1> "
236 "increment the reference count of the supplied certificate or chain so it "
237 "must be freed at some point after the operation. Those containing a B<0> do "
238 "not increment reference counts and the supplied certificate or chain "
239 "\\&B<MUST NOT> be freed after the operation."
240 msgstr ""
241
242 #. type: IX
243 #: archlinux debian-trixie debian-unstable
244 #, no-wrap
245 msgid "NOTES"
246 msgstr ""
247
248 #. type: Plain text
249 #: archlinux debian-trixie debian-unstable
250 msgid ""
251 "The chains associate with an SSL_CTX structure are copied to any SSL "
252 "structures when B<SSL_new()> is called. SSL structures will not be affected "
253 "by any chains subsequently changed in the parent SSL_CTX."
254 msgstr ""
255
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable
258 msgid ""
259 "One chain can be set for each key type supported by a server. So, for "
260 "example, an RSA and a DSA certificate can (and often will) have different "
261 "chains."
262 msgstr ""
263
264 #. type: Plain text
265 #: archlinux debian-trixie debian-unstable
266 msgid ""
267 "The functions B<SSL_CTX_build_cert_chain()> and B<SSL_build_cert_chain()> "
268 "can be used to check application configuration and to ensure any necessary "
269 "subordinate CAs are sent in the correct order. Misconfigured applications "
270 "sending incorrect certificate chains often cause problems with peers."
271 msgstr ""
272
273 #. type: Plain text
274 #: archlinux debian-trixie debian-unstable
275 msgid ""
276 "For example an application can add any set of certificates using "
277 "\\&B<SSL_CTX_use_certificate_chain_file()> then call "
278 "B<SSL_CTX_build_cert_chain()> with the option B<SSL_BUILD_CHAIN_FLAG_CHECK> "
279 "to check and reorder them."
280 msgstr ""
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable
284 msgid ""
285 "Applications can issue non fatal warnings when checking chains by setting "
286 "the flag B<SSL_BUILD_CHAIN_FLAG_IGNORE_ERRORS> and checking the return value."
287 msgstr ""
288
289 #. type: Plain text
290 #: archlinux debian-trixie debian-unstable
291 msgid ""
292 "Calling B<SSL_CTX_build_cert_chain()> or B<SSL_build_cert_chain()> is more "
293 "efficient than the automatic chain building as it is only performed once. "
294 "Automatic chain building is performed on each new session."
295 msgstr ""
296
297 #. type: Plain text
298 #: archlinux debian-trixie debian-unstable
299 msgid ""
300 "If any certificates are added using these functions no certificates added "
301 "using B<SSL_CTX_add_extra_chain_cert()> will be used."
302 msgstr ""
303
304 #. type: IX
305 #: archlinux debian-trixie debian-unstable
306 #, no-wrap
307 msgid "RETURN VALUES"
308 msgstr ""
309
310 #. type: Plain text
311 #: archlinux debian-trixie debian-unstable
312 msgid ""
313 "\\&B<SSL_set_current_cert()> with B<SSL_CERT_SET_SERVER> return 1 for "
314 "success, 2 if no server certificate is used because the cipher suites is "
315 "anonymous and 0 for failure."
316 msgstr ""
317
318 #. type: Plain text
319 #: archlinux debian-trixie debian-unstable
320 msgid ""
321 "\\&B<SSL_CTX_build_cert_chain()> and B<SSL_build_cert_chain()> return 1 for "
322 "success and 0 for failure. If the flag B<SSL_BUILD_CHAIN_FLAG_IGNORE_ERROR> "
323 "and a verification error occurs then 2 is returned."
324 msgstr ""
325
326 #. type: Plain text
327 #: archlinux debian-trixie debian-unstable
328 msgid "All other functions return 1 for success and 0 for failure."
329 msgstr ""
330
331 #. type: IX
332 #: archlinux debian-trixie debian-unstable
333 #, no-wrap
334 msgid "SEE ALSO"
335 msgstr ""
336
337 #. type: Plain text
338 #: archlinux debian-trixie debian-unstable
339 msgid "\\&B<ssl>\\|(7), \\&B<SSL_CTX_add_extra_chain_cert>\\|(3)"
340 msgstr ""
341
342 #. type: IX
343 #: archlinux debian-trixie debian-unstable
344 #, no-wrap
345 msgid "HISTORY"
346 msgstr ""
347
348 #. type: Plain text
349 #: archlinux debian-trixie debian-unstable
350 msgid "These functions were added in OpenSSL 1.0.2."
351 msgstr ""
352
353 #. type: IX
354 #: archlinux debian-trixie debian-unstable
355 #, no-wrap
356 msgid "COPYRIGHT"
357 msgstr ""
358
359 #. type: Plain text
360 #: archlinux debian-trixie debian-unstable
361 msgid "Copyright 2013-2021 The OpenSSL Project Authors. All Rights Reserved."
362 msgstr ""
363
364 #. type: Plain text
365 #: archlinux debian-trixie debian-unstable
366 msgid ""
367 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
368 "this file except in compliance with the License. You can obtain a copy in "
369 "the file LICENSE in the source distribution or at E<lt>https://"
370 "www.openssl.org/source/license.htmlE<gt>."
371 msgstr ""
372
373 #. ========================================================================
374 #. type: IX
375 #: debian-trixie debian-unstable
376 #, no-wrap
377 msgid "SSL_CTX_ADD1_CHAIN_CERT 3SSL"
378 msgstr ""
379
380 #. type: TH
381 #: debian-trixie
382 #, no-wrap
383 msgid "3.5.6"
384 msgstr ""