Debian Codegraph @

templates/man3/EVP_PKEY_new.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_new.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: EVP_PKEY_new.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: EVP_PKEY_new.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: EVP_PKEY_new.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_NEW 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "EVP_PKEY_NEW"
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, EVP_PKEY_new, EVP_PKEY_up_ref, EVP_PKEY_dup, EVP_PKEY_free, "
79 "EVP_PKEY_new_raw_private_key_ex, EVP_PKEY_new_raw_private_key, "
80 "EVP_PKEY_new_raw_public_key_ex, EVP_PKEY_new_raw_public_key, "
81 "EVP_PKEY_new_CMAC_key, EVP_PKEY_new_mac_key, EVP_PKEY_get_raw_private_key, "
82 "EVP_PKEY_get_raw_public_key \\&- public/private key allocation and raw key "
83 "handling functions"
84 msgstr ""
85
86 #. type: IX
87 #: archlinux debian-trixie debian-unstable
88 #, no-wrap
89 msgid "SYNOPSIS"
90 msgstr ""
91
92 #. type: IX
93 #: archlinux debian-trixie debian-unstable
94 #, no-wrap
95 msgid "Header"
96 msgstr ""
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable
100 #, no-wrap
101 msgid ""
102 "\\& #include E<lt>openssl/evp.hE<gt>\n"
103 "\\&\n"
104 "\\& typedef evp_pkey_st EVP_PKEY;\n"
105 "\\&\n"
106 "\\& EVP_PKEY *EVP_PKEY_new(void);\n"
107 "\\& int EVP_PKEY_up_ref(EVP_PKEY *key);\n"
108 "\\& EVP_PKEY *EVP_PKEY_dup(EVP_PKEY *key);\n"
109 "\\& void EVP_PKEY_free(EVP_PKEY *key);\n"
110 "\\&\n"
111 "\\& EVP_PKEY *EVP_PKEY_new_raw_private_key_ex(OSSL_LIB_CTX *libctx,\n"
112 "\\& const char *keytype,\n"
113 "\\& const char *propq,\n"
114 "\\& const unsigned char *key,\n"
115 "\\& size_t keylen);\n"
116 "\\& EVP_PKEY *EVP_PKEY_new_raw_private_key(int type, ENGINE *e,\n"
117 "\\& const unsigned char *key, size_t keylen);\n"
118 "\\& EVP_PKEY *EVP_PKEY_new_raw_public_key_ex(OSSL_LIB_CTX *libctx,\n"
119 "\\& const char *keytype,\n"
120 "\\& const char *propq,\n"
121 "\\& const unsigned char *key,\n"
122 "\\& size_t keylen);\n"
123 "\\& EVP_PKEY *EVP_PKEY_new_raw_public_key(int type, ENGINE *e,\n"
124 "\\& const unsigned char *key, size_t keylen);\n"
125 "\\& EVP_PKEY *EVP_PKEY_new_mac_key(int type, ENGINE *e, const unsigned char *key,\n"
126 "\\& int keylen);\n"
127 "\\&\n"
128 "\\& int EVP_PKEY_get_raw_private_key(const EVP_PKEY *pkey, unsigned char *priv,\n"
129 "\\& size_t *len);\n"
130 "\\& int EVP_PKEY_get_raw_public_key(const EVP_PKEY *pkey, unsigned char *pub,\n"
131 "\\& size_t *len);\n"
132 msgstr ""
133
134 #. type: Plain text
135 #: archlinux debian-trixie debian-unstable
136 msgid ""
137 "The following function has been deprecated since OpenSSL 3.0, and can be "
138 "hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version "
139 "value, see B<openssl_user_macros>\\|(7):"
140 msgstr ""
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable
144 #, no-wrap
145 msgid ""
146 "\\& EVP_PKEY *EVP_PKEY_new_CMAC_key(ENGINE *e, const unsigned char *priv,\n"
147 "\\& size_t len, const EVP_CIPHER *cipher);\n"
148 msgstr ""
149
150 #. type: IX
151 #: archlinux debian-trixie debian-unstable
152 #, no-wrap
153 msgid "DESCRIPTION"
154 msgstr ""
155
156 #. type: Plain text
157 #: archlinux debian-trixie debian-unstable
158 msgid ""
159 "\\&B<EVP_PKEY> is a generic structure to hold diverse types of asymmetric "
160 "keys (also known as \"key pairs\"), and can be used for diverse operations, "
161 "like signing, verifying signatures, key derivation, etc. The asymmetric "
162 "keys themselves are often referred to as the \"internal key\", and are "
163 "handled by backends, such as providers (through B<EVP_KEYMGMT>\\|(3)) or "
164 "B<ENGINE>s."
165 msgstr ""
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable
169 msgid ""
170 "Conceptually, an B<EVP_PKEY> internal key may hold a private key, a public "
171 "key, or both (a keypair), and along with those, key parameters if the key "
172 "type requires them. The presence of these components determine what "
173 "operations can be made; for example, signing normally requires the presence "
174 "of a private key, and verifying normally requires the presence of a public "
175 "key."
176 msgstr ""
177
178 #. type: Plain text
179 #: archlinux debian-trixie debian-unstable
180 msgid ""
181 "\\&B<EVP_PKEY> has also been used for MAC algorithm that were conceived as "
182 "producing signatures, although not being public key algorithms; "
183 "\"POLY1305\", \"SIPHASH\", \"HMAC\", \"CMAC\". This usage is considered "
184 "legacy and is discouraged in favor of the B<EVP_MAC>\\|(3) API."
185 msgstr ""
186
187 #. type: Plain text
188 #: archlinux debian-trixie debian-unstable
189 msgid ""
190 "The B<EVP_PKEY_new()> function allocates an empty B<EVP_PKEY> structure "
191 "which is used by OpenSSL to store public and private keys. The reference "
192 "count is set to \\&B<1>."
193 msgstr ""
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable
197 msgid "\\&B<EVP_PKEY_up_ref()> increments the reference count of I<key>."
198 msgstr ""
199
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable
202 msgid ""
203 "\\&B<EVP_PKEY_dup()> duplicates the I<key>. The I<key> must not be ENGINE "
204 "based or a raw key, otherwise the duplication will fail."
205 msgstr ""
206
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable
209 msgid ""
210 "\\&B<EVP_PKEY_free()> decrements the reference count of I<key> and, if the "
211 "reference count is zero, frees it up. If I<key> is NULL, nothing is done."
212 msgstr ""
213
214 #. type: Plain text
215 #: archlinux debian-trixie debian-unstable
216 msgid ""
217 "\\&B<EVP_PKEY_new_raw_private_key_ex()> allocates a new B<EVP_PKEY>. Unless "
218 "an engine should be used for the key type, a provider for the key is found "
219 "using the library context I<libctx> and the property query string I<propq>. "
220 "The \\&I<keytype> argument indicates what kind of key this is. The value "
221 "should be a string for a public key algorithm that supports raw private "
222 "keys, e.g., one of: \\&CW<\\*(C`ED25519\\*(C'>, \\&CW<\\*(C`ED448\\*(C'>, "
223 "\\&CW<\\*(C`X25519\\*(C'>, \\&CW<\\*(C`X448\\*(C'>, \\&CW<\\*(C`ML-"
224 "DSA-44\\*(C'>, \\&CW<\\*(C`ML-DSA-65\\*(C'>, \\&CW<\\*(C`ML-DSA-87\\*(C'>, "
225 "\\&CW<\\*(C`ML-KEM-512\\*(C'>, \\&CW<\\*(C`ML-KEM-768\\*(C'>, or "
226 "\\&CW<\\*(C`ML-KEM-1024\\*(C'>. \\&I<key> points to the raw private key "
227 "data for this B<EVP_PKEY> which should be of length I<keylen>. The length "
228 "should be appropriate for the type of the key. The public key data will be "
229 "automatically derived from the given private key data (if appropriate for "
230 "the algorithm type)."
231 msgstr ""
232
233 #. type: Plain text
234 #: archlinux debian-trixie debian-unstable
235 msgid ""
236 "\\&B<EVP_PKEY_new_raw_private_key()> does the same as "
237 "\\&B<EVP_PKEY_new_raw_private_key_ex()> except that the default library "
238 "context and default property query are used instead. If I<e> is non-NULL "
239 "then the new \\&B<EVP_PKEY> structure is associated with the engine I<e>. "
240 "The I<type> argument indicates what kind of key this is. The value should be "
241 "a NID for a public key algorithm that supports raw private keys, i.e. one of "
242 "B<EVP_PKEY_X25519>, \\&B<EVP_PKEY_ED25519>, B<EVP_PKEY_X448> or "
243 "B<EVP_PKEY_ED448>."
244 msgstr ""
245
246 #. type: Plain text
247 #: archlinux debian-trixie debian-unstable
248 msgid ""
249 "\\&B<EVP_PKEY_new_raw_private_key_ex()> and "
250 "B<EVP_PKEY_new_raw_private_key()> may also be used with most MACs "
251 "implemented as public key algorithms, so key types such as \"HMAC\", "
252 "\"POLY1305\", \"SIPHASH\", or their NID form B<EVP_PKEY_POLY1305>, "
253 "\\&B<EVP_PKEY_SIPHASH>, B<EVP_PKEY_HMAC> are also accepted. This usage is, "
254 "as mentioned above, discouraged in favor of the B<EVP_MAC>\\|(3) API."
255 msgstr ""
256
257 #. type: Plain text
258 #: archlinux debian-trixie debian-unstable
259 msgid ""
260 "\\&B<EVP_PKEY_new_raw_public_key_ex()> works in the same way as "
261 "\\&B<EVP_PKEY_new_raw_private_key_ex()> except that I<key> points to the raw "
262 "public key data. The B<EVP_PKEY> structure will be initialised without any "
263 "private key information. Algorithm types that support raw public keys are "
264 "\\&B<ED25519>, \\&B<ED448>, \\&B<X25519>, \\&B<X448>, \\&CW<\\*(C`ML-"
265 "DSA-44\\*(C'>, \\&CW<\\*(C`ML-DSA-65\\*(C'>, \\&CW<\\*(C`ML-DSA-87\\*(C'>, "
266 "\\&B<ML-KEM-512>, \\&B<ML-KEM-768>, and \\&B<ML-KEM-1024>."
267 msgstr ""
268
269 #. type: Plain text
270 #: archlinux debian-trixie debian-unstable
271 msgid ""
272 "\\&B<EVP_PKEY_new_raw_public_key()> works in the same way as "
273 "\\&B<EVP_PKEY_new_raw_private_key_ex()> except that I<key> points to the raw "
274 "public key data. The B<EVP_PKEY> structure will be initialised without any "
275 "private key information."
276 msgstr ""
277
278 #. type: Plain text
279 #: archlinux debian-trixie debian-unstable
280 msgid ""
281 "\\&B<EVP_PKEY_new_mac_key()> works in the same way as "
282 "B<EVP_PKEY_new_raw_private_key()>. New applications should use "
283 "B<EVP_PKEY_new_raw_private_key()> instead."
284 msgstr ""
285
286 #. type: Plain text
287 #: archlinux
288 msgid ""
289 "\\&B<EVP_PKEY_get_raw_private_key()> fills the buffer provided by I<priv> "
290 "with raw private key data. The size of the I<priv> buffer should be in "
291 "I<*len> on entry to the function, and on exit I<*len> is updated with the "
292 "number of bytes actually written. If the buffer I<priv> is NULL then I<*len> "
293 "is populated with the number of bytes required to hold the key. The calling "
294 "application is responsible for ensuring that the buffer is large enough to "
295 "receive the private key data. This function only works for algorithms that "
296 "support raw private keys. These include: \\&B<ED25519>, \\&B<ED448>, "
297 "\\&B<X25519>, \\&B<X448>, \\&B<HMAC>, \\&B<POLY1305>, and \\&B<SIPHASH>. "
298 "\\&B<EVP_PKEY_get_raw_private_key()> also works with \\&CW<\\*(C`ML-"
299 "DSA-44\\*(C'>, \\&CW<\\*(C`ML-DSA-65\\*(C'>, \\&CW<\\*(C`ML-DSA-87\\*(C'>, "
300 "\\&B<ML-KEM-512>, \\&B<ML-KEM-768> and \\&B<ML-KEM-1024> keys, which "
301 "don\\*(Aqt have legacy numeric I<NID> assignments, but their raw form is "
302 "nevertheless available."
303 msgstr ""
304
305 #. type: Plain text
306 #: archlinux
307 msgid ""
308 "\\&B<EVP_PKEY_get_raw_public_key()> fills the buffer provided by I<pub> with "
309 "raw public key data. The size of the I<pub> buffer should be in I<*len> on "
310 "entry to the function, and on exit I<*len> is updated with the number of "
311 "bytes actually written. If the buffer I<pub> is NULL then I<*len> is "
312 "populated with the number of bytes required to hold the key. The calling "
313 "application is responsible for ensuring that the buffer is large enough to "
314 "receive the public key data. This function only works for algorithms that "
315 "support raw public keys. These include: \\&B<ED25519>, \\&B<ED448>, "
316 "\\&B<X25519>, and \\&B<X448> \\&B<EVP_PKEY_get_raw_public_key()> also works "
317 "with \\&CW<\\*(C`ML-DSA-44\\*(C'>, \\&CW<\\*(C`ML-DSA-65\\*(C'>, "
318 "\\&CW<\\*(C`ML-DSA-87\\*(C'>, \\&B<ML-KEM-512>, \\&B<ML-KEM-768> and \\&B<ML-"
319 "KEM-1024> keys, which don\\*(Aqt have legacy numeric I<NID> assignments, but "
320 "their raw form is nevertheless available."
321 msgstr ""
322
323 #. type: Plain text
324 #: archlinux debian-trixie debian-unstable
325 msgid ""
326 "\\&B<EVP_PKEY_new_CMAC_key()> works in the same way as "
327 "B<EVP_PKEY_new_raw_private_key()> except it is only for the B<EVP_PKEY_CMAC> "
328 "algorithm type. In addition to the raw private key data, it also takes a "
329 "cipher algorithm to be used during creation of a CMAC in the B<cipher> "
330 "argument. The cipher should be a standard encryption-only cipher. For "
331 "example AEAD and XTS ciphers should not be used."
332 msgstr ""
333
334 #. type: Plain text
335 #: archlinux debian-trixie debian-unstable
336 msgid ""
337 "Applications should use the B<EVP_MAC>\\|(3) API instead and set the "
338 "B<OSSL_MAC_PARAM_CIPHER> parameter on the B<EVP_MAC_CTX> object with the "
339 "name of the cipher being used."
340 msgstr ""
341
342 #. type: IX
343 #: archlinux debian-trixie debian-unstable
344 #, no-wrap
345 msgid "NOTES"
346 msgstr ""
347
348 #. type: Plain text
349 #: archlinux debian-trixie debian-unstable
350 msgid ""
351 "The B<EVP_PKEY> structure is used by various OpenSSL functions which require "
352 "a general private key without reference to any particular algorithm."
353 msgstr ""
354
355 #. type: Plain text
356 #: archlinux debian-trixie debian-unstable
357 msgid ""
358 "The structure returned by B<EVP_PKEY_new()> is empty. To add a private or "
359 "public key to this empty structure use the appropriate functions described "
360 "in \\&B<EVP_PKEY_set1_RSA>\\|(3), B<EVP_PKEY_set1_DSA>\\|(3), "
361 "B<EVP_PKEY_set1_DH>\\|(3) or \\&B<EVP_PKEY_set1_EC_KEY>\\|(3) for legacy key "
362 "types implemented in internal OpenSSL providers."
363 msgstr ""
364
365 #. type: Plain text
366 #: archlinux debian-trixie debian-unstable
367 msgid ""
368 "For fully provider-managed key types (see B<provider-keymgmt>\\|(7)), "
369 "possibly implemented in external providers, use functions such as "
370 "\\&B<EVP_PKEY_set1_encoded_public_key>\\|(3) or B<EVP_PKEY_fromdata>\\|(3) "
371 "to populate key data."
372 msgstr ""
373
374 #. type: Plain text
375 #: archlinux debian-trixie debian-unstable
376 msgid ""
377 "Generally caution is advised for using an B<EVP_PKEY> structure across "
378 "different library contexts: In order for an B<EVP_PKEY> to be shared by "
379 "multiple library contexts the providers associated with the library contexts "
380 "must have key managers that support the key type and implement the "
381 "\\&B<OSSL_FUNC_keymgmt_import()> and B<OSSL_FUNC_keymgmt_export()> functions."
382 msgstr ""
383
384 #. type: IX
385 #: archlinux debian-trixie debian-unstable
386 #, no-wrap
387 msgid "RETURN VALUES"
388 msgstr ""
389
390 #. type: Plain text
391 #: archlinux debian-trixie debian-unstable
392 msgid ""
393 "\\&B<EVP_PKEY_new()>, B<EVP_PKEY_new_raw_private_key()>, "
394 "B<EVP_PKEY_new_raw_public_key()>, \\&B<EVP_PKEY_new_CMAC_key()> and "
395 "B<EVP_PKEY_new_mac_key()> return either the newly allocated B<EVP_PKEY> "
396 "structure or NULL if an error occurred."
397 msgstr ""
398
399 #. type: Plain text
400 #: archlinux debian-trixie debian-unstable
401 msgid ""
402 "\\&B<EVP_PKEY_dup()> returns the key duplicate or NULL if an error occurred."
403 msgstr ""
404
405 #. type: Plain text
406 #: archlinux debian-trixie debian-unstable
407 msgid ""
408 "\\&B<EVP_PKEY_up_ref()>, B<EVP_PKEY_get_raw_private_key()> and "
409 "\\&B<EVP_PKEY_get_raw_public_key()> return 1 for success and 0 for failure."
410 msgstr ""
411
412 #. type: IX
413 #: archlinux debian-trixie debian-unstable
414 #, no-wrap
415 msgid "SEE ALSO"
416 msgstr ""
417
418 #. type: Plain text
419 #: archlinux debian-trixie debian-unstable
420 msgid ""
421 "\\&B<EVP_PKEY_set1_RSA>\\|(3), \\&B<EVP_PKEY_set1_DSA>\\|(3), "
422 "\\&B<EVP_PKEY_set1_DH>\\|(3), \\&B<EVP_PKEY_set1_EC_KEY>\\|(3), "
423 "\\&B<EVP_PKEY-ED25519>\\|(7), \\&B<EVP_PKEY-ED448>\\|(7). \\&B<EVP_PKEY-"
424 "HMAC>\\|(7), \\&B<EVP_PKEY-Poly1305>\\|(7), \\&B<EVP_PKEY-Siphash>\\|(7), "
425 "\\&B<EVP_PKEY-X25519>\\|(7), \\&B<EVP_PKEY-X448>\\|(7), \\&B<EVP_PKEY-ML-"
426 "DSA>\\|(7), \\&B<EVP_PKEY-ML-KEM>\\|(7)."
427 msgstr ""
428
429 #. type: IX
430 #: archlinux debian-trixie debian-unstable
431 #, no-wrap
432 msgid "HISTORY"
433 msgstr ""
434
435 #. type: Plain text
436 #: archlinux debian-trixie debian-unstable
437 msgid ""
438 "The \\&B<EVP_PKEY_new()> and B<EVP_PKEY_free()> functions exist in all "
439 "versions of OpenSSL."
440 msgstr ""
441
442 #. type: Plain text
443 #: archlinux debian-trixie debian-unstable
444 msgid "The B<EVP_PKEY_up_ref()> function was added in OpenSSL 1.1.0."
445 msgstr ""
446
447 #. type: Plain text
448 #: archlinux debian-trixie debian-unstable
449 msgid ""
450 "The \\&B<EVP_PKEY_new_raw_private_key()>, B<EVP_PKEY_new_raw_public_key()>, "
451 "\\&B<EVP_PKEY_new_CMAC_key()>, B<EVP_PKEY_new_raw_private_key()> and "
452 "\\&B<EVP_PKEY_get_raw_public_key()> functions were added in OpenSSL 1.1.1."
453 msgstr ""
454
455 #. type: Plain text
456 #: archlinux debian-trixie debian-unstable
457 msgid ""
458 "The B<EVP_PKEY_dup()>, B<EVP_PKEY_new_raw_private_key_ex()>, and "
459 "\\&B<EVP_PKEY_new_raw_public_key_ex()> functions were added in OpenSSL 3.0."
460 msgstr ""
461
462 #. type: Plain text
463 #: archlinux debian-trixie debian-unstable
464 msgid "The B<EVP_PKEY_new_CMAC_key()> was deprecated in OpenSSL 3.0."
465 msgstr ""
466
467 #. type: Plain text
468 #: archlinux debian-trixie debian-unstable
469 msgid ""
470 "The documentation of B<EVP_PKEY> was amended in OpenSSL 3.0 to allow there "
471 "to be the private part of the keypair without the public part, where this "
472 "was previously implied to be disallowed."
473 msgstr ""
474
475 #. type: Plain text
476 #: archlinux debian-trixie debian-unstable
477 msgid "Support for B<ML-DSA> and B<ML-KEM> was added in OpenSSL 3.5."
478 msgstr ""
479
480 #. type: IX
481 #: archlinux debian-trixie debian-unstable
482 #, no-wrap
483 msgid "COPYRIGHT"
484 msgstr ""
485
486 #. type: Plain text
487 #: archlinux debian-trixie debian-unstable
488 msgid "Copyright 2002-2025 The OpenSSL Project Authors. All Rights Reserved."
489 msgstr ""
490
491 #. type: Plain text
492 #: archlinux debian-trixie debian-unstable
493 msgid ""
494 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
495 "this file except in compliance with the License. You can obtain a copy in "
496 "the file LICENSE in the source distribution or at E<lt>https://"
497 "www.openssl.org/source/license.htmlE<gt>."
498 msgstr ""
499
500 #. ========================================================================
501 #. type: IX
502 #: debian-trixie debian-unstable
503 #, no-wrap
504 msgid "EVP_PKEY_NEW 3SSL"
505 msgstr ""
506
507 #. type: TH
508 #: debian-trixie
509 #, no-wrap
510 msgid "3.5.6"
511 msgstr ""
512
513 #. type: Plain text
514 #: debian-trixie debian-unstable
515 msgid ""
516 "\\&B<EVP_PKEY_get_raw_private_key()> fills the buffer provided by I<priv> "
517 "with raw private key data. The size of the I<priv> buffer should be in "
518 "I<*len> on entry to the function, and on exit I<*len> is updated with the "
519 "number of bytes actually written. If the buffer I<priv> is NULL then I<*len> "
520 "is populated with the number of bytes required to hold the key. The calling "
521 "application is responsible for ensuring that the buffer is large enough to "
522 "receive the private key data. This function only works for algorithms that "
523 "support raw private keys. These include: \\&B<ED25519>, \\&B<ED448>, "
524 "\\&B<X25519>, \\&B<X448>, \\&B<HMAC>, \\&B<POLY1305>, and \\&B<SIPHASH>. "
525 "\\&B<EVP_PKEY_get_raw_private_key()> also works with \\&CW<\\*(C`ML-"
526 "DSA-44\\*(C'>, \\&CW<\\*(C`ML-DSA-65\\*(C'>, \\&CW<\\*(C`ML-DSA-87\\*(C'>, "
527 "\\&B<ML-KEM-512>, \\&B<ML-KEM-768> and \\&B<ML-KEM-1024> keys, which don't "
528 "have legacy numeric I<NID> assignments, but their raw form is nevertheless "
529 "available."
530 msgstr ""
531
532 #. type: Plain text
533 #: debian-trixie debian-unstable
534 msgid ""
535 "\\&B<EVP_PKEY_get_raw_public_key()> fills the buffer provided by I<pub> with "
536 "raw public key data. The size of the I<pub> buffer should be in I<*len> on "
537 "entry to the function, and on exit I<*len> is updated with the number of "
538 "bytes actually written. If the buffer I<pub> is NULL then I<*len> is "
539 "populated with the number of bytes required to hold the key. The calling "
540 "application is responsible for ensuring that the buffer is large enough to "
541 "receive the public key data. This function only works for algorithms that "
542 "support raw public keys. These include: \\&B<ED25519>, \\&B<ED448>, "
543 "\\&B<X25519>, and \\&B<X448> \\&B<EVP_PKEY_get_raw_public_key()> also works "
544 "with \\&CW<\\*(C`ML-DSA-44\\*(C'>, \\&CW<\\*(C`ML-DSA-65\\*(C'>, "
545 "\\&CW<\\*(C`ML-DSA-87\\*(C'>, \\&B<ML-KEM-512>, \\&B<ML-KEM-768> and \\&B<ML-"
546 "KEM-1024> keys, which don't have legacy numeric I<NID> assignments, but "
547 "their raw form is nevertheless available."
548 msgstr ""