# 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_verify_recover.3ssl.pot (PACKAGE VERSION) #-#-#-#-# # #. #-#-#-#-# archlinux: EVP_PKEY_verify_recover.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #. #-#-#-#-# debian-trixie: EVP_PKEY_verify_recover.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #. #-#-#-#-# debian-unstable: EVP_PKEY_verify_recover.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_VERIFY_RECOVER 3ssl" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_PKEY_VERIFY_RECOVER" 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_verify_recover_init, EVP_PKEY_verify_recover_init_ex, " "EVP_PKEY_verify_recover_init_ex2, EVP_PKEY_verify_recover \\&- recover " "signature using a public key algorithm" 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_verify_recover_init(EVP_PKEY_CTX *ctx);\n" "\\& int EVP_PKEY_verify_recover_init_ex(EVP_PKEY_CTX *ctx,\n" "\\& const OSSL_PARAM params[]);\n" "\\& int EVP_PKEY_verify_recover_init_ex2(EVP_PKEY_CTX *ctx, EVP_SIGNATURE *algo,\n" "\\& const OSSL_PARAM params[]);\n" "\\& int EVP_PKEY_verify_recover(EVP_PKEY_CTX *ctx,\n" "\\& unsigned char *rout, size_t *routlen,\n" "\\& const unsigned char *sig, size_t siglen);\n" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B initializes a public key algorithm " "context \\&I for signing using the algorithm given when the context was " "created using B\\|(3) or variants thereof. The algorithm " "is used to fetch a B method implicitly, see \"Implicit " "fetch\" in B\\|(7) for more information about implicit fetches." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B is the same as " "\\&B but additionally sets the passed " "parameters \\&I on the context before returning." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B is the same as " "B, but works with an explicitly fetched " "B I. A context I without a pre-loaded key cannot " "be used with this function. Depending on what algorithm was fetched, " "certain details revolving around the treatment of the input to " "B may be pre-determined, and in that case, those details " "may normally not be changed. See \"NOTES\" below for a deeper explanation." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The B function recovers signed data using I. " "The signature is specified using the I and \\&I parameters. If " "I is NULL then the maximum size of the output buffer is written to the " "I parameter. If I is not NULL then before the call the " "I parameter should contain the length of the \\&I buffer, if " "the call is successful recovered data is written to \\&I and the " "amount of data written to I." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NOTES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Normally an application is only interested in whether a signature " "verification operation is successful in those cases the B " "function should be used." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Sometimes however it is useful to obtain the data originally signed using a " "signing operation. Only certain public key algorithms can recover a " "signature in this way (for example RSA in PKCS padding mode)." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "After the call to B algorithm specific " "control operations can be performed to set any appropriate parameters for " "the operation." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "After the call to B, algorithm specific " "control operations may not be needed if the chosen algorithm implies that " "those controls pre-set (and immutable)." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The function B can be called more than once on " "the same context if several operations are performed using the same " "parameters." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "RETURN VALUES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B and B return " "1 for success and 0 or a negative value for failure. In particular a return " "value of -2 indicates the operation is not supported by the public key " "algorithm." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EXAMPLES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Recover digest originally signed using PKCS#1 and SHA256 digest:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& #include Eopenssl/evp.hE\n" "\\& #include Eopenssl/rsa.hE\n" "\\&\n" "\\& EVP_PKEY_CTX *ctx;\n" "\\& unsigned char *rout, *sig;\n" "\\& size_t routlen, siglen;\n" "\\& EVP_PKEY *verify_key;\n" "\\&\n" "\\& /*\n" "\\& * NB: assumes verify_key, sig and siglen are already set up\n" "\\& * and that verify_key is an RSA public key\n" "\\& */\n" "\\& ctx = EVP_PKEY_CTX_new(verify_key, NULL /* no engine */);\n" "\\& if (!ctx)\n" "\\& /* Error occurred */\n" "\\& if (EVP_PKEY_verify_recover_init(ctx) E= 0)\n" "\\& /* Error */\n" "\\& if (EVP_PKEY_CTX_set_rsa_padding(ctx, RSA_PKCS1_PADDING) E= 0)\n" "\\& /* Error */\n" "\\& if (EVP_PKEY_CTX_set_signature_md(ctx, EVP_sha256()) E= 0)\n" "\\& /* Error */\n" "\\&\n" "\\& /* Determine buffer length */\n" "\\& if (EVP_PKEY_verify_recover(ctx, NULL, &routlen, sig, siglen) E= 0)\n" "\\& /* Error */\n" "\\&\n" "\\& rout = OPENSSL_malloc(routlen);\n" "\\&\n" "\\& if (!rout)\n" "\\& /* malloc failure */\n" "\\&\n" "\\& if (EVP_PKEY_verify_recover(ctx, rout, &routlen, sig, siglen) E= 0)\n" "\\& /* Error */\n" "\\&\n" "\\& /* Recovered data is routlen bytes written to buffer rout */\n" 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)" 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 added in OpenSSL 1.0.0." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The B function was added 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 2013-2024 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_VERIFY_RECOVER 3SSL" msgstr "" #. type: TH #: debian-trixie #, no-wrap msgid "3.5.6" msgstr ""