Debian Codegraph @

templates/man3/SSL_CTX_set_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_cert_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: SSL_CTX_set_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_cert_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: SSL_CTX_set_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_CERT_CB 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "SSL_CTX_SET_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_cert_cb, SSL_set_cert_cb - handle certificate callback function"
79 msgstr ""
80
81 #. type: IX
82 #: archlinux debian-trixie debian-unstable
83 #, no-wrap
84 msgid "SYNOPSIS"
85 msgstr ""
86
87 #. type: IX
88 #: archlinux debian-trixie debian-unstable
89 #, no-wrap
90 msgid "Header"
91 msgstr ""
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable
95 #, no-wrap
96 msgid ""
97 "\\& #include E<lt>openssl/ssl.hE<gt>\n"
98 "\\&\n"
99 "\\& void SSL_CTX_set_cert_cb(SSL_CTX *c, int (*cert_cb)(SSL *ssl, void *arg),\n"
100 "\\& void *arg);\n"
101 "\\& void SSL_set_cert_cb(SSL *s, int (*cert_cb)(SSL *ssl, void *arg), void *arg);\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 debian-trixie debian-unstable
112 msgid ""
113 "\\&B<SSL_CTX_set_cert_cb()> and B<SSL_set_cert_cb()> sets the I<cert_cb> "
114 "callback, \\&I<arg> value is pointer which is passed to the application "
115 "callback."
116 msgstr ""
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable
120 msgid "When I<cert_cb> is NULL, no callback function is used."
121 msgstr ""
122
123 #. type: Plain text
124 #: archlinux debian-trixie debian-unstable
125 msgid ""
126 "\\&I<cert_cb> is the application defined callback. It is called before a "
127 "certificate will be used by a client or server. The callback can then "
128 "inspect the passed I<ssl> structure and set or clear any appropriate "
129 "certificates. If the callback is successful it B<MUST> return 1 even if no "
130 "certificates have been set. A zero is returned on error which will abort the "
131 "handshake with a fatal internal error alert. A negative return value will "
132 "suspend the handshake and the handshake function will return immediately. "
133 "\\&B<SSL_get_error>\\|(3) will return SSL_ERROR_WANT_X509_LOOKUP to "
134 "indicate, that the handshake was suspended. The next call to the handshake "
135 "function will again lead to the call of I<cert_cb>. It is the job of the "
136 "\\&I<cert_cb> to store information about the state of the last call, if "
137 "required to continue."
138 msgstr ""
139
140 #. type: IX
141 #: archlinux debian-trixie debian-unstable
142 #, no-wrap
143 msgid "NOTES"
144 msgstr ""
145
146 #. type: Plain text
147 #: archlinux debian-trixie debian-unstable
148 msgid ""
149 "An application will typically call B<SSL_use_certificate()> and "
150 "\\&B<SSL_use_PrivateKey()> to set the end entity certificate and private "
151 "key. It can add intermediate and optionally the root CA certificates using "
152 "\\&B<SSL_add1_chain_cert()>."
153 msgstr ""
154
155 #. type: Plain text
156 #: archlinux debian-trixie debian-unstable
157 msgid ""
158 "It might also call B<SSL_certs_clear()> to delete any certificates "
159 "associated with the B<SSL> object."
160 msgstr ""
161
162 #. type: Plain text
163 #: archlinux debian-trixie debian-unstable
164 msgid ""
165 "The certificate callback functionality supersedes the (largely broken) "
166 "functionality provided by the old client certificate callback interface. It "
167 "is B<always> called even is a certificate is already set so the callback can "
168 "modify or delete the existing certificate."
169 msgstr ""
170
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable
173 msgid ""
174 "A more advanced callback might examine the handshake parameters and set "
175 "whatever chain is appropriate. For example a legacy client supporting only "
176 "TLSv1.0 might receive a certificate chain signed using SHA1 whereas a "
177 "TLSv1.2 or later client which advertises support for SHA256 could receive a "
178 "chain using SHA256."
179 msgstr ""
180
181 #. type: Plain text
182 #: archlinux debian-trixie debian-unstable
183 msgid ""
184 "Normal server sanity checks are performed on any certificates set by the "
185 "callback. So if an EC chain is set for a curve the client does not support "
186 "it will B<not> be used."
187 msgstr ""
188
189 #. type: IX
190 #: archlinux debian-trixie debian-unstable
191 #, no-wrap
192 msgid "RETURN VALUES"
193 msgstr ""
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable
197 msgid ""
198 "\\&B<SSL_CTX_set_cert_cb()> and B<SSL_set_cert_cb()> do not return values."
199 msgstr ""
200
201 #. type: IX
202 #: archlinux debian-trixie debian-unstable
203 #, no-wrap
204 msgid "SEE ALSO"
205 msgstr ""
206
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable
209 msgid ""
210 "\\&B<ssl>\\|(7), B<SSL_use_certificate>\\|(3), \\&B<SSL_add1_chain_cert>\\|"
211 "(3), \\&B<SSL_get_client_CA_list>\\|(3), \\&B<SSL_clear>\\|(3), "
212 "B<SSL_free>\\|(3)"
213 msgstr ""
214
215 #. type: IX
216 #: archlinux debian-trixie debian-unstable
217 #, no-wrap
218 msgid "COPYRIGHT"
219 msgstr ""
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable
223 msgid "Copyright 2014-2020 The OpenSSL Project Authors. All Rights Reserved."
224 msgstr ""
225
226 #. type: Plain text
227 #: archlinux debian-trixie debian-unstable
228 msgid ""
229 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
230 "this file except in compliance with the License. You can obtain a copy in "
231 "the file LICENSE in the source distribution or at E<lt>https://"
232 "www.openssl.org/source/license.htmlE<gt>."
233 msgstr ""
234
235 #. ========================================================================
236 #. type: IX
237 #: debian-trixie debian-unstable
238 #, no-wrap
239 msgid "SSL_CTX_SET_CERT_CB 3SSL"
240 msgstr ""
241
242 #. type: TH
243 #: debian-trixie
244 #, no-wrap
245 msgid "3.5.6"
246 msgstr ""