Debian Codegraph @

templates/man3/d2i_RSAPrivateKey.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:21+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: d2i_RSAPrivateKey.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: d2i_RSAPrivateKey.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: d2i_RSAPrivateKey.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: d2i_RSAPrivateKey.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 "D2I_RSAPRIVATEKEY 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "D2I_RSAPRIVATEKEY"
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 "d2i_DSAPrivateKey, d2i_DSAPrivateKey_bio, d2i_DSAPrivateKey_fp, "
79 "d2i_DSAPublicKey, d2i_DSA_PUBKEY, d2i_DSA_PUBKEY_bio, d2i_DSA_PUBKEY_fp, "
80 "d2i_DSAparams, d2i_RSAPrivateKey, d2i_RSAPrivateKey_bio, "
81 "d2i_RSAPrivateKey_fp, d2i_RSAPublicKey, d2i_RSAPublicKey_bio, "
82 "d2i_RSAPublicKey_fp, d2i_RSA_PUBKEY, d2i_RSA_PUBKEY_bio, d2i_RSA_PUBKEY_fp, "
83 "d2i_DHparams, d2i_DHparams_bio, d2i_DHparams_fp, d2i_ECParameters, "
84 "d2i_ECPrivateKey, d2i_ECPrivateKey_bio, d2i_ECPrivateKey_fp, d2i_EC_PUBKEY, "
85 "d2i_EC_PUBKEY_bio, d2i_EC_PUBKEY_fp, i2d_RSAPrivateKey, "
86 "i2d_RSAPrivateKey_bio, i2d_RSAPrivateKey_fp, i2d_RSAPublicKey, "
87 "i2d_RSAPublicKey_bio, i2d_RSAPublicKey_fp, i2d_RSA_PUBKEY, "
88 "i2d_RSA_PUBKEY_bio, i2d_RSA_PUBKEY_fp, i2d_DHparams, i2d_DHparams_bio, "
89 "i2d_DHparams_fp, i2d_DSAPrivateKey, i2d_DSAPrivateKey_bio, "
90 "i2d_DSAPrivateKey_fp, i2d_DSAPublicKey, i2d_DSA_PUBKEY, i2d_DSA_PUBKEY_bio, "
91 "i2d_DSA_PUBKEY_fp, i2d_DSAparams, i2d_ECParameters, i2d_ECPrivateKey, "
92 "i2d_ECPrivateKey_bio, i2d_ECPrivateKey_fp, i2d_EC_PUBKEY, i2d_EC_PUBKEY_bio, "
93 "i2d_EC_PUBKEY_fp \\&- DEPRECATED"
94 msgstr ""
95
96 #. type: IX
97 #: archlinux debian-trixie debian-unstable
98 #, no-wrap
99 msgid "SYNOPSIS"
100 msgstr ""
101
102 #. type: IX
103 #: archlinux debian-trixie debian-unstable
104 #, no-wrap
105 msgid "Header"
106 msgstr ""
107
108 #. type: Plain text
109 #: archlinux debian-trixie debian-unstable
110 msgid ""
111 "The following functions have been deprecated since OpenSSL 3.0, and can be "
112 "hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version "
113 "value, see B<openssl_user_macros>\\|(7):"
114 msgstr ""
115
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable
118 #, no-wrap
119 msgid ""
120 "\\& TYPE *d2i_TYPEPrivateKey(TYPE **a, const unsigned char **ppin, long length);\n"
121 "\\& TYPE *d2i_TYPEPrivateKey_bio(BIO *bp, TYPE **a);\n"
122 "\\& TYPE *d2i_TYPEPrivateKey_fp(FILE *fp, TYPE **a);\n"
123 "\\& TYPE *d2i_TYPEPublicKey(TYPE **a, const unsigned char **ppin, long length);\n"
124 "\\& TYPE *d2i_TYPEPublicKey_bio(BIO *bp, TYPE **a);\n"
125 "\\& TYPE *d2i_TYPEPublicKey_fp(FILE *fp, TYPE **a);\n"
126 "\\& TYPE *d2i_TYPEparams(TYPE **a, const unsigned char **ppin, long length);\n"
127 "\\& TYPE *d2i_TYPEparams_bio(BIO *bp, TYPE **a);\n"
128 "\\& TYPE *d2i_TYPEparams_fp(FILE *fp, TYPE **a);\n"
129 "\\& TYPE *d2i_TYPE_PUBKEY(TYPE **a, const unsigned char **ppin, long length);\n"
130 "\\& TYPE *d2i_TYPE_PUBKEY_bio(BIO *bp, TYPE **a);\n"
131 "\\& TYPE *d2i_TYPE_PUBKEY_fp(FILE *fp, TYPE **a);\n"
132 "\\&\n"
133 "\\& int i2d_TYPEPrivateKey(const TYPE *a, unsigned char **ppout);\n"
134 "\\& int i2d_TYPEPrivateKey(TYPE *a, unsigned char **ppout);\n"
135 "\\& int i2d_TYPEPrivateKey_fp(FILE *fp, const TYPE *a);\n"
136 "\\& int i2d_TYPEPrivateKey_fp(FILE *fp, TYPE *a);\n"
137 "\\& int i2d_TYPEPrivateKey_bio(BIO *bp, const TYPE *a);\n"
138 "\\& int i2d_TYPEPrivateKey_bio(BIO *bp, TYPE *a);\n"
139 "\\& int i2d_TYPEPublicKey(const TYPE *a, unsigned char **ppout);\n"
140 "\\& int i2d_TYPEPublicKey(TYPE *a, unsigned char **ppout);\n"
141 "\\& int i2d_TYPEPublicKey_fp(FILE *fp, const TYPE *a);\n"
142 "\\& int i2d_TYPEPublicKey_fp(FILE *fp, TYPE *a);\n"
143 "\\& int i2d_TYPEPublicKey_bio(BIO *bp, const TYPE *a);\n"
144 "\\& int i2d_TYPEPublicKey_bio(BIO *bp, TYPE *a);\n"
145 "\\& int i2d_TYPEparams(const TYPE *a, unsigned char **ppout);\n"
146 "\\& int i2d_TYPEparams(TYPE *a, unsigned char **ppout);\n"
147 "\\& int i2d_TYPEparams_fp(FILE *fp, const TYPE *a);\n"
148 "\\& int i2d_TYPEparams_fp(FILE *fp, TYPE *a);\n"
149 "\\& int i2d_TYPEparams_bio(BIO *bp, const TYPE *a);\n"
150 "\\& int i2d_TYPEparams_bio(BIO *bp, TYPE *a);\n"
151 "\\& int i2d_TYPE_PUBKEY(const TYPE *a, unsigned char **ppout);\n"
152 "\\& int i2d_TYPE_PUBKEY(TYPE *a, unsigned char **ppout);\n"
153 "\\& int i2d_TYPE_PUBKEY_fp(FILE *fp, const TYPE *a);\n"
154 "\\& int i2d_TYPE_PUBKEY_fp(FILE *fp, TYPE *a);\n"
155 "\\& int i2d_TYPE_PUBKEY_bio(BIO *bp, const TYPE *a);\n"
156 "\\& int i2d_TYPE_PUBKEY_bio(BIO *bp, TYPE *a);\n"
157 msgstr ""
158
159 #. type: IX
160 #: archlinux debian-trixie debian-unstable
161 #, no-wrap
162 msgid "DESCRIPTION"
163 msgstr ""
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable
167 msgid ""
168 "All functions described here are deprecated. Please use B<OSSL_DECODER>\\|"
169 "(3) instead of the B<d2i> functions and B<OSSL_ENCODER>\\|(3) instead of "
170 "the B<i2d> functions. See \"Migration\" below."
171 msgstr ""
172
173 #. type: Plain text
174 #: archlinux debian-trixie debian-unstable
175 msgid ""
176 "In the description here, \\f(BITYPE\\fR is used a placeholder for any of the "
177 "OpenSSL datatypes, such as B<RSA>. The function parameters I<ppin> and "
178 "I<ppout> are generally either both named \\&I<pp> in the headers, or I<in> "
179 "and I<out>."
180 msgstr ""
181
182 #. type: Plain text
183 #: archlinux
184 msgid ""
185 "All the functions here behave the way that\\*(Aqs described in B<d2i_X509>\\|"
186 "(3)."
187 msgstr ""
188
189 #. type: Plain text
190 #: archlinux
191 msgid ""
192 "Please note that not all functions in the synopsis are available for all key "
193 "types. For example, there are no B<d2i_RSAparams()> or B<i2d_RSAparams()>, "
194 "because the PKCS#1 B<RSA> structure doesn\\*(Aqt include any key parameters."
195 msgstr ""
196
197 #. type: Plain text
198 #: archlinux debian-trixie debian-unstable
199 msgid ""
200 "\\&B<d2i_>\\f(BITYPEB<PrivateKey>() and derivates thereof decode DER encoded "
201 "\\&\\f(BITYPE\\fR private key data organized in a type specific structure."
202 msgstr ""
203
204 #. type: Plain text
205 #: archlinux debian-trixie debian-unstable
206 msgid ""
207 "\\&B<d2i_>\\f(BITYPEB<PublicKey>() and derivates thereof decode DER encoded "
208 "\\&\\f(BITYPE\\fR public key data organized in a type specific structure."
209 msgstr ""
210
211 #. type: Plain text
212 #: archlinux debian-trixie debian-unstable
213 msgid ""
214 "\\&B<d2i_>\\f(BITYPEB<params>() and derivates thereof decode DER encoded "
215 "\\f(BITYPE\\fR key parameters organized in a type specific structure."
216 msgstr ""
217
218 #. type: Plain text
219 #: archlinux debian-trixie debian-unstable
220 msgid ""
221 "\\&B<d2i_>\\f(BITYPEB<_PUBKEY>() and derivates thereof decode DER encoded "
222 "\\f(BITYPE\\fR public key data organized in a B<SubjectPublicKeyInfo> "
223 "structure."
224 msgstr ""
225
226 #. type: Plain text
227 #: archlinux debian-trixie debian-unstable
228 msgid ""
229 "\\&B<i2d_>\\f(BITYPEB<PrivateKey>() and derivates thereof encode the private "
230 "key \\&\\f(BITYPE\\fR data into a type specific DER encoded structure."
231 msgstr ""
232
233 #. type: Plain text
234 #: archlinux debian-trixie debian-unstable
235 msgid ""
236 "\\&B<i2d_>\\f(BITYPEB<PublicKey>() and derivates thereof encode the public "
237 "key \\&\\f(BITYPE\\fR data into a type specific DER encoded structure."
238 msgstr ""
239
240 #. type: Plain text
241 #: archlinux debian-trixie debian-unstable
242 msgid ""
243 "\\&B<i2d_>\\f(BITYPEB<params>() and derivates thereof encode the "
244 "\\f(BITYPE\\fR key parameters data into a type specific DER encoded "
245 "structure."
246 msgstr ""
247
248 #. type: Plain text
249 #: archlinux debian-trixie debian-unstable
250 msgid ""
251 "\\&B<i2d_>\\f(BITYPEB<_PUBKEY>() and derivates thereof encode the public key "
252 "\\&\\f(BITYPE\\fR data into a DER encoded B<SubjectPublicKeyInfo> structure."
253 msgstr ""
254
255 #. type: Plain text
256 #: archlinux debian-trixie debian-unstable
257 msgid ""
258 "For example, B<d2i_RSAPrivateKey()> and B<d2i_RSAPublicKey()> expects the "
259 "structure defined by PKCS#1. Similarly, B<i2d_RSAPrivateKey()> and "
260 "B<i2d_RSAPublicKey()> produce DER encoded string organized according to "
261 "PKCS#1."
262 msgstr ""
263
264 #. type: IX
265 #: archlinux debian-trixie debian-unstable
266 #, no-wrap
267 msgid "Migration"
268 msgstr ""
269
270 #. type: IX
271 #: archlinux debian-trixie debian-unstable
272 #, no-wrap
273 msgid "Subsection"
274 msgstr ""
275
276 #. type: Plain text
277 #: archlinux debian-trixie debian-unstable
278 msgid ""
279 "Migration from the diverse \\f(BITYPE\\fRs requires using corresponding new "
280 "OpenSSL types. For all \\f(BITYPE\\fRs described here, the corresponding "
281 "new type is B<EVP_PKEY>. The rest of this section assumes that this has "
282 "been done, exactly how to do that is described elsewhere."
283 msgstr ""
284
285 #. type: Plain text
286 #: archlinux debian-trixie debian-unstable
287 msgid "There are two migration paths:"
288 msgstr ""
289
290 #. type: IP
291 #: archlinux debian-trixie debian-unstable
292 #, no-wrap
293 msgid "\\(bu"
294 msgstr ""
295
296 #. type: Plain text
297 #: archlinux debian-unstable
298 msgid ""
299 "Replace \\&B<d2i_>\\f(BITYPEB<PrivateKey()> with B<d2i_PrivateKey>\\|(3), "
300 "\\&B<d2i_>\\f(BITYPEB<PublicKey()> with B<d2i_PublicKey>\\|(3), "
301 "\\&B<d2i_>\\f(BITYPEB<params()> with B<d2i_KeyParams>\\|(3), "
302 "\\&B<d2i_>\\f(BITYPEB<_PUBKEY()> with B<d2i_PUBKEY>\\|(3), "
303 "\\&B<i2d_>\\f(BITYPEB<PrivateKey()> with B<i2d_PrivateKey>\\|(3), "
304 "\\&B<i2d_>\\f(BITYPEB<PublicKey()> with B<i2d_PublicKey>\\|(3), "
305 "\\&B<i2d_>\\f(BITYPEB<params()> with B<i2d_KeyParams>\\|(3), "
306 "\\&B<i2d_>\\f(BITYPEB<_PUBKEY()> with B<i2d_PUBKEY>\\|(3). A caveat is that "
307 "B<i2d_PrivateKey>\\|(3) may output a DER encoded PKCS#8 outermost structure "
308 "instead of the type specific structure, and that \\&B<d2i_PrivateKey>\\|(3) "
309 "recognises and unpacks a PKCS#8 structures."
310 msgstr ""
311
312 #. type: Plain text
313 #: archlinux debian-trixie debian-unstable
314 msgid ""
315 "Use B<OSSL_DECODER>\\|(3) and B<OSSL_ENCODER>\\|(3). How to migrate is "
316 "described below. All those descriptions assume that the key to be encoded "
317 "is in the variable I<pkey>."
318 msgstr ""
319
320 #. type: Plain text
321 #: archlinux debian-trixie debian-unstable
322 msgid "I<Migrating >\\f(BIi2dI< functions to >\\f(BIOSSL_ENCODER\\fR"
323 msgstr ""
324
325 #. type: IX
326 #: archlinux debian-trixie debian-unstable
327 #, no-wrap
328 msgid "Migrating i2d functions to OSSL_ENCODER"
329 msgstr ""
330
331 #. type: Plain text
332 #: archlinux debian-trixie debian-unstable
333 msgid ""
334 "The exact B<OSSL_ENCODER>\\|(3) output is driven by arguments rather than by "
335 "function names. The sample code to get DER encoded output in a type "
336 "specific structure is uniform, the only things that vary are the selection "
337 "of what part of the B<EVP_PKEY> should be output, and the structure. The "
338 "\\&B<i2d> functions names can therefore be translated into two variables, "
339 "\\&I<selection> and I<structure> as follows:"
340 msgstr ""
341
342 #. type: IP
343 #: archlinux debian-trixie debian-unstable
344 #, no-wrap
345 msgid "B<i2d_>\\f(BITYPEB<PrivateKey>() translates into:"
346 msgstr ""
347
348 #. type: IX
349 #: archlinux debian-trixie debian-unstable
350 #, no-wrap
351 msgid "Item"
352 msgstr ""
353
354 #. type: IX
355 #: archlinux debian-trixie debian-unstable
356 #, no-wrap
357 msgid "i2d_TYPEPrivateKey() translates into:"
358 msgstr ""
359
360 #. type: Plain text
361 #: archlinux debian-trixie debian-unstable
362 #, no-wrap
363 msgid ""
364 "\\& int selection = EVP_PKEY_KEYPAIR;\n"
365 "\\& const char *structure = \"type-specific\";\n"
366 msgstr ""
367
368 #. type: IP
369 #: archlinux debian-trixie debian-unstable
370 #, no-wrap
371 msgid "B<i2d_>\\f(BITYPEB<PublicKey>() translates into:"
372 msgstr ""
373
374 #. type: IX
375 #: archlinux debian-trixie debian-unstable
376 #, no-wrap
377 msgid "i2d_TYPEPublicKey() translates into:"
378 msgstr ""
379
380 #. type: Plain text
381 #: archlinux debian-trixie debian-unstable
382 #, no-wrap
383 msgid ""
384 "\\& int selection = EVP_PKEY_PUBLIC_KEY;\n"
385 "\\& const char *structure = \"type-specific\";\n"
386 msgstr ""
387
388 #. type: IP
389 #: archlinux debian-trixie debian-unstable
390 #, no-wrap
391 msgid "B<i2d_>\\f(BITYPEB<params>() translates into:"
392 msgstr ""
393
394 #. type: IX
395 #: archlinux debian-trixie debian-unstable
396 #, no-wrap
397 msgid "i2d_TYPEparams() translates into:"
398 msgstr ""
399
400 #. type: Plain text
401 #: archlinux debian-trixie debian-unstable
402 #, no-wrap
403 msgid ""
404 "\\& int selection = EVP_PKEY_PARAMETERS;\n"
405 "\\& const char *structure = \"type-specific\";\n"
406 msgstr ""
407
408 #. type: IP
409 #: archlinux debian-trixie debian-unstable
410 #, no-wrap
411 msgid "B<i2d_>\\f(BITYPEB<_PUBKEY>() translates into:"
412 msgstr ""
413
414 #. type: IX
415 #: archlinux debian-trixie debian-unstable
416 #, no-wrap
417 msgid "i2d_TYPE_PUBKEY() translates into:"
418 msgstr ""
419
420 #. type: Plain text
421 #: archlinux debian-trixie debian-unstable
422 #, no-wrap
423 msgid ""
424 "\\& int selection = EVP_PKEY_PUBLIC_KEY;\n"
425 "\\& const char *structure = \"SubjectPublicKeyInfo\";\n"
426 msgstr ""
427
428 #. type: Plain text
429 #: archlinux debian-trixie debian-unstable
430 msgid "The following sample code does the rest of the work:"
431 msgstr ""
432
433 #. type: Plain text
434 #: archlinux debian-trixie debian-unstable
435 #, no-wrap
436 msgid ""
437 "\\& unsigned char *p = buffer; /* |buffer| is supplied by the caller */\n"
438 "\\& size_t len = buffer_size; /* assumed be the size of |buffer| */\n"
439 "\\& OSSL_ENCODER_CTX *ctx =\n"
440 "\\& OSSL_ENCODER_CTX_new_for_pkey(pkey, selection, \"DER\", structure,\n"
441 "\\& NULL, NULL);\n"
442 "\\& if (ctx == NULL) {\n"
443 "\\& /* fatal error handling */\n"
444 "\\& }\n"
445 "\\& if (OSSL_ENCODER_CTX_get_num_encoders(ctx) == 0) {\n"
446 "\\& OSSL_ENCODER_CTX_free(ctx);\n"
447 "\\& /* non-fatal error handling */\n"
448 "\\& }\n"
449 "\\& if (!OSSL_ENCODER_to_data(ctx, &p, &len)) {\n"
450 "\\& OSSL_ENCODER_CTX_free(ctx);\n"
451 "\\& /* error handling */\n"
452 "\\& }\n"
453 "\\& OSSL_ENCODER_CTX_free(ctx);\n"
454 msgstr ""
455
456 #. type: IX
457 #: archlinux debian-trixie debian-unstable
458 #, no-wrap
459 msgid "NOTES"
460 msgstr ""
461
462 #. type: Plain text
463 #: archlinux debian-trixie debian-unstable
464 msgid ""
465 "The letters B<i> and B<d> in B<i2d_>\\f(BITYPE\\fR() stand for \"internal\" "
466 "(that is, an internal C structure) and \"DER\" respectively. So "
467 "B<i2d_>\\f(BITYPE\\fR() converts from internal to DER."
468 msgstr ""
469
470 #. type: Plain text
471 #: archlinux debian-trixie debian-unstable
472 msgid "The functions can also understand B<BER> forms."
473 msgstr ""
474
475 #. type: Plain text
476 #: archlinux debian-trixie debian-unstable
477 msgid ""
478 "The actual TYPE structure passed to B<i2d_>\\f(BITYPE\\fR() must be a valid "
479 "populated \\f(BITYPE\\fR structure -- it B<cannot> simply be fed with an "
480 "empty structure such as that returned by B<TYPE_new()>."
481 msgstr ""
482
483 #. type: Plain text
484 #: archlinux debian-trixie debian-unstable
485 msgid ""
486 "The encoded data is in binary form and may contain embedded zeros. "
487 "Therefore, any FILE pointers or BIOs should be opened in binary mode. "
488 "Functions such as B<strlen()> will B<not> return the correct length of the "
489 "encoded structure."
490 msgstr ""
491
492 #. type: Plain text
493 #: archlinux debian-trixie debian-unstable
494 msgid ""
495 "The ways that I<*ppin> and I<*ppout> are incremented after the operation can "
496 "trap the unwary. See the B<WARNINGS> section in B<d2i_X509>\\|(3) for some "
497 "common errors. The reason for this-auto increment behaviour is to reflect a "
498 "typical usage of ASN1 functions: after one structure is encoded or decoded "
499 "another will be processed after it."
500 msgstr ""
501
502 #. type: Plain text
503 #: archlinux debian-trixie debian-unstable
504 msgid "The following points about the data types might be useful:"
505 msgstr ""
506
507 #. type: IP
508 #: archlinux debian-trixie debian-unstable
509 #, no-wrap
510 msgid "B<DSA_PUBKEY>"
511 msgstr ""
512
513 #. type: IX
514 #: archlinux debian-trixie debian-unstable
515 #, no-wrap
516 msgid "DSA_PUBKEY"
517 msgstr ""
518
519 #. type: Plain text
520 #: archlinux debian-trixie debian-unstable
521 msgid "Represents a DSA public key using a B<SubjectPublicKeyInfo> structure."
522 msgstr ""
523
524 #. type: IP
525 #: archlinux debian-trixie debian-unstable
526 #, no-wrap
527 msgid "B<DSAPublicKey>, B<DSAPrivateKey>"
528 msgstr ""
529
530 #. type: IX
531 #: archlinux debian-trixie debian-unstable
532 #, no-wrap
533 msgid "DSAPublicKey, DSAPrivateKey"
534 msgstr ""
535
536 #. type: Plain text
537 #: archlinux debian-trixie debian-unstable
538 msgid ""
539 "Use a non-standard OpenSSL format and should be avoided; use B<DSA_PUBKEY>, "
540 "\\&B<PEM_write_PrivateKey>\\|(3), or similar instead."
541 msgstr ""
542
543 #. type: IX
544 #: archlinux debian-trixie debian-unstable
545 #, no-wrap
546 msgid "RETURN VALUES"
547 msgstr ""
548
549 #. type: Plain text
550 #: archlinux debian-trixie debian-unstable
551 msgid ""
552 "\\&B<d2i_>\\f(BITYPE\\fR(), B<d2i_>\\f(BITYPEB<_bio>() and "
553 "B<d2i_>\\f(BITYPEB<_fp>() return a valid \\&\\f(BITYPE\\fR structure or NULL "
554 "if an error occurs. If the \"reuse\" capability has been used with a valid "
555 "structure being passed in via I<a>, then the object is freed in the event of "
556 "error and I<*a> is set to NULL."
557 msgstr ""
558
559 #. type: Plain text
560 #: archlinux debian-trixie debian-unstable
561 msgid ""
562 "\\&B<i2d_>\\f(BITYPE\\fR() returns the number of bytes successfully encoded "
563 "or a negative value if an error occurs."
564 msgstr ""
565
566 #. type: Plain text
567 #: archlinux debian-trixie debian-unstable
568 msgid ""
569 "\\&B<i2d_>\\f(BITYPEB<_bio>() and B<i2d_>\\f(BITYPEB<_fp>() return 1 for "
570 "success and 0 if an error occurs."
571 msgstr ""
572
573 #. type: IX
574 #: archlinux debian-trixie debian-unstable
575 #, no-wrap
576 msgid "SEE ALSO"
577 msgstr ""
578
579 #. type: Plain text
580 #: archlinux debian-trixie debian-unstable
581 msgid ""
582 "\\&B<OSSL_ENCODER>\\|(3), B<OSSL_DECODER>\\|(3), \\&B<d2i_PrivateKey>\\|(3), "
583 "B<d2i_PublicKey>\\|(3), B<d2i_KeyParams>\\|(3), \\&B<d2i_PUBKEY>\\|(3), "
584 "\\&B<i2d_PrivateKey>\\|(3), B<i2d_PublicKey>\\|(3), B<i2d_KeyParams>\\|(3), "
585 "\\&B<i2d_PUBKEY>\\|(3)"
586 msgstr ""
587
588 #. type: IX
589 #: archlinux debian-trixie debian-unstable
590 #, no-wrap
591 msgid "COPYRIGHT"
592 msgstr ""
593
594 #. type: Plain text
595 #: archlinux debian-unstable
596 msgid "Copyright 2020-2025 The OpenSSL Project Authors. All Rights Reserved."
597 msgstr ""
598
599 #. type: Plain text
600 #: archlinux debian-trixie debian-unstable
601 msgid ""
602 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
603 "this file except in compliance with the License. You can obtain a copy in "
604 "the file LICENSE in the source distribution or at E<lt>https://"
605 "www.openssl.org/source/license.htmlE<gt>."
606 msgstr ""
607
608 #. ========================================================================
609 #. type: IX
610 #: debian-trixie debian-unstable
611 #, no-wrap
612 msgid "D2I_RSAPRIVATEKEY 3SSL"
613 msgstr ""
614
615 #. type: TH
616 #: debian-trixie
617 #, no-wrap
618 msgid "3.5.6"
619 msgstr ""
620
621 #. type: Plain text
622 #: debian-trixie debian-unstable
623 msgid ""
624 "All the functions here behave the way that's described in B<d2i_X509>\\|(3)."
625 msgstr ""
626
627 #. type: Plain text
628 #: debian-trixie debian-unstable
629 msgid ""
630 "Please note that not all functions in the synopsis are available for all key "
631 "types. For example, there are no B<d2i_RSAparams()> or B<i2d_RSAparams()>, "
632 "because the PKCS#1 B<RSA> structure doesn't include any key parameters."
633 msgstr ""
634
635 #. type: Plain text
636 #: debian-trixie
637 msgid ""
638 "Replace bE<lt>d2i_I<TYPE>B<PrivateKey()>E<gt> with B<d2i_PrivateKey>\\|(3), "
639 "bE<lt>d2i_I<TYPE>B<PublicKey()>E<gt> with B<d2i_PublicKey>\\|(3), "
640 "bE<lt>d2i_I<TYPE>B<params()>E<gt> with B<d2i_KeyParams>\\|(3), "
641 "bE<lt>d2i_I<TYPE>B<_PUBKEY()>E<gt> with B<d2i_PUBKEY>\\|(3), "
642 "bE<lt>i2d_I<TYPE>B<PrivateKey()>E<gt> with B<i2d_PrivateKey>\\|(3), "
643 "bE<lt>i2d_I<TYPE>B<PublicKey()>E<gt> with B<i2d_PublicKey>\\|(3), "
644 "bE<lt>i2d_I<TYPE>B<params()>E<gt> with B<i2d_KeyParams>\\|(3), "
645 "bE<lt>i2d_I<TYPE>B<_PUBKEY()>E<gt> with B<i2d_PUBKEY>\\|(3). A caveat is "
646 "that B<i2d_PrivateKey>\\|(3) may output a DER encoded PKCS#8 outermost "
647 "structure instead of the type specific structure, and that "
648 "\\&B<d2i_PrivateKey>\\|(3) recognises and unpacks a PKCS#8 structures."
649 msgstr ""
650
651 #. type: Plain text
652 #: debian-trixie
653 msgid "Copyright 2020-2023 The OpenSSL Project Authors. All Rights Reserved."
654 msgstr ""