Debian Codegraph @

templates/man3/EVP_PKEY_verify_recover.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:23+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: EVP_PKEY_verify_recover.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: EVP_PKEY_verify_recover.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: EVP_PKEY_verify_recover.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: EVP_PKEY_verify_recover.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 "EVP_PKEY_VERIFY_RECOVER 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "EVP_PKEY_VERIFY_RECOVER"
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 "EVP_PKEY_verify_recover_init, EVP_PKEY_verify_recover_init_ex, "
79 "EVP_PKEY_verify_recover_init_ex2, EVP_PKEY_verify_recover \\&- recover "
80 "signature using a public key algorithm"
81 msgstr ""
82
83 #. type: IX
84 #: archlinux debian-trixie debian-unstable
85 #, no-wrap
86 msgid "SYNOPSIS"
87 msgstr ""
88
89 #. type: IX
90 #: archlinux debian-trixie debian-unstable
91 #, no-wrap
92 msgid "Header"
93 msgstr ""
94
95 #. type: Plain text
96 #: archlinux debian-trixie debian-unstable
97 #, no-wrap
98 msgid ""
99 "\\& #include E<lt>openssl/evp.hE<gt>\n"
100 "\\&\n"
101 "\\& int EVP_PKEY_verify_recover_init(EVP_PKEY_CTX *ctx);\n"
102 "\\& int EVP_PKEY_verify_recover_init_ex(EVP_PKEY_CTX *ctx,\n"
103 "\\& const OSSL_PARAM params[]);\n"
104 "\\& int EVP_PKEY_verify_recover_init_ex2(EVP_PKEY_CTX *ctx, EVP_SIGNATURE *algo,\n"
105 "\\& const OSSL_PARAM params[]);\n"
106 "\\& int EVP_PKEY_verify_recover(EVP_PKEY_CTX *ctx,\n"
107 "\\& unsigned char *rout, size_t *routlen,\n"
108 "\\& const unsigned char *sig, size_t siglen);\n"
109 msgstr ""
110
111 #. type: IX
112 #: archlinux debian-trixie debian-unstable
113 #, no-wrap
114 msgid "DESCRIPTION"
115 msgstr ""
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable
119 msgid ""
120 "\\&B<EVP_PKEY_verify_recover_init()> initializes a public key algorithm "
121 "context \\&I<ctx> for signing using the algorithm given when the context was "
122 "created using B<EVP_PKEY_CTX_new>\\|(3) or variants thereof. The algorithm "
123 "is used to fetch a B<EVP_SIGNATURE> method implicitly, see \"Implicit "
124 "fetch\" in B<provider>\\|(7) for more information about implicit fetches."
125 msgstr ""
126
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable
129 msgid ""
130 "\\&B<EVP_PKEY_verify_recover_init_ex()> is the same as "
131 "\\&B<EVP_PKEY_verify_recover_init()> but additionally sets the passed "
132 "parameters \\&I<params> on the context before returning."
133 msgstr ""
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable
137 msgid ""
138 "\\&B<EVP_PKEY_verify_recover_init_ex2()> is the same as "
139 "B<EVP_PKEY_verify_recover_init_ex()>, but works with an explicitly fetched "
140 "B<EVP_SIGNATURE> I<algo>. A context I<ctx> without a pre-loaded key cannot "
141 "be used with this function. Depending on what algorithm was fetched, "
142 "certain details revolving around the treatment of the input to "
143 "B<EVP_PKEY_verify()> may be pre-determined, and in that case, those details "
144 "may normally not be changed. See \"NOTES\" below for a deeper explanation."
145 msgstr ""
146
147 #. type: Plain text
148 #: archlinux debian-trixie debian-unstable
149 msgid ""
150 "The B<EVP_PKEY_verify_recover()> function recovers signed data using I<ctx>. "
151 "The signature is specified using the I<sig> and \\&I<siglen> parameters. If "
152 "I<rout> is NULL then the maximum size of the output buffer is written to the "
153 "I<routlen> parameter. If I<rout> is not NULL then before the call the "
154 "I<routlen> parameter should contain the length of the \\&I<rout> buffer, if "
155 "the call is successful recovered data is written to \\&I<rout> and the "
156 "amount of data written to I<routlen>."
157 msgstr ""
158
159 #. type: IX
160 #: archlinux debian-trixie debian-unstable
161 #, no-wrap
162 msgid "NOTES"
163 msgstr ""
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable
167 msgid ""
168 "Normally an application is only interested in whether a signature "
169 "verification operation is successful in those cases the B<EVP_verify()> "
170 "function should be used."
171 msgstr ""
172
173 #. type: Plain text
174 #: archlinux debian-trixie debian-unstable
175 msgid ""
176 "Sometimes however it is useful to obtain the data originally signed using a "
177 "signing operation. Only certain public key algorithms can recover a "
178 "signature in this way (for example RSA in PKCS padding mode)."
179 msgstr ""
180
181 #. type: Plain text
182 #: archlinux debian-trixie debian-unstable
183 msgid ""
184 "After the call to B<EVP_PKEY_verify_recover_init()> algorithm specific "
185 "control operations can be performed to set any appropriate parameters for "
186 "the operation."
187 msgstr ""
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable
191 msgid ""
192 "After the call to B<EVP_PKEY_verify_recover_init_ex2()>, algorithm specific "
193 "control operations may not be needed if the chosen algorithm implies that "
194 "those controls pre-set (and immutable)."
195 msgstr ""
196
197 #. type: Plain text
198 #: archlinux debian-trixie debian-unstable
199 msgid ""
200 "The function B<EVP_PKEY_verify_recover()> can be called more than once on "
201 "the same context if several operations are performed using the same "
202 "parameters."
203 msgstr ""
204
205 #. type: IX
206 #: archlinux debian-trixie debian-unstable
207 #, no-wrap
208 msgid "RETURN VALUES"
209 msgstr ""
210
211 #. type: Plain text
212 #: archlinux debian-trixie debian-unstable
213 msgid ""
214 "\\&B<EVP_PKEY_verify_recover_init()> and B<EVP_PKEY_verify_recover()> return "
215 "1 for success and 0 or a negative value for failure. In particular a return "
216 "value of -2 indicates the operation is not supported by the public key "
217 "algorithm."
218 msgstr ""
219
220 #. type: IX
221 #: archlinux debian-trixie debian-unstable
222 #, no-wrap
223 msgid "EXAMPLES"
224 msgstr ""
225
226 #. type: Plain text
227 #: archlinux debian-trixie debian-unstable
228 msgid "Recover digest originally signed using PKCS#1 and SHA256 digest:"
229 msgstr ""
230
231 #. type: Plain text
232 #: archlinux debian-trixie debian-unstable
233 #, no-wrap
234 msgid ""
235 "\\& #include E<lt>openssl/evp.hE<gt>\n"
236 "\\& #include E<lt>openssl/rsa.hE<gt>\n"
237 "\\&\n"
238 "\\& EVP_PKEY_CTX *ctx;\n"
239 "\\& unsigned char *rout, *sig;\n"
240 "\\& size_t routlen, siglen;\n"
241 "\\& EVP_PKEY *verify_key;\n"
242 "\\&\n"
243 "\\& /*\n"
244 "\\& * NB: assumes verify_key, sig and siglen are already set up\n"
245 "\\& * and that verify_key is an RSA public key\n"
246 "\\& */\n"
247 "\\& ctx = EVP_PKEY_CTX_new(verify_key, NULL /* no engine */);\n"
248 "\\& if (!ctx)\n"
249 "\\& /* Error occurred */\n"
250 "\\& if (EVP_PKEY_verify_recover_init(ctx) E<lt>= 0)\n"
251 "\\& /* Error */\n"
252 "\\& if (EVP_PKEY_CTX_set_rsa_padding(ctx, RSA_PKCS1_PADDING) E<lt>= 0)\n"
253 "\\& /* Error */\n"
254 "\\& if (EVP_PKEY_CTX_set_signature_md(ctx, EVP_sha256()) E<lt>= 0)\n"
255 "\\& /* Error */\n"
256 "\\&\n"
257 "\\& /* Determine buffer length */\n"
258 "\\& if (EVP_PKEY_verify_recover(ctx, NULL, &routlen, sig, siglen) E<lt>= 0)\n"
259 "\\& /* Error */\n"
260 "\\&\n"
261 "\\& rout = OPENSSL_malloc(routlen);\n"
262 "\\&\n"
263 "\\& if (!rout)\n"
264 "\\& /* malloc failure */\n"
265 "\\&\n"
266 "\\& if (EVP_PKEY_verify_recover(ctx, rout, &routlen, sig, siglen) E<lt>= 0)\n"
267 "\\& /* Error */\n"
268 "\\&\n"
269 "\\& /* Recovered data is routlen bytes written to buffer rout */\n"
270 msgstr ""
271
272 #. type: IX
273 #: archlinux debian-trixie debian-unstable
274 #, no-wrap
275 msgid "SEE ALSO"
276 msgstr ""
277
278 #. type: Plain text
279 #: archlinux debian-trixie debian-unstable
280 msgid ""
281 "\\&B<EVP_PKEY_CTX_new>\\|(3), \\&B<EVP_PKEY_encrypt>\\|(3), "
282 "\\&B<EVP_PKEY_decrypt>\\|(3), \\&B<EVP_PKEY_sign>\\|(3), "
283 "\\&B<EVP_PKEY_verify>\\|(3), \\&B<EVP_PKEY_derive>\\|(3)"
284 msgstr ""
285
286 #. type: IX
287 #: archlinux debian-trixie debian-unstable
288 #, no-wrap
289 msgid "HISTORY"
290 msgstr ""
291
292 #. type: Plain text
293 #: archlinux debian-trixie debian-unstable
294 msgid ""
295 "The B<EVP_PKEY_verify_recover_init()> and B<EVP_PKEY_verify_recover()> "
296 "functions were added in OpenSSL 1.0.0."
297 msgstr ""
298
299 #. type: Plain text
300 #: archlinux debian-trixie debian-unstable
301 msgid ""
302 "The B<EVP_PKEY_verify_recover_init_ex()> function was added in OpenSSL 3.0."
303 msgstr ""
304
305 #. type: IX
306 #: archlinux debian-trixie debian-unstable
307 #, no-wrap
308 msgid "COPYRIGHT"
309 msgstr ""
310
311 #. type: Plain text
312 #: archlinux debian-trixie debian-unstable
313 msgid "Copyright 2013-2024 The OpenSSL Project Authors. All Rights Reserved."
314 msgstr ""
315
316 #. type: Plain text
317 #: archlinux debian-trixie debian-unstable
318 msgid ""
319 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
320 "this file except in compliance with the License. You can obtain a copy in "
321 "the file LICENSE in the source distribution or at E<lt>https://"
322 "www.openssl.org/source/license.htmlE<gt>."
323 msgstr ""
324
325 #. ========================================================================
326 #. type: IX
327 #: debian-trixie debian-unstable
328 #, no-wrap
329 msgid "EVP_PKEY_VERIFY_RECOVER 3SSL"
330 msgstr ""
331
332 #. type: TH
333 #: debian-trixie
334 #, no-wrap
335 msgid "3.5.6"
336 msgstr ""