# 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: CMS_decrypt.3ssl.pot (PACKAGE VERSION) #-#-#-#-# # #. #-#-#-#-# archlinux: CMS_decrypt.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #. #-#-#-#-# debian-trixie: CMS_decrypt.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #. #-#-#-#-# debian-unstable: CMS_decrypt.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 "CMS_DECRYPT 3ssl" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "CMS_DECRYPT" 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 "" "CMS_decrypt, CMS_decrypt_set1_pkey_and_peer, CMS_decrypt_set1_pkey, " "CMS_decrypt_set1_password \\&- decrypt content from a CMS envelopedData " "structure" 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/cms.hE\n" "\\&\n" "\\& int CMS_decrypt(CMS_ContentInfo *cms, EVP_PKEY *pkey, X509 *cert,\n" "\\& BIO *dcont, BIO *out, unsigned int flags);\n" "\\& int CMS_decrypt_set1_pkey_and_peer(CMS_ContentInfo *cms,\n" "\\& EVP_PKEY *pk, X509 *cert, X509 *peer);\n" "\\& int CMS_decrypt_set1_pkey(CMS_ContentInfo *cms, EVP_PKEY *pk, X509 *cert);\n" "\\& int CMS_decrypt_set1_password(CMS_ContentInfo *cms,\n" "\\& unsigned char *pass, ossl_ssize_t passlen);\n" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B extracts the decrypted content from a CMS EnvelopedData " "or AuthEnvelopedData structure. It uses B to " "decrypt the content with the recipient private key I if I is not " "NULL. In this case, the associated certificate is recommended to provide in " "I - see the NOTES below. \\&I is a BIO to write the content to " "and \\&I is an optional set of flags. If I is NULL the " "function assumes that decryption was already done (e.g., using " "B or B) and just " "provides the content unless I, I, and I are NULL as well. " "The I parameter is used in the rare case where the encrypted content " "is detached. It will normally be set to NULL." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B decrypts the CMS_ContentInfo " "structure I using the private key I, the corresponding " "certificate I, which is recommended but may be NULL, and the " "(optional) originator certificate I. On success, it also records in " "I the decryption key I, and then should be followed by " "CW<\\*(C`CMS_decrypt(cms, NULL, NULL, dcont, out, flags)\\*(C'>. This call " "deallocates any decryption key stored in I." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B is the same as " "\\&B with I being NULL." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B decrypts the CMS_ContentInfo structure " "I using the secret I of length I. On success, it also " "records in I the decryption key used, and then should be followed by " "CW<\\*(C`CMS_decrypt(cms, NULL, NULL, dcont, out, flags)\\*(C'>. This call " "deallocates any decryption key stored in I." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NOTES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Although the recipients certificate is not needed to decrypt the data it is " "needed to locate the appropriate (of possible several) recipients in the CMS " "structure." msgstr "" #. type: Plain text #: archlinux msgid "" "If I is set to NULL all possible recipients are tried. This case " "however is problematic. To thwart the MMA attack (Bleichenbacher\\*(Aqs " "attack on PKCS #1 v1.5 RSA padding) all recipients are tried whether they " "succeed or not. If no recipient succeeds then a random symmetric key is used " "to decrypt the content: this will typically output garbage and may (but is " "not guaranteed to) ultimately return a padding error only. If " "B just returned an error when all recipient encrypted keys " "failed to decrypt an attacker could use this in a timing attack. If the " "special flag B is set then the above behaviour is " "modified and an error B returned if no recipient encrypted key can be " "decrypted B generating a random content encryption key. " "Applications should use this flag with \\&B especially in " "automated gateways as it can leave them open to attack." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "It is possible to determine the correct recipient key by other means (for " "example looking them up in a database) and setting them in the CMS structure " "in advance using the CMS utility functions such as B, or " "use B if the recipient has a symmetric key. In " "these cases both I and I should be set to NULL." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "To process KEKRecipientInfo types B or " "B and B should be " "called before B and \\&I and I set to NULL." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "The following flags can be passed in the I parameter." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "If the B flag is set MIME headers for type CW<\\*(C`text/" "plain\\*(C'> are deleted from the content. If the content is not of type " "CW<\\*(C`text/plain\\*(C'> then an error is returned." 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 " "either 1 for success or 0 for failure. The error can be obtained from " "B\\|(3)." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "BUGS" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The B part of these function names is misleading and should better " "read: B." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The lack of single pass processing and the need to hold all data in memory " "as mentioned in B also applies to B." 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)" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "HISTORY" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B and B " "were 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 2008-2020 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 "CMS_DECRYPT 3SSL" msgstr "" #. type: TH #: debian-trixie #, no-wrap msgid "3.5.6" msgstr "" #. type: Plain text #: debian-trixie debian-unstable msgid "" "If I is set to NULL all possible recipients are tried. This case " "however is problematic. To thwart the MMA attack (Bleichenbacher's attack on " "PKCS #1 v1.5 RSA padding) all recipients are tried whether they succeed or " "not. If no recipient succeeds then a random symmetric key is used to decrypt " "the content: this will typically output garbage and may (but is not " "guaranteed to) ultimately return a padding error only. If B " "just returned an error when all recipient encrypted keys failed to decrypt " "an attacker could use this in a timing attack. If the special flag " "B is set then the above behaviour is modified and an " "error B returned if no recipient encrypted key can be decrypted " "B generating a random content encryption key. Applications should " "use this flag with \\&B especially in automated gateways as " "it can leave them open to attack." msgstr ""