# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2026-06-05 06:21+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" # #-#-#-#-# archlinux: d2i_RSAPrivateKey.3ssl.pot (PACKAGE VERSION) #-#-#-#-# # #. #-#-#-#-# archlinux: d2i_RSAPrivateKey.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #. #-#-#-#-# debian-trixie: d2i_RSAPrivateKey.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #. #-#-#-#-# debian-unstable: d2i_RSAPrivateKey.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Title" msgstr "" # #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #: archlinux #, no-wrap msgid "D2I_RSAPRIVATEKEY 3ssl" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "D2I_RSAPRIVATEKEY" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "2026-04-07" msgstr "" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "3.6.2" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "OpenSSL" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "d2i_DSAPrivateKey, d2i_DSAPrivateKey_bio, d2i_DSAPrivateKey_fp, " "d2i_DSAPublicKey, d2i_DSA_PUBKEY, d2i_DSA_PUBKEY_bio, d2i_DSA_PUBKEY_fp, " "d2i_DSAparams, d2i_RSAPrivateKey, d2i_RSAPrivateKey_bio, " "d2i_RSAPrivateKey_fp, d2i_RSAPublicKey, d2i_RSAPublicKey_bio, " "d2i_RSAPublicKey_fp, d2i_RSA_PUBKEY, d2i_RSA_PUBKEY_bio, d2i_RSA_PUBKEY_fp, " "d2i_DHparams, d2i_DHparams_bio, d2i_DHparams_fp, d2i_ECParameters, " "d2i_ECPrivateKey, d2i_ECPrivateKey_bio, d2i_ECPrivateKey_fp, d2i_EC_PUBKEY, " "d2i_EC_PUBKEY_bio, d2i_EC_PUBKEY_fp, i2d_RSAPrivateKey, " "i2d_RSAPrivateKey_bio, i2d_RSAPrivateKey_fp, i2d_RSAPublicKey, " "i2d_RSAPublicKey_bio, i2d_RSAPublicKey_fp, i2d_RSA_PUBKEY, " "i2d_RSA_PUBKEY_bio, i2d_RSA_PUBKEY_fp, i2d_DHparams, i2d_DHparams_bio, " "i2d_DHparams_fp, i2d_DSAPrivateKey, i2d_DSAPrivateKey_bio, " "i2d_DSAPrivateKey_fp, i2d_DSAPublicKey, i2d_DSA_PUBKEY, i2d_DSA_PUBKEY_bio, " "i2d_DSA_PUBKEY_fp, i2d_DSAparams, i2d_ECParameters, i2d_ECPrivateKey, " "i2d_ECPrivateKey_bio, i2d_ECPrivateKey_fp, i2d_EC_PUBKEY, i2d_EC_PUBKEY_bio, " "i2d_EC_PUBKEY_fp \\&- DEPRECATED" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Header" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The following functions have been deprecated since OpenSSL 3.0, and can be " "hidden entirely by defining B with a suitable version " "value, see B\\|(7):" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& TYPE *d2i_TYPEPrivateKey(TYPE **a, const unsigned char **ppin, long length);\n" "\\& TYPE *d2i_TYPEPrivateKey_bio(BIO *bp, TYPE **a);\n" "\\& TYPE *d2i_TYPEPrivateKey_fp(FILE *fp, TYPE **a);\n" "\\& TYPE *d2i_TYPEPublicKey(TYPE **a, const unsigned char **ppin, long length);\n" "\\& TYPE *d2i_TYPEPublicKey_bio(BIO *bp, TYPE **a);\n" "\\& TYPE *d2i_TYPEPublicKey_fp(FILE *fp, TYPE **a);\n" "\\& TYPE *d2i_TYPEparams(TYPE **a, const unsigned char **ppin, long length);\n" "\\& TYPE *d2i_TYPEparams_bio(BIO *bp, TYPE **a);\n" "\\& TYPE *d2i_TYPEparams_fp(FILE *fp, TYPE **a);\n" "\\& TYPE *d2i_TYPE_PUBKEY(TYPE **a, const unsigned char **ppin, long length);\n" "\\& TYPE *d2i_TYPE_PUBKEY_bio(BIO *bp, TYPE **a);\n" "\\& TYPE *d2i_TYPE_PUBKEY_fp(FILE *fp, TYPE **a);\n" "\\&\n" "\\& int i2d_TYPEPrivateKey(const TYPE *a, unsigned char **ppout);\n" "\\& int i2d_TYPEPrivateKey(TYPE *a, unsigned char **ppout);\n" "\\& int i2d_TYPEPrivateKey_fp(FILE *fp, const TYPE *a);\n" "\\& int i2d_TYPEPrivateKey_fp(FILE *fp, TYPE *a);\n" "\\& int i2d_TYPEPrivateKey_bio(BIO *bp, const TYPE *a);\n" "\\& int i2d_TYPEPrivateKey_bio(BIO *bp, TYPE *a);\n" "\\& int i2d_TYPEPublicKey(const TYPE *a, unsigned char **ppout);\n" "\\& int i2d_TYPEPublicKey(TYPE *a, unsigned char **ppout);\n" "\\& int i2d_TYPEPublicKey_fp(FILE *fp, const TYPE *a);\n" "\\& int i2d_TYPEPublicKey_fp(FILE *fp, TYPE *a);\n" "\\& int i2d_TYPEPublicKey_bio(BIO *bp, const TYPE *a);\n" "\\& int i2d_TYPEPublicKey_bio(BIO *bp, TYPE *a);\n" "\\& int i2d_TYPEparams(const TYPE *a, unsigned char **ppout);\n" "\\& int i2d_TYPEparams(TYPE *a, unsigned char **ppout);\n" "\\& int i2d_TYPEparams_fp(FILE *fp, const TYPE *a);\n" "\\& int i2d_TYPEparams_fp(FILE *fp, TYPE *a);\n" "\\& int i2d_TYPEparams_bio(BIO *bp, const TYPE *a);\n" "\\& int i2d_TYPEparams_bio(BIO *bp, TYPE *a);\n" "\\& int i2d_TYPE_PUBKEY(const TYPE *a, unsigned char **ppout);\n" "\\& int i2d_TYPE_PUBKEY(TYPE *a, unsigned char **ppout);\n" "\\& int i2d_TYPE_PUBKEY_fp(FILE *fp, const TYPE *a);\n" "\\& int i2d_TYPE_PUBKEY_fp(FILE *fp, TYPE *a);\n" "\\& int i2d_TYPE_PUBKEY_bio(BIO *bp, const TYPE *a);\n" "\\& int i2d_TYPE_PUBKEY_bio(BIO *bp, TYPE *a);\n" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "All functions described here are deprecated. Please use B\\|" "(3) instead of the B functions and B\\|(3) instead of " "the B functions. See \"Migration\" below." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "In the description here, \\f(BITYPE\\fR is used a placeholder for any of the " "OpenSSL datatypes, such as B. The function parameters I and " "I are generally either both named \\&I in the headers, or I " "and I." msgstr "" #. type: Plain text #: archlinux msgid "" "All the functions here behave the way that\\*(Aqs described in B\\|" "(3)." msgstr "" #. type: Plain text #: archlinux msgid "" "Please note that not all functions in the synopsis are available for all key " "types. For example, there are no B or B, " "because the PKCS#1 B structure doesn\\*(Aqt include any key parameters." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B\\f(BITYPEB() and derivates thereof decode DER encoded " "\\&\\f(BITYPE\\fR private key data organized in a type specific structure." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B\\f(BITYPEB() and derivates thereof decode DER encoded " "\\&\\f(BITYPE\\fR public key data organized in a type specific structure." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B\\f(BITYPEB() and derivates thereof decode DER encoded " "\\f(BITYPE\\fR key parameters organized in a type specific structure." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B\\f(BITYPEB<_PUBKEY>() and derivates thereof decode DER encoded " "\\f(BITYPE\\fR public key data organized in a B " "structure." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B\\f(BITYPEB() and derivates thereof encode the private " "key \\&\\f(BITYPE\\fR data into a type specific DER encoded structure." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B\\f(BITYPEB() and derivates thereof encode the public " "key \\&\\f(BITYPE\\fR data into a type specific DER encoded structure." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B\\f(BITYPEB() and derivates thereof encode the " "\\f(BITYPE\\fR key parameters data into a type specific DER encoded " "structure." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B\\f(BITYPEB<_PUBKEY>() and derivates thereof encode the public key " "\\&\\f(BITYPE\\fR data into a DER encoded B structure." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "For example, B and B expects the " "structure defined by PKCS#1. Similarly, B and " "B produce DER encoded string organized according to " "PKCS#1." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Migration" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Subsection" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Migration from the diverse \\f(BITYPE\\fRs requires using corresponding new " "OpenSSL types. For all \\f(BITYPE\\fRs described here, the corresponding " "new type is B. The rest of this section assumes that this has " "been done, exactly how to do that is described elsewhere." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "There are two migration paths:" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "\\(bu" msgstr "" #. type: Plain text #: archlinux debian-unstable msgid "" "Replace \\&B\\f(BITYPEB with B\\|(3), " "\\&B\\f(BITYPEB with B\\|(3), " "\\&B\\f(BITYPEB with B\\|(3), " "\\&B\\f(BITYPEB<_PUBKEY()> with B\\|(3), " "\\&B\\f(BITYPEB with B\\|(3), " "\\&B\\f(BITYPEB with B\\|(3), " "\\&B\\f(BITYPEB with B\\|(3), " "\\&B\\f(BITYPEB<_PUBKEY()> with B\\|(3). A caveat is that " "B\\|(3) may output a DER encoded PKCS#8 outermost structure " "instead of the type specific structure, and that \\&B\\|(3) " "recognises and unpacks a PKCS#8 structures." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Use B\\|(3) and B\\|(3). How to migrate is " "described below. All those descriptions assume that the key to be encoded " "is in the variable I." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "I\\f(BIi2dI< functions to >\\f(BIOSSL_ENCODER\\fR" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Migrating i2d functions to OSSL_ENCODER" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The exact B\\|(3) output is driven by arguments rather than by " "function names. The sample code to get DER encoded output in a type " "specific structure is uniform, the only things that vary are the selection " "of what part of the B should be output, and the structure. The " "\\&B functions names can therefore be translated into two variables, " "\\&I and I as follows:" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B\\f(BITYPEB() translates into:" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Item" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "i2d_TYPEPrivateKey() translates into:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& int selection = EVP_PKEY_KEYPAIR;\n" "\\& const char *structure = \"type-specific\";\n" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B\\f(BITYPEB() translates into:" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "i2d_TYPEPublicKey() translates into:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& int selection = EVP_PKEY_PUBLIC_KEY;\n" "\\& const char *structure = \"type-specific\";\n" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B\\f(BITYPEB() translates into:" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "i2d_TYPEparams() translates into:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& int selection = EVP_PKEY_PARAMETERS;\n" "\\& const char *structure = \"type-specific\";\n" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B\\f(BITYPEB<_PUBKEY>() translates into:" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "i2d_TYPE_PUBKEY() translates into:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& int selection = EVP_PKEY_PUBLIC_KEY;\n" "\\& const char *structure = \"SubjectPublicKeyInfo\";\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "The following sample code does the rest of the work:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& unsigned char *p = buffer; /* |buffer| is supplied by the caller */\n" "\\& size_t len = buffer_size; /* assumed be the size of |buffer| */\n" "\\& OSSL_ENCODER_CTX *ctx =\n" "\\& OSSL_ENCODER_CTX_new_for_pkey(pkey, selection, \"DER\", structure,\n" "\\& NULL, NULL);\n" "\\& if (ctx == NULL) {\n" "\\& /* fatal error handling */\n" "\\& }\n" "\\& if (OSSL_ENCODER_CTX_get_num_encoders(ctx) == 0) {\n" "\\& OSSL_ENCODER_CTX_free(ctx);\n" "\\& /* non-fatal error handling */\n" "\\& }\n" "\\& if (!OSSL_ENCODER_to_data(ctx, &p, &len)) {\n" "\\& OSSL_ENCODER_CTX_free(ctx);\n" "\\& /* error handling */\n" "\\& }\n" "\\& OSSL_ENCODER_CTX_free(ctx);\n" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NOTES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The letters B and B in B\\f(BITYPE\\fR() stand for \"internal\" " "(that is, an internal C structure) and \"DER\" respectively. So " "B\\f(BITYPE\\fR() converts from internal to DER." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "The functions can also understand B forms." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The actual TYPE structure passed to B\\f(BITYPE\\fR() must be a valid " "populated \\f(BITYPE\\fR structure -- it B simply be fed with an " "empty structure such as that returned by B." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The encoded data is in binary form and may contain embedded zeros. " "Therefore, any FILE pointers or BIOs should be opened in binary mode. " "Functions such as B will B return the correct length of the " "encoded structure." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The ways that I<*ppin> and I<*ppout> are incremented after the operation can " "trap the unwary. See the B section in B\\|(3) for some " "common errors. The reason for this-auto increment behaviour is to reflect a " "typical usage of ASN1 functions: after one structure is encoded or decoded " "another will be processed after it." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "The following points about the data types might be useful:" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "DSA_PUBKEY" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Represents a DSA public key using a B structure." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B, B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "DSAPublicKey, DSAPrivateKey" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Use a non-standard OpenSSL format and should be avoided; use B, " "\\&B\\|(3), or similar instead." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "RETURN VALUES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B\\f(BITYPE\\fR(), B\\f(BITYPEB<_bio>() and " "B\\f(BITYPEB<_fp>() return a valid \\&\\f(BITYPE\\fR structure or NULL " "if an error occurs. If the \"reuse\" capability has been used with a valid " "structure being passed in via I, then the object is freed in the event of " "error and I<*a> is set to NULL." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B\\f(BITYPE\\fR() returns the number of bytes successfully encoded " "or a negative value if an error occurs." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B\\f(BITYPEB<_bio>() and B\\f(BITYPEB<_fp>() return 1 for " "success and 0 if an error occurs." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B\\|(3), B\\|(3), \\&B\\|(3), " "B\\|(3), B\\|(3), \\&B\\|(3), " "\\&B\\|(3), B\\|(3), B\\|(3), " "\\&B\\|(3)" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "COPYRIGHT" msgstr "" #. type: Plain text #: archlinux debian-unstable msgid "Copyright 2020-2025 The OpenSSL Project Authors. All Rights Reserved." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Licensed under the Apache License 2.0 (the \"License\"). You may not use " "this file except in compliance with the License. You can obtain a copy in " "the file LICENSE in the source distribution or at Ehttps://" "www.openssl.org/source/license.htmlE." msgstr "" #. ======================================================================== #. type: IX #: debian-trixie debian-unstable #, no-wrap msgid "D2I_RSAPRIVATEKEY 3SSL" msgstr "" #. type: TH #: debian-trixie #, no-wrap msgid "3.5.6" msgstr "" #. type: Plain text #: debian-trixie debian-unstable msgid "" "All the functions here behave the way that's described in B\\|(3)." msgstr "" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Please note that not all functions in the synopsis are available for all key " "types. For example, there are no B or B, " "because the PKCS#1 B structure doesn't include any key parameters." msgstr "" #. type: Plain text #: debian-trixie msgid "" "Replace bEd2i_IBE with B\\|(3), " "bEd2i_IBE with B\\|(3), " "bEd2i_IBE with B\\|(3), " "bEd2i_IB<_PUBKEY()>E with B\\|(3), " "bEi2d_IBE with B\\|(3), " "bEi2d_IBE with B\\|(3), " "bEi2d_IBE with B\\|(3), " "bEi2d_IB<_PUBKEY()>E with B\\|(3). A caveat is " "that B\\|(3) may output a DER encoded PKCS#8 outermost " "structure instead of the type specific structure, and that " "\\&B\\|(3) recognises and unpacks a PKCS#8 structures." msgstr "" #. type: Plain text #: debian-trixie msgid "Copyright 2020-2023 The OpenSSL Project Authors. All Rights Reserved." msgstr ""