Debian Codegraph @

templates/man3/SSL_CTX_set_client_cert_cb.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_set_client_cert_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: SSL_CTX_set_client_cert_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: SSL_CTX_set_client_cert_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: SSL_CTX_set_client_cert_cb.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_SET_CLIENT_CERT_CB 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "SSL_CTX_SET_CLIENT_CERT_CB"
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_set_client_cert_cb, SSL_CTX_get_client_cert_cb - handle client "
79 "certificate callback function"
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/ssl.hE<gt>\n"
99 "\\&\n"
100 "\\& void SSL_CTX_set_client_cert_cb(SSL_CTX *ctx,\n"
101 "\\& int (*client_cert_cb)(SSL *ssl, X509 **x509,\n"
102 "\\& EVP_PKEY **pkey));\n"
103 "\\& int (*SSL_CTX_get_client_cert_cb(SSL_CTX *ctx))(SSL *ssl, X509 **x509,\n"
104 "\\& EVP_PKEY **pkey);\n"
105 msgstr ""
106
107 #. type: IX
108 #: archlinux debian-trixie debian-unstable
109 #, no-wrap
110 msgid "DESCRIPTION"
111 msgstr ""
112
113 #. type: Plain text
114 #: archlinux debian-trixie debian-unstable
115 msgid ""
116 "\\&B<SSL_CTX_set_client_cert_cb()> sets the I<client_cert_cb> callback, that "
117 "is called when a client certificate is requested by a server and no "
118 "certificate was yet set for the SSL object."
119 msgstr ""
120
121 #. type: Plain text
122 #: archlinux debian-trixie debian-unstable
123 msgid "When I<client_cert_cb> is NULL, no callback function is used."
124 msgstr ""
125
126 #. type: Plain text
127 #: archlinux debian-trixie debian-unstable
128 msgid ""
129 "\\&B<SSL_CTX_get_client_cert_cb()> returns a pointer to the currently set "
130 "callback function."
131 msgstr ""
132
133 #. type: Plain text
134 #: archlinux debian-trixie debian-unstable
135 msgid ""
136 "\\&I<client_cert_cb> is the application defined callback. If it wants to set "
137 "a certificate, a certificate/private key combination must be set using the "
138 "I<x509> and I<pkey> arguments and \"1\" must be returned. The certificate "
139 "will be installed into I<ssl>, see the NOTES and BUGS sections. If no "
140 "certificate should be set, \"0\" has to be returned and no certificate will "
141 "be sent. A negative return value will suspend the handshake and the "
142 "handshake function will return immediately. B<SSL_get_error>\\|(3) will "
143 "return SSL_ERROR_WANT_X509_LOOKUP to indicate, that the handshake was "
144 "suspended. The next call to the handshake function will again lead to the "
145 "call of I<client_cert_cb>. It is the job of the I<client_cert_cb> to store "
146 "information about the state of the last call, if required to continue."
147 msgstr ""
148
149 #. type: IX
150 #: archlinux debian-trixie debian-unstable
151 #, no-wrap
152 msgid "NOTES"
153 msgstr ""
154
155 #. type: Plain text
156 #: archlinux debian-trixie debian-unstable
157 msgid ""
158 "During a handshake (or renegotiation) a server may request a certificate "
159 "from the client. A client certificate must only be sent, when the server did "
160 "send the request."
161 msgstr ""
162
163 #. type: Plain text
164 #: archlinux debian-trixie debian-unstable
165 msgid ""
166 "When a certificate was set using the \\&B<SSL_CTX_use_certificate>\\|(3) "
167 "family of functions, it will be sent to the server. The TLS standard "
168 "requires that only a certificate is sent, if it matches the list of "
169 "acceptable CAs sent by the server. This constraint is violated by the "
170 "default behavior of the OpenSSL library. Using the callback function it is "
171 "possible to implement a proper selection routine or to allow a user "
172 "interaction to choose the certificate to be sent."
173 msgstr ""
174
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable
177 msgid ""
178 "If a callback function is defined and no certificate was yet defined for the "
179 "SSL object, the callback function will be called. If the callback function "
180 "returns a certificate, the OpenSSL library will try to load the private key "
181 "and certificate data into the SSL object using the B<SSL_use_certificate()> "
182 "and B<SSL_use_private_key()> functions. Thus it will permanently install "
183 "the certificate and key for this SSL object. It will not be reset by calling "
184 "B<SSL_clear>\\|(3). If the callback returns no certificate, the OpenSSL "
185 "library will not send a certificate."
186 msgstr ""
187
188 #. type: IX
189 #: archlinux debian-trixie debian-unstable
190 #, no-wrap
191 msgid "RETURN VALUES"
192 msgstr ""
193
194 #. type: Plain text
195 #: archlinux debian-trixie debian-unstable
196 msgid ""
197 "\\&B<SSL_CTX_get_client_cert_cb()> returns function pointer of "
198 "I<client_cert_cb> or NULL if the callback is not set."
199 msgstr ""
200
201 #. type: IX
202 #: archlinux debian-trixie debian-unstable
203 #, no-wrap
204 msgid "BUGS"
205 msgstr ""
206
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable
209 msgid ""
210 "The I<client_cert_cb> cannot return a complete certificate chain, it can "
211 "only return one client certificate. If the chain only has a length of 2, the "
212 "root CA certificate may be omitted according to the TLS standard and thus a "
213 "standard conforming answer can be sent to the server. For a longer chain, "
214 "the client must send the complete chain (with the option to leave out the "
215 "root CA certificate). This can only be accomplished by either adding the "
216 "intermediate CA certificates into the trusted certificate store for the "
217 "SSL_CTX object (resulting in having to add CA certificates that otherwise "
218 "maybe would not be trusted), or by adding the chain certificates using the "
219 "\\&B<SSL_CTX_add_extra_chain_cert>\\|(3) function, which is only available "
220 "for the SSL_CTX object as a whole and that therefore probably can only apply "
221 "for one client certificate, making the concept of the callback function (to "
222 "allow the choice from several certificates) questionable."
223 msgstr ""
224
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable
227 msgid ""
228 "Once the SSL object has been used in conjunction with the callback function, "
229 "the certificate will be set for the SSL object and will not be cleared even "
230 "when B<SSL_clear>\\|(3) is being called. It is therefore mandatory to "
231 "destroy the SSL object using B<SSL_free>\\|(3) and create a new one to "
232 "return to the previous state."
233 msgstr ""
234
235 #. type: IX
236 #: archlinux debian-trixie debian-unstable
237 #, no-wrap
238 msgid "SEE ALSO"
239 msgstr ""
240
241 #. type: Plain text
242 #: archlinux debian-trixie debian-unstable
243 msgid ""
244 "\\&B<ssl>\\|(7), B<SSL_CTX_use_certificate>\\|(3), "
245 "\\&B<SSL_CTX_add_extra_chain_cert>\\|(3), \\&B<SSL_get_client_CA_list>\\|"
246 "(3), \\&B<SSL_clear>\\|(3), B<SSL_free>\\|(3)"
247 msgstr ""
248
249 #. type: IX
250 #: archlinux debian-trixie debian-unstable
251 #, no-wrap
252 msgid "COPYRIGHT"
253 msgstr ""
254
255 #. type: Plain text
256 #: archlinux debian-trixie debian-unstable
257 msgid "Copyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved."
258 msgstr ""
259
260 #. type: Plain text
261 #: archlinux debian-trixie debian-unstable
262 msgid ""
263 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
264 "this file except in compliance with the License. You can obtain a copy in "
265 "the file LICENSE in the source distribution or at E<lt>https://"
266 "www.openssl.org/source/license.htmlE<gt>."
267 msgstr ""
268
269 #. ========================================================================
270 #. type: IX
271 #: debian-trixie debian-unstable
272 #, no-wrap
273 msgid "SSL_CTX_SET_CLIENT_CERT_CB 3SSL"
274 msgstr ""
275
276 #. type: TH
277 #: debian-trixie
278 #, no-wrap
279 msgid "3.5.6"
280 msgstr ""