Debian Codegraph @

templates/man3/EVP_DigestSignInit.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_DigestSignInit.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: EVP_DigestSignInit.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: EVP_DigestSignInit.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: EVP_DigestSignInit.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_DIGESTSIGNINIT 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "EVP_DIGESTSIGNINIT"
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_DigestSignInit_ex, EVP_DigestSignInit, EVP_DigestSignUpdate, "
79 "EVP_DigestSignFinal, EVP_DigestSign - EVP signing functions"
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/evp.hE<gt>\n"
99 "\\&\n"
100 "\\& int EVP_DigestSignInit_ex(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx,\n"
101 "\\& const char *mdname, OSSL_LIB_CTX *libctx,\n"
102 "\\& const char *props, EVP_PKEY *pkey,\n"
103 "\\& const OSSL_PARAM params[]);\n"
104 "\\& int EVP_DigestSignInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx,\n"
105 "\\& const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey);\n"
106 "\\& int EVP_DigestSignUpdate(EVP_MD_CTX *ctx, const void *d, size_t cnt);\n"
107 "\\& int EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sig, size_t *siglen);\n"
108 "\\&\n"
109 "\\& int EVP_DigestSign(EVP_MD_CTX *ctx, unsigned char *sig,\n"
110 "\\& size_t *siglen, const unsigned char *tbs,\n"
111 "\\& size_t tbslen);\n"
112 msgstr ""
113
114 #. type: IX
115 #: archlinux debian-trixie debian-unstable
116 #, no-wrap
117 msgid "DESCRIPTION"
118 msgstr ""
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable
122 msgid ""
123 "The EVP signature routines are a high-level interface to digital "
124 "signatures. Input data is digested first before the signing takes place."
125 msgstr ""
126
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable
129 msgid ""
130 "\\&B<EVP_DigestSignInit_ex()> sets up signing context I<ctx> to use a digest "
131 "with the name I<mdname> and private key I<pkey>. The name of the digest to "
132 "be used is passed to the provider of the signature algorithm in use. How "
133 "that provider interprets the digest name is provider specific. The provider "
134 "may implement that digest directly itself or it may (optionally) choose to "
135 "fetch it (which could result in a digest from a different provider being "
136 "selected). If the provider supports fetching the digest then it may use the "
137 "I<props> argument for the properties to be used during the fetch. Finally, "
138 "the passed parameters \\&I<params>, if not NULL, are set on the context "
139 "before returning."
140 msgstr ""
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable
144 msgid ""
145 "The I<pkey> algorithm is used to fetch a B<EVP_SIGNATURE> method implicitly, "
146 "to be used for the actual signing. See \"Implicit fetch\" in B<provider>\\|"
147 "(7) for more information about implicit fetches."
148 msgstr ""
149
150 #. type: Plain text
151 #: archlinux debian-trixie debian-unstable
152 msgid ""
153 "The OpenSSL default and legacy providers support fetching digests and can "
154 "fetch those digests from any available provider. The OpenSSL FIPS provider "
155 "also supports fetching digests but will only fetch digests that are "
156 "themselves implemented inside the FIPS provider."
157 msgstr ""
158
159 #. type: Plain text
160 #: archlinux debian-trixie debian-unstable
161 msgid ""
162 "\\&I<ctx> must be created with B<EVP_MD_CTX_new()> before calling this "
163 "function. If \\&I<pctx> is not NULL, the EVP_PKEY_CTX of the signing "
164 "operation will be written to I<*pctx>: this can be used to set alternative "
165 "signing options. Note that any existing value in I<*pctx> is overwritten. "
166 "The EVP_PKEY_CTX value returned must not be freed directly by the "
167 "application if I<ctx> is not assigned an EVP_PKEY_CTX value before being "
168 "passed to B<EVP_DigestSignInit_ex()> (which means the EVP_PKEY_CTX is "
169 "created inside B<EVP_DigestSignInit_ex()> and it will be freed automatically "
170 "when the EVP_MD_CTX is freed). If the EVP_PKEY_CTX to be used is created by "
171 "EVP_DigestSignInit_ex then it will use the B<OSSL_LIB_CTX> specified in "
172 "I<libctx> and the property query string specified in I<props>."
173 msgstr ""
174
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable
177 msgid ""
178 "The digest I<mdname> may be NULL if the signing algorithm supports it. The "
179 "\\&I<props> argument can always be NULL."
180 msgstr ""
181
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable
184 msgid ""
185 "No B<EVP_PKEY_CTX> will be created by B<EVP_DigestSignInit_ex()> if the "
186 "passed I<ctx> has already been assigned one via B<EVP_MD_CTX_set_pkey_ctx>\\|"
187 "(3). See also B<SM2>\\|(7)."
188 msgstr ""
189
190 #. type: Plain text
191 #: archlinux debian-trixie debian-unstable
192 msgid ""
193 "Only EVP_PKEY types that support signing can be used with these functions. "
194 "This includes MAC algorithms where the MAC generation is considered as a "
195 "form of \"signing\". Built-in EVP_PKEY types supported by these functions "
196 "are CMAC, Poly1305, DSA, ECDSA, HMAC, RSA, SipHash, Ed25519 and Ed448."
197 msgstr ""
198
199 #. type: Plain text
200 #: archlinux debian-trixie debian-unstable
201 msgid ""
202 "Not all digests can be used for all key types. The following combinations "
203 "apply."
204 msgstr ""
205
206 #. type: IX
207 #: archlinux debian-trixie debian-unstable
208 #, no-wrap
209 msgid "DSA"
210 msgstr ""
211
212 #. type: IX
213 #: archlinux debian-trixie debian-unstable
214 #, no-wrap
215 msgid "Item"
216 msgstr ""
217
218 #. type: Plain text
219 #: archlinux debian-trixie debian-unstable
220 msgid "Supports SHA1, SHA224, SHA256, SHA384 and SHA512"
221 msgstr ""
222
223 #. type: IX
224 #: archlinux debian-trixie debian-unstable
225 #, no-wrap
226 msgid "ECDSA"
227 msgstr ""
228
229 #. type: Plain text
230 #: archlinux debian-trixie debian-unstable
231 msgid "Supports SHA1, SHA224, SHA256, SHA384, SHA512 and SM3"
232 msgstr ""
233
234 #. type: IX
235 #: archlinux debian-trixie debian-unstable
236 #, no-wrap
237 msgid "RSA with no padding"
238 msgstr ""
239
240 #. type: Plain text
241 #: archlinux debian-trixie debian-unstable
242 msgid "Supports no digests (the digest I<type> must be NULL)"
243 msgstr ""
244
245 #. type: IX
246 #: archlinux debian-trixie debian-unstable
247 #, no-wrap
248 msgid "RSA with X931 padding"
249 msgstr ""
250
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable
253 msgid "Supports SHA1, SHA256, SHA384 and SHA512"
254 msgstr ""
255
256 #. type: IX
257 #: archlinux debian-trixie debian-unstable
258 #, no-wrap
259 msgid "All other RSA padding types"
260 msgstr ""
261
262 #. type: Plain text
263 #: archlinux debian-trixie debian-unstable
264 msgid ""
265 "Support SHA1, SHA224, SHA256, SHA384, SHA512, MD5, MD5_SHA1, MD2, MD4, MDC2, "
266 "SHA3-224, SHA3-256, SHA3-384, SHA3-512"
267 msgstr ""
268
269 #. type: IX
270 #: archlinux debian-trixie debian-unstable
271 #, no-wrap
272 msgid "Ed25519 and Ed448"
273 msgstr ""
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable
277 msgid "Support no digests (the digest I<type> must be NULL)"
278 msgstr ""
279
280 #. type: IX
281 #: archlinux debian-trixie debian-unstable
282 #, no-wrap
283 msgid "HMAC"
284 msgstr ""
285
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable
288 msgid "Supports any digest"
289 msgstr ""
290
291 #. type: IX
292 #: archlinux debian-trixie debian-unstable
293 #, no-wrap
294 msgid "CMAC, Poly1305 and SipHash"
295 msgstr ""
296
297 #. type: Plain text
298 #: archlinux debian-trixie debian-unstable
299 msgid "Will ignore any digest provided."
300 msgstr ""
301
302 #. type: Plain text
303 #: archlinux debian-trixie debian-unstable
304 msgid "If RSA-PSS is used and restrictions apply then the digest must match."
305 msgstr ""
306
307 #. type: Plain text
308 #: archlinux debian-trixie debian-unstable
309 msgid ""
310 "\\&B<EVP_DigestSignInit()> works in the same way as "
311 "B<EVP_DigestSignInit_ex()> except that the I<mdname> parameter will be "
312 "inferred from the supplied digest I<type>, and I<props> will be NULL. Where "
313 "supplied the ENGINE I<e> will be used for the signing and digest algorithm "
314 "implementations. I<e> may be NULL."
315 msgstr ""
316
317 #. type: Plain text
318 #: archlinux debian-trixie debian-unstable
319 msgid ""
320 "\\&B<EVP_DigestSignUpdate()> hashes I<cnt> bytes of data at I<d> into the "
321 "signature context I<ctx>. This function can be called several times on the "
322 "same I<ctx> to include additional data. I<ctx> B<MUST NOT> be NULL."
323 msgstr ""
324
325 #. type: Plain text
326 #: archlinux debian-trixie debian-unstable
327 msgid ""
328 "Unless I<sig> is NULL B<EVP_DigestSignFinal()> signs the data in I<ctx> and "
329 "places the signature in I<sig>. Otherwise the maximum necessary size of the "
330 "output buffer is written to the I<siglen> parameter. If I<sig> is not NULL "
331 "then before the call the \\&I<siglen> parameter should contain the length of "
332 "the I<sig> buffer. If the call is successful the signature is written to "
333 "I<sig> and the amount of data written to I<siglen>."
334 msgstr ""
335
336 #. type: Plain text
337 #: archlinux debian-trixie debian-unstable
338 msgid ""
339 "\\&B<EVP_DigestSign()> is similar to a single call to "
340 "B<EVP_DigestSignUpdate()> and \\&B<EVP_DigestSignFinal()>. Unless I<sig> is "
341 "NULL, B<EVP_DigestSign()> signs the data I<tbs> of length I<tbslen> bytes "
342 "and places the signature in a buffer I<sig> of size I<siglen>. If I<sig> is "
343 "NULL, the maximum necessary size of the signature buffer is written to the "
344 "I<siglen> parameter."
345 msgstr ""
346
347 #. type: IX
348 #: archlinux debian-trixie debian-unstable
349 #, no-wrap
350 msgid "RETURN VALUES"
351 msgstr ""
352
353 #. type: Plain text
354 #: archlinux debian-trixie debian-unstable
355 msgid ""
356 "\\&B<EVP_DigestSignInit()>, B<EVP_DigestSignUpdate()>, "
357 "B<EVP_DigestSignFinal()> and \\&B<EVP_DigestSign()> return 1 for success and "
358 "0 for failure."
359 msgstr ""
360
361 #. type: Plain text
362 #: archlinux debian-trixie debian-unstable
363 msgid "The error codes can be obtained from B<ERR_get_error>\\|(3)."
364 msgstr ""
365
366 #. type: IX
367 #: archlinux debian-trixie debian-unstable
368 #, no-wrap
369 msgid "NOTES"
370 msgstr ""
371
372 #. type: Plain text
373 #: archlinux debian-trixie debian-unstable
374 msgid ""
375 "The B<EVP> interface to digital signatures should almost always be used in "
376 "preference to the low-level interfaces. This is because the code then "
377 "becomes transparent to the algorithm used and much more flexible."
378 msgstr ""
379
380 #. type: Plain text
381 #: archlinux debian-trixie debian-unstable
382 msgid ""
383 "\\&B<EVP_DigestSign()> is a one shot operation which signs a single block of "
384 "data in one function. For algorithms that support streaming it is equivalent "
385 "to calling B<EVP_DigestSignUpdate()> and B<EVP_DigestSignFinal()>. For "
386 "algorithms which do not support streaming (e.g. PureEdDSA) it is the only "
387 "way to sign data."
388 msgstr ""
389
390 #. type: Plain text
391 #: archlinux debian-trixie debian-unstable
392 msgid ""
393 "In previous versions of OpenSSL there was a link between message digest "
394 "types and public key algorithms. This meant that \"clone\" digests such as "
395 "B<EVP_dss1()> needed to be used to sign using SHA1 and DSA. This is no "
396 "longer necessary and the use of clone digest is now discouraged."
397 msgstr ""
398
399 #. type: Plain text
400 #: archlinux debian-trixie debian-unstable
401 msgid ""
402 "For some key types and parameters the random number generator must be "
403 "seeded. If the automatic seeding or reseeding of the OpenSSL CSPRNG fails "
404 "due to external circumstances (see B<RAND>\\|(7)), the operation will fail."
405 msgstr ""
406
407 #. type: Plain text
408 #: archlinux debian-trixie debian-unstable
409 msgid ""
410 "The call to B<EVP_DigestSignFinal()> internally finalizes a copy of the "
411 "digest context. This means that calls to B<EVP_DigestSignUpdate()> and "
412 "\\&B<EVP_DigestSignFinal()> can be called later to digest and sign "
413 "additional data. Applications may disable this behavior by setting the "
414 "EVP_MD_CTX_FLAG_FINALISE context flag via B<EVP_MD_CTX_set_flags>\\|(3)."
415 msgstr ""
416
417 #. type: Plain text
418 #: archlinux debian-trixie debian-unstable
419 msgid ""
420 "Note that not all providers support continuation, in case the selected "
421 "provider does not allow to duplicate contexts B<EVP_DigestSignFinal()> will "
422 "finalize the digest context and attempting to process additional data via "
423 "\\&B<EVP_DigestSignUpdate()> will result in an error."
424 msgstr ""
425
426 #. type: Plain text
427 #: archlinux debian-trixie debian-unstable
428 msgid ""
429 "\\&B<EVP_DigestSignInit()> and B<EVP_DigestSignInit_ex()> functions can be "
430 "called multiple times on a context and the parameters set by previous calls "
431 "should be preserved if the I<pkey> parameter is NULL. The call then just "
432 "resets the state of the I<ctx>."
433 msgstr ""
434
435 #. type: Plain text
436 #: archlinux debian-trixie debian-unstable
437 msgid ""
438 "\\&B<EVP_DigestSign()> can not be called again, once a signature is "
439 "generated (by passing I<sig> as non NULL), unless the B<EVP_MD_CTX> is "
440 "reinitialised by calling B<EVP_DigestSignInit_ex()>."
441 msgstr ""
442
443 #. type: Plain text
444 #: archlinux debian-trixie debian-unstable
445 msgid ""
446 "Ignoring failure returns of B<EVP_DigestSignInit()> and "
447 "B<EVP_DigestSignInit_ex()> functions can lead to subsequent undefined "
448 "behavior when calling \\&B<EVP_DigestSignUpdate()>, "
449 "B<EVP_DigestSignFinal()>, or B<EVP_DigestSign()>."
450 msgstr ""
451
452 #. type: Plain text
453 #: archlinux debian-trixie debian-unstable
454 msgid ""
455 "The use of B<EVP_PKEY_get_size()> with these functions is discouraged "
456 "because some signature operations may have a signature length which depends "
457 "on the parameters set. As a result B<EVP_PKEY_get_size()> would have to "
458 "return a value which indicates the maximum possible signature for any set of "
459 "parameters."
460 msgstr ""
461
462 #. type: IX
463 #: archlinux debian-trixie debian-unstable
464 #, no-wrap
465 msgid "SEE ALSO"
466 msgstr ""
467
468 #. type: Plain text
469 #: archlinux debian-trixie debian-unstable
470 msgid ""
471 "\\&B<EVP_DigestVerifyInit>\\|(3), \\&B<EVP_DigestInit>\\|(3), \\&B<evp>\\|"
472 "(7), B<HMAC>\\|(3), B<MD2>\\|(3), \\&B<MD5>\\|(3), B<MDC2>\\|(3), "
473 "B<RIPEMD160>\\|(3), \\&B<SHA1>\\|(3), B<openssl-dgst>\\|(1), \\&B<RAND>\\|(7)"
474 msgstr ""
475
476 #. type: IX
477 #: archlinux debian-trixie debian-unstable
478 #, no-wrap
479 msgid "HISTORY"
480 msgstr ""
481
482 #. type: Plain text
483 #: archlinux debian-trixie debian-unstable
484 msgid ""
485 "\\&B<EVP_DigestSignInit()>, B<EVP_DigestSignUpdate()> and "
486 "B<EVP_DigestSignFinal()> were added in OpenSSL 1.0.0."
487 msgstr ""
488
489 #. type: Plain text
490 #: archlinux debian-trixie debian-unstable
491 msgid "\\&B<EVP_DigestSignInit_ex()> was added in OpenSSL 3.0."
492 msgstr ""
493
494 #. type: Plain text
495 #: archlinux debian-trixie debian-unstable
496 msgid ""
497 "\\&B<EVP_DigestSignUpdate()> was converted from a macro to a function in "
498 "OpenSSL 3.0."
499 msgstr ""
500
501 #. type: IX
502 #: archlinux debian-trixie debian-unstable
503 #, no-wrap
504 msgid "COPYRIGHT"
505 msgstr ""
506
507 #. type: Plain text
508 #: archlinux debian-trixie debian-unstable
509 msgid "Copyright 2006-2024 The OpenSSL Project Authors. All Rights Reserved."
510 msgstr ""
511
512 #. type: Plain text
513 #: archlinux debian-trixie debian-unstable
514 msgid ""
515 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
516 "this file except in compliance with the License. You can obtain a copy in "
517 "the file LICENSE in the source distribution or at E<lt>https://"
518 "www.openssl.org/source/license.htmlE<gt>."
519 msgstr ""
520
521 #. ========================================================================
522 #. type: IX
523 #: debian-trixie debian-unstable
524 #, no-wrap
525 msgid "EVP_DIGESTSIGNINIT 3SSL"
526 msgstr ""
527
528 #. type: TH
529 #: debian-trixie
530 #, no-wrap
531 msgid "3.5.6"
532 msgstr ""