# 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_new.3ssl.pot (PACKAGE VERSION) #-#-#-#-# # #. #-#-#-#-# archlinux: EVP_PKEY_new.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #. #-#-#-#-# debian-trixie: EVP_PKEY_new.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #. #-#-#-#-# debian-unstable: EVP_PKEY_new.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_NEW 3ssl" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_PKEY_NEW" 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, EVP_PKEY_new, EVP_PKEY_up_ref, EVP_PKEY_dup, EVP_PKEY_free, " "EVP_PKEY_new_raw_private_key_ex, EVP_PKEY_new_raw_private_key, " "EVP_PKEY_new_raw_public_key_ex, EVP_PKEY_new_raw_public_key, " "EVP_PKEY_new_CMAC_key, EVP_PKEY_new_mac_key, EVP_PKEY_get_raw_private_key, " "EVP_PKEY_get_raw_public_key \\&- public/private key allocation and raw key " "handling 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" "\\& typedef evp_pkey_st EVP_PKEY;\n" "\\&\n" "\\& EVP_PKEY *EVP_PKEY_new(void);\n" "\\& int EVP_PKEY_up_ref(EVP_PKEY *key);\n" "\\& EVP_PKEY *EVP_PKEY_dup(EVP_PKEY *key);\n" "\\& void EVP_PKEY_free(EVP_PKEY *key);\n" "\\&\n" "\\& EVP_PKEY *EVP_PKEY_new_raw_private_key_ex(OSSL_LIB_CTX *libctx,\n" "\\& const char *keytype,\n" "\\& const char *propq,\n" "\\& const unsigned char *key,\n" "\\& size_t keylen);\n" "\\& EVP_PKEY *EVP_PKEY_new_raw_private_key(int type, ENGINE *e,\n" "\\& const unsigned char *key, size_t keylen);\n" "\\& EVP_PKEY *EVP_PKEY_new_raw_public_key_ex(OSSL_LIB_CTX *libctx,\n" "\\& const char *keytype,\n" "\\& const char *propq,\n" "\\& const unsigned char *key,\n" "\\& size_t keylen);\n" "\\& EVP_PKEY *EVP_PKEY_new_raw_public_key(int type, ENGINE *e,\n" "\\& const unsigned char *key, size_t keylen);\n" "\\& EVP_PKEY *EVP_PKEY_new_mac_key(int type, ENGINE *e, const unsigned char *key,\n" "\\& int keylen);\n" "\\&\n" "\\& int EVP_PKEY_get_raw_private_key(const EVP_PKEY *pkey, unsigned char *priv,\n" "\\& size_t *len);\n" "\\& int EVP_PKEY_get_raw_public_key(const EVP_PKEY *pkey, unsigned char *pub,\n" "\\& size_t *len);\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The following function has 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 "" "\\& EVP_PKEY *EVP_PKEY_new_CMAC_key(ENGINE *e, const unsigned char *priv,\n" "\\& size_t len, const EVP_CIPHER *cipher);\n" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B is a generic structure to hold diverse types of asymmetric " "keys (also known as \"key pairs\"), and can be used for diverse operations, " "like signing, verifying signatures, key derivation, etc. The asymmetric " "keys themselves are often referred to as the \"internal key\", and are " "handled by backends, such as providers (through B\\|(3)) or " "Bs." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Conceptually, an B internal key may hold a private key, a public " "key, or both (a keypair), and along with those, key parameters if the key " "type requires them. The presence of these components determine what " "operations can be made; for example, signing normally requires the presence " "of a private key, and verifying normally requires the presence of a public " "key." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B has also been used for MAC algorithm that were conceived as " "producing signatures, although not being public key algorithms; " "\"POLY1305\", \"SIPHASH\", \"HMAC\", \"CMAC\". This usage is considered " "legacy and is discouraged in favor of the B\\|(3) API." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The B function allocates an empty B structure " "which is used by OpenSSL to store public and private keys. The reference " "count is set to \\&B<1>." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "\\&B increments the reference count of I." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B duplicates the I. The I must not be ENGINE " "based or a raw key, otherwise the duplication will fail." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B decrements the reference count of I and, if the " "reference count is zero, frees it up. If I is NULL, nothing is done." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B allocates a new B. Unless " "an engine should be used for the key type, a provider for the key is found " "using the library context I and the property query string I. " "The \\&I argument indicates what kind of key this is. The value " "should be a string for a public key algorithm that supports raw private " "keys, e.g., one of: \\&CW<\\*(C`ED25519\\*(C'>, \\&CW<\\*(C`ED448\\*(C'>, " "\\&CW<\\*(C`X25519\\*(C'>, \\&CW<\\*(C`X448\\*(C'>, \\&CW<\\*(C`ML-" "DSA-44\\*(C'>, \\&CW<\\*(C`ML-DSA-65\\*(C'>, \\&CW<\\*(C`ML-DSA-87\\*(C'>, " "\\&CW<\\*(C`ML-KEM-512\\*(C'>, \\&CW<\\*(C`ML-KEM-768\\*(C'>, or " "\\&CW<\\*(C`ML-KEM-1024\\*(C'>. \\&I points to the raw private key " "data for this B which should be of length I. The length " "should be appropriate for the type of the key. The public key data will be " "automatically derived from the given private key data (if appropriate for " "the algorithm type)." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B does the same as " "\\&B except that the default library " "context and default property query are used instead. If I is non-NULL " "then the new \\&B structure is associated with the engine I. " "The I argument indicates what kind of key this is. The value should be " "a NID for a public key algorithm that supports raw private keys, i.e. one of " "B, \\&B, B or " "B." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B and " "B may also be used with most MACs " "implemented as public key algorithms, so key types such as \"HMAC\", " "\"POLY1305\", \"SIPHASH\", or their NID form B, " "\\&B, B are also accepted. This usage is, " "as mentioned above, discouraged in favor of the B\\|(3) API." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B works in the same way as " "\\&B except that I points to the raw " "public key data. The B structure will be initialised without any " "private key information. Algorithm types that support raw public keys are " "\\&B, \\&B, \\&B, \\&B, \\&CW<\\*(C`ML-" "DSA-44\\*(C'>, \\&CW<\\*(C`ML-DSA-65\\*(C'>, \\&CW<\\*(C`ML-DSA-87\\*(C'>, " "\\&B, \\&B, and \\&B." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B works in the same way as " "\\&B except that I points to the raw " "public key data. The B structure will be initialised without any " "private key information." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B works in the same way as " "B. New applications should use " "B instead." msgstr "" #. type: Plain text #: archlinux msgid "" "\\&B fills the buffer provided by I " "with raw private key data. The size of the I buffer should be in " "I<*len> on entry to the function, and on exit I<*len> is updated with the " "number of bytes actually written. If the buffer I is NULL then I<*len> " "is populated with the number of bytes required to hold the key. The calling " "application is responsible for ensuring that the buffer is large enough to " "receive the private key data. This function only works for algorithms that " "support raw private keys. These include: \\&B, \\&B, " "\\&B, \\&B, \\&B, \\&B, and \\&B. " "\\&B also works with \\&CW<\\*(C`ML-" "DSA-44\\*(C'>, \\&CW<\\*(C`ML-DSA-65\\*(C'>, \\&CW<\\*(C`ML-DSA-87\\*(C'>, " "\\&B, \\&B and \\&B keys, which " "don\\*(Aqt have legacy numeric I assignments, but their raw form is " "nevertheless available." msgstr "" #. type: Plain text #: archlinux msgid "" "\\&B fills the buffer provided by I with " "raw public key data. The size of the I buffer should be in I<*len> on " "entry to the function, and on exit I<*len> is updated with the number of " "bytes actually written. If the buffer I is NULL then I<*len> is " "populated with the number of bytes required to hold the key. The calling " "application is responsible for ensuring that the buffer is large enough to " "receive the public key data. This function only works for algorithms that " "support raw public keys. These include: \\&B, \\&B, " "\\&B, and \\&B \\&B also works " "with \\&CW<\\*(C`ML-DSA-44\\*(C'>, \\&CW<\\*(C`ML-DSA-65\\*(C'>, " "\\&CW<\\*(C`ML-DSA-87\\*(C'>, \\&B, \\&B and \\&B keys, which don\\*(Aqt have legacy numeric I assignments, but " "their raw form is nevertheless available." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B works in the same way as " "B except it is only for the B " "algorithm type. In addition to the raw private key data, it also takes a " "cipher algorithm to be used during creation of a CMAC in the B " "argument. The cipher should be a standard encryption-only cipher. For " "example AEAD and XTS ciphers should not be used." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Applications should use the B\\|(3) API instead and set the " "B parameter on the B object with the " "name of the cipher being used." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NOTES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The B structure is used by various OpenSSL functions which require " "a general private key without reference to any particular algorithm." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The structure returned by B is empty. To add a private or " "public key to this empty structure use the appropriate functions described " "in \\&B\\|(3), B\\|(3), " "B\\|(3) or \\&B\\|(3) for legacy key " "types implemented in internal OpenSSL providers." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "For fully provider-managed key types (see B\\|(7)), " "possibly implemented in external providers, use functions such as " "\\&B\\|(3) or B\\|(3) " "to populate key data." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Generally caution is advised for using an B structure across " "different library contexts: In order for an B to be shared by " "multiple library contexts the providers associated with the library contexts " "must have key managers that support the key type and implement the " "\\&B and B functions." 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, \\&B and " "B return either the newly allocated B " "structure or NULL if an error occurred." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B returns the key duplicate or NULL if an error occurred." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B, B and " "\\&B return 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\\|(3), " "\\&B\\|(3), \\&B\\|(3), " "\\&B\\|(7), \\&B\\|(7). \\&B\\|(7), \\&B\\|(7), \\&B\\|(7), " "\\&B\\|(7), \\&B\\|(7), \\&B\\|(7), \\&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 exist in all " "versions of OpenSSL." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "The B function was added in OpenSSL 1.1.0." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The \\&B, B, " "\\&B, B and " "\\&B functions were added in OpenSSL 1.1.1." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The B, B, and " "\\&B functions were added in OpenSSL 3.0." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "The B was deprecated in OpenSSL 3.0." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The documentation of B was amended in OpenSSL 3.0 to allow there " "to be the private part of the keypair without the public part, where this " "was previously implied to be disallowed." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Support for B and B was added in OpenSSL 3.5." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "COPYRIGHT" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Copyright 2002-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 "EVP_PKEY_NEW 3SSL" msgstr "" #. type: TH #: debian-trixie #, no-wrap msgid "3.5.6" msgstr "" #. type: Plain text #: debian-trixie debian-unstable msgid "" "\\&B fills the buffer provided by I " "with raw private key data. The size of the I buffer should be in " "I<*len> on entry to the function, and on exit I<*len> is updated with the " "number of bytes actually written. If the buffer I is NULL then I<*len> " "is populated with the number of bytes required to hold the key. The calling " "application is responsible for ensuring that the buffer is large enough to " "receive the private key data. This function only works for algorithms that " "support raw private keys. These include: \\&B, \\&B, " "\\&B, \\&B, \\&B, \\&B, and \\&B. " "\\&B also works with \\&CW<\\*(C`ML-" "DSA-44\\*(C'>, \\&CW<\\*(C`ML-DSA-65\\*(C'>, \\&CW<\\*(C`ML-DSA-87\\*(C'>, " "\\&B, \\&B and \\&B keys, which don't " "have legacy numeric I assignments, but their raw form is nevertheless " "available." msgstr "" #. type: Plain text #: debian-trixie debian-unstable msgid "" "\\&B fills the buffer provided by I with " "raw public key data. The size of the I buffer should be in I<*len> on " "entry to the function, and on exit I<*len> is updated with the number of " "bytes actually written. If the buffer I is NULL then I<*len> is " "populated with the number of bytes required to hold the key. The calling " "application is responsible for ensuring that the buffer is large enough to " "receive the public key data. This function only works for algorithms that " "support raw public keys. These include: \\&B, \\&B, " "\\&B, and \\&B \\&B also works " "with \\&CW<\\*(C`ML-DSA-44\\*(C'>, \\&CW<\\*(C`ML-DSA-65\\*(C'>, " "\\&CW<\\*(C`ML-DSA-87\\*(C'>, \\&B, \\&B and \\&B keys, which don't have legacy numeric I assignments, but " "their raw form is nevertheless available." msgstr ""