# 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:23+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: EVP_PKEY_set1_RSA.3ssl.pot (PACKAGE VERSION) #-#-#-#-# # #. #-#-#-#-# archlinux: EVP_PKEY_set1_RSA.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #. #-#-#-#-# debian-trixie: EVP_PKEY_set1_RSA.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #. #-#-#-#-# debian-unstable: EVP_PKEY_set1_RSA.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 "EVP_PKEY_SET1_RSA 3ssl" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_PKEY_SET1_RSA" 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 "" "EVP_PKEY_set1_RSA, EVP_PKEY_set1_DSA, EVP_PKEY_set1_DH, " "EVP_PKEY_set1_EC_KEY, EVP_PKEY_get1_RSA, EVP_PKEY_get1_DSA, " "EVP_PKEY_get1_DH, EVP_PKEY_get1_EC_KEY, EVP_PKEY_get0_RSA, " "EVP_PKEY_get0_DSA, EVP_PKEY_get0_DH, EVP_PKEY_get0_EC_KEY, " "EVP_PKEY_assign_RSA, EVP_PKEY_assign_DSA, EVP_PKEY_assign_DH, " "EVP_PKEY_assign_EC_KEY, EVP_PKEY_assign_POLY1305, EVP_PKEY_assign_SIPHASH, " "EVP_PKEY_get0_hmac, EVP_PKEY_get0_poly1305, EVP_PKEY_get0_siphash, " "EVP_PKEY_get0, EVP_PKEY_type, EVP_PKEY_get_id, EVP_PKEY_get_base_id, " "EVP_PKEY_set1_engine, EVP_PKEY_get0_engine, EVP_PKEY_id, EVP_PKEY_base_id - " "EVP_PKEY assignment functions" 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 #, no-wrap msgid "" "\\& #include Eopenssl/evp.hE\n" "\\&\n" "\\& int EVP_PKEY_get_id(const EVP_PKEY *pkey);\n" "\\& int EVP_PKEY_get_base_id(const EVP_PKEY *pkey);\n" "\\& int EVP_PKEY_type(int type);\n" "\\&\n" "\\& #define EVP_PKEY_id EVP_PKEY_get_id\n" "\\& #define EVP_PKEY_base_id EVP_PKEY_get_base_id\n" 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 "" "\\& int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key);\n" "\\& int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, DSA *key);\n" "\\& int EVP_PKEY_set1_DH(EVP_PKEY *pkey, DH *key);\n" "\\& int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, EC_KEY *key);\n" "\\&\n" "\\& RSA *EVP_PKEY_get1_RSA(EVP_PKEY *pkey);\n" "\\& DSA *EVP_PKEY_get1_DSA(EVP_PKEY *pkey);\n" "\\& DH *EVP_PKEY_get1_DH(EVP_PKEY *pkey);\n" "\\& EC_KEY *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey);\n" "\\&\n" "\\& const unsigned char *EVP_PKEY_get0_hmac(const EVP_PKEY *pkey, size_t *len);\n" "\\& const unsigned char *EVP_PKEY_get0_poly1305(const EVP_PKEY *pkey, size_t *len);\n" "\\& const unsigned char *EVP_PKEY_get0_siphash(const EVP_PKEY *pkey, size_t *len);\n" "\\& const RSA *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);\n" "\\& const DSA *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);\n" "\\& const DH *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);\n" "\\& const EC_KEY *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);\n" "\\& void *EVP_PKEY_get0(const EVP_PKEY *pkey);\n" "\\&\n" "\\& int EVP_PKEY_assign_RSA(EVP_PKEY *pkey, RSA *key);\n" "\\& int EVP_PKEY_assign_DSA(EVP_PKEY *pkey, DSA *key);\n" "\\& int EVP_PKEY_assign_DH(EVP_PKEY *pkey, DH *key);\n" "\\& int EVP_PKEY_assign_EC_KEY(EVP_PKEY *pkey, EC_KEY *key);\n" "\\& int EVP_PKEY_assign_POLY1305(EVP_PKEY *pkey, ASN1_OCTET_STRING *key);\n" "\\& int EVP_PKEY_assign_SIPHASH(EVP_PKEY *pkey, ASN1_OCTET_STRING *key);\n" "\\&\n" "\\& ENGINE *EVP_PKEY_get0_engine(const EVP_PKEY *pkey);\n" "\\& int EVP_PKEY_set1_engine(EVP_PKEY *pkey, ENGINE *engine);\n" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B returns the type of I. For example an RSA " "key will return B." msgstr "" #. type: Plain text #: archlinux msgid "" "\\&B returns the actual NID associated with I only " "if the I type isn\\*(Aqt implemented just in a B\\|(7). " "Historically keys using the same algorithm could use different NIDs. For " "example an RSA key could use the NIDs corresponding to the NIDs " "B (equivalent to B) or \\&B " "(equivalent to B). The use of alternative non-standard NIDs " "is now rare so B et al are not often seen in practice. " "\\&B returns -1 (B) if the I is " "only implemented in a B\\|(7)." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B returns the underlying type of the NID I. For " "example EVP_PKEY_type(EVP_PKEY_RSA2) will return B." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B, B, B and " "\\&B set the key referenced by I to I. " "These functions are deprecated. Applications should instead use " "\\&B\\|(3)." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B, B, " "B, \\&B, " "B and \\&B set the " "referenced key to I however these use the supplied I internally " "and so I will be freed when the parent \\&I is freed. These " "macros are deprecated. Applications should instead read an EVP_PKEY directly " "using the OSSL_DECODER APIs (see \\&B\\|(3)), " "or construct an EVP_PKEY from data using \\&B\\|(3)." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B, B, B and " "\\&B return the referenced key in I or NULL if " "the key is not of the correct type. The returned key must be freed after " "use. These functions are deprecated. Applications should instead use the " "EVP_PKEY directly where possible. If access to the low level key parameters " "is required then applications should use B\\|(3) and " "other similar functions. To write an EVP_PKEY out use the OSSL_ENCODER APIs " "(see \\&B\\|(3))." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B, B, " "B, \\&B, " "B, B and " "\\&B return the referenced key in I or NULL if " "the key is not of the correct type. The reference count of the returned key " "is \\&B incremented and so the key must not be freed after use. These " "functions are deprecated. Applications should instead use the EVP_PKEY " "directly where possible. If access to the low level key parameters is " "required then applications should use B\\|(3) and other " "similar functions. To write an EVP_PKEY out use the OSSL_ENCODER APIs (see " "\\&B\\|(3)). B returns a " "pointer to the legacy key or NULL if the key is not legacy." msgstr "" #. type: Plain text #: archlinux msgid "" "Note that if an EVP_PKEY was not constructed using one of the deprecated " "functions such as B, B, " "B or B, or via the similarly " "named B macros described above then the internal key will " "be managed by a provider (see \\&B\\|(7)). In that case the key " "returned by B, \\&B, " "B, B, " "\\&B, B, " "B, \\&B, " "B, B or " "\\&B will be a cached copy of the provider\\*(Aqs " "key. Subsequent updates to the provider\\*(Aqs key will not be reflected " "back in the cached copy, and updates made by an application to the returned " "key will not be reflected back in the provider\\*(Aqs key. Subsequent calls " "to B, \\&B, B " "and B will always return the cached copy returned by " "the first call." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B returns a reference to the ENGINE handling " "I. This function is deprecated. Applications should use providers " "instead of engines (see B\\|(7) for details)." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B sets the ENGINE handling I to I. " "It must be called after the key algorithm and components are set up. If " "I does not include an B for I an error " "occurs. This function is deprecated. Applications should use providers " "instead of engines (see B\\|(7) for details)." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "WARNINGS" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The following functions are only reliable with Bs that have been " "assigned an internal key with EVP_PKEY_assign_*():" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "\\&B, B, B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "For EVP_PKEY key type checking purposes, B\\|(3) is more " "generic." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "For purposes of retrieving the name of the B the function " "\\&B\\|(3) is more generally useful." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The keys returned from the functions B, " "B, \\&B and " "B were changed to have a \"const\" return type in " "OpenSSL 3.0. As described above the keys returned may be cached copies of " "the key held in a provider. Due to this, and unlike in earlier versions of " "OpenSSL, they should be considered read-only copies of the key. Updates to " "these keys will not be reflected back in the provider side key. The " "\\&B, B, B and " "\\&B functions were not changed to have a \"const\" " "return type in order that applications can \"free\" the return value. " "However applications should still consider them as read-only copies." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NOTES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "In accordance with the OpenSSL naming convention the key obtained from or " "assigned to the I using the B<1> functions must be freed as well as " "I." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B, B, " "B, \\&B, " "B and B are " "implemented as macros." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B looks at the curve name id to determine if " "the passed B is an B\\|(7) key, and will set the B " "type to B in that case, instead of B." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Most applications wishing to know a key type will simply call " "\\&B and will not care about the actual type: which " "will be identical in almost all cases." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Previous versions of this document suggested using EVP_PKEY_type(pkey-" "Etype) to determine the type of a key. Since B is now opaque " "this is no longer possible: the equivalent is EVP_PKEY_get_base_id(pkey)." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B is typically used by an ENGINE returning an HSM " "key as part of its routine to load a private key." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "RETURN VALUES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B, B, B and " "\\&B return 1 for success or 0 for failure." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B, B, B and " "\\&B return the referenced key or NULL if an error " "occurred." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B, B, " "B, \\&B, " "B and B return 1 for " "success and 0 for failure." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B, B and B " "return a key type or B (equivalently B) on error." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "\\&B returns 1 for success and 0 for failure." 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\\|(7)" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "HISTORY" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The B and B functions were renamed to " "include CW<\\*(C`get\\*(C'> in their names in OpenSSL 3.0, respectively. The " "old names are kept as non-deprecated alias macros." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "EVP_PKEY_set1_RSA, EVP_PKEY_set1_DSA, EVP_PKEY_set1_DH, " "EVP_PKEY_set1_EC_KEY, EVP_PKEY_get1_RSA, EVP_PKEY_get1_DSA, " "EVP_PKEY_get1_DH, EVP_PKEY_get1_EC_KEY, EVP_PKEY_get0_RSA, " "EVP_PKEY_get0_DSA, EVP_PKEY_get0_DH, EVP_PKEY_get0_EC_KEY, " "EVP_PKEY_assign_RSA, EVP_PKEY_assign_DSA, EVP_PKEY_assign_DH, " "EVP_PKEY_assign_EC_KEY, EVP_PKEY_assign_POLY1305, EVP_PKEY_assign_SIPHASH, " "EVP_PKEY_get0_hmac, EVP_PKEY_get0_poly1305, EVP_PKEY_get0_siphash, " "EVP_PKEY_set1_engine and EVP_PKEY_get0_engine were deprecated in OpenSSL 3.0." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The return value from EVP_PKEY_get0_RSA, EVP_PKEY_get0_DSA, " "EVP_PKEY_get0_DH, EVP_PKEY_get0_EC_KEY were made const in OpenSSL 3.0." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The function B was previously documented on this " "page. It was removed in OpenSSL 3.0." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "COPYRIGHT" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Copyright 2002-2023 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 "EVP_PKEY_SET1_RSA 3SSL" msgstr "" #. type: TH #: debian-trixie #, no-wrap msgid "3.5.6" msgstr "" #. type: Plain text #: debian-trixie debian-unstable msgid "" "\\&B returns the actual NID associated with I only " "if the I type isn't implemented just in a B\\|(7). " "Historically keys using the same algorithm could use different NIDs. For " "example an RSA key could use the NIDs corresponding to the NIDs " "B (equivalent to B) or \\&B " "(equivalent to B). The use of alternative non-standard NIDs " "is now rare so B et al are not often seen in practice. " "\\&B returns -1 (B) if the I is " "only implemented in a B\\|(7)." msgstr "" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Note that if an EVP_PKEY was not constructed using one of the deprecated " "functions such as B, B, " "B or B, or via the similarly " "named B macros described above then the internal key will " "be managed by a provider (see \\&B\\|(7)). In that case the key " "returned by B, \\&B, " "B, B, " "\\&B, B, " "B, \\&B, " "B, B or " "\\&B will be a cached copy of the provider's key. " "Subsequent updates to the provider's key will not be reflected back in the " "cached copy, and updates made by an application to the returned key will not " "be reflected back in the provider's key. Subsequent calls to " "B, \\&B, B and " "B will always return the cached copy returned by the " "first call." msgstr ""