Debian Codegraph @

templates/man3/CMS_decrypt.3ssl.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:21+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 # #-#-#-#-# archlinux: CMS_decrypt.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: CMS_decrypt.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: CMS_decrypt.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: CMS_decrypt.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
29 #. ========================================================================
30 #. type: IX
31 #: archlinux debian-trixie debian-unstable
32 #, no-wrap
33 msgid "Title"
34 msgstr ""
35
36 #
37 #. Required to disable full justification in groff 1.23.0.
38 #. ========================================================================
39 #. type: IX
40 #: archlinux
41 #, no-wrap
42 msgid "CMS_DECRYPT 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "CMS_DECRYPT"
49 msgstr ""
50
51 #. type: TH
52 #: archlinux debian-trixie debian-unstable
53 #, no-wrap
54 msgid "2026-04-07"
55 msgstr ""
56
57 #. type: TH
58 #: archlinux debian-unstable
59 #, no-wrap
60 msgid "3.6.2"
61 msgstr ""
62
63 #. type: TH
64 #: archlinux debian-trixie debian-unstable
65 #, no-wrap
66 msgid "OpenSSL"
67 msgstr ""
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable
71 #, no-wrap
72 msgid "NAME"
73 msgstr ""
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable
77 msgid ""
78 "CMS_decrypt, CMS_decrypt_set1_pkey_and_peer, CMS_decrypt_set1_pkey, "
79 "CMS_decrypt_set1_password \\&- decrypt content from a CMS envelopedData "
80 "structure"
81 msgstr ""
82
83 #. type: IX
84 #: archlinux debian-trixie debian-unstable
85 #, no-wrap
86 msgid "SYNOPSIS"
87 msgstr ""
88
89 #. type: IX
90 #: archlinux debian-trixie debian-unstable
91 #, no-wrap
92 msgid "Header"
93 msgstr ""
94
95 #. type: Plain text
96 #: archlinux debian-trixie debian-unstable
97 #, no-wrap
98 msgid ""
99 "\\& #include E<lt>openssl/cms.hE<gt>\n"
100 "\\&\n"
101 "\\& int CMS_decrypt(CMS_ContentInfo *cms, EVP_PKEY *pkey, X509 *cert,\n"
102 "\\& BIO *dcont, BIO *out, unsigned int flags);\n"
103 "\\& int CMS_decrypt_set1_pkey_and_peer(CMS_ContentInfo *cms,\n"
104 "\\& EVP_PKEY *pk, X509 *cert, X509 *peer);\n"
105 "\\& int CMS_decrypt_set1_pkey(CMS_ContentInfo *cms, EVP_PKEY *pk, X509 *cert);\n"
106 "\\& int CMS_decrypt_set1_password(CMS_ContentInfo *cms,\n"
107 "\\& unsigned char *pass, ossl_ssize_t passlen);\n"
108 msgstr ""
109
110 #. type: IX
111 #: archlinux debian-trixie debian-unstable
112 #, no-wrap
113 msgid "DESCRIPTION"
114 msgstr ""
115
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable
118 msgid ""
119 "\\&B<CMS_decrypt()> extracts the decrypted content from a CMS EnvelopedData "
120 "or AuthEnvelopedData structure. It uses B<CMS_decrypt_set1_pkey()> to "
121 "decrypt the content with the recipient private key I<pkey> if I<pkey> is not "
122 "NULL. In this case, the associated certificate is recommended to provide in "
123 "I<cert> - see the NOTES below. \\&I<out> is a BIO to write the content to "
124 "and \\&I<flags> is an optional set of flags. If I<pkey> is NULL the "
125 "function assumes that decryption was already done (e.g., using "
126 "B<CMS_decrypt_set1_pkey()> or B<CMS_decrypt_set1_password()>) and just "
127 "provides the content unless I<cert>, I<dcont>, and I<out> are NULL as well. "
128 "The I<dcont> parameter is used in the rare case where the encrypted content "
129 "is detached. It will normally be set to NULL."
130 msgstr ""
131
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable
134 msgid ""
135 "\\&B<CMS_decrypt_set1_pkey_and_peer()> decrypts the CMS_ContentInfo "
136 "structure I<cms> using the private key I<pkey>, the corresponding "
137 "certificate I<cert>, which is recommended but may be NULL, and the "
138 "(optional) originator certificate I<peer>. On success, it also records in "
139 "I<cms> the decryption key I<pkey>, and then should be followed by "
140 "CW<\\*(C`CMS_decrypt(cms, NULL, NULL, dcont, out, flags)\\*(C'>. This call "
141 "deallocates any decryption key stored in I<cms>."
142 msgstr ""
143
144 #. type: Plain text
145 #: archlinux debian-trixie debian-unstable
146 msgid ""
147 "\\&B<CMS_decrypt_set1_pkey()> is the same as "
148 "\\&B<CMS_decrypt_set1_pkey_and_peer()> with I<peer> being NULL."
149 msgstr ""
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable
153 msgid ""
154 "\\&B<CMS_decrypt_set1_password()> decrypts the CMS_ContentInfo structure "
155 "I<cms> using the secret I<pass> of length I<passlen>. On success, it also "
156 "records in I<cms> the decryption key used, and then should be followed by "
157 "CW<\\*(C`CMS_decrypt(cms, NULL, NULL, dcont, out, flags)\\*(C'>. This call "
158 "deallocates any decryption key stored in I<cms>."
159 msgstr ""
160
161 #. type: IX
162 #: archlinux debian-trixie debian-unstable
163 #, no-wrap
164 msgid "NOTES"
165 msgstr ""
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable
169 msgid ""
170 "Although the recipients certificate is not needed to decrypt the data it is "
171 "needed to locate the appropriate (of possible several) recipients in the CMS "
172 "structure."
173 msgstr ""
174
175 #. type: Plain text
176 #: archlinux
177 msgid ""
178 "If I<cert> is set to NULL all possible recipients are tried. This case "
179 "however is problematic. To thwart the MMA attack (Bleichenbacher\\*(Aqs "
180 "attack on PKCS #1 v1.5 RSA padding) all recipients are tried whether they "
181 "succeed or not. If no recipient succeeds then a random symmetric key is used "
182 "to decrypt the content: this will typically output garbage and may (but is "
183 "not guaranteed to) ultimately return a padding error only. If "
184 "B<CMS_decrypt()> just returned an error when all recipient encrypted keys "
185 "failed to decrypt an attacker could use this in a timing attack. If the "
186 "special flag B<CMS_DEBUG_DECRYPT> is set then the above behaviour is "
187 "modified and an error B<is> returned if no recipient encrypted key can be "
188 "decrypted B<without> generating a random content encryption key. "
189 "Applications should use this flag with \\&B<extreme caution> especially in "
190 "automated gateways as it can leave them open to attack."
191 msgstr ""
192
193 #. type: Plain text
194 #: archlinux debian-trixie debian-unstable
195 msgid ""
196 "It is possible to determine the correct recipient key by other means (for "
197 "example looking them up in a database) and setting them in the CMS structure "
198 "in advance using the CMS utility functions such as B<CMS_set1_pkey()>, or "
199 "use B<CMS_decrypt_set1_password()> if the recipient has a symmetric key. In "
200 "these cases both I<cert> and I<pkey> should be set to NULL."
201 msgstr ""
202
203 #. type: Plain text
204 #: archlinux debian-trixie debian-unstable
205 msgid ""
206 "To process KEKRecipientInfo types B<CMS_set1_key()> or "
207 "B<CMS_RecipientInfo_set0_key()> and B<CMS_RecipientInfo_decrypt()> should be "
208 "called before B<CMS_decrypt()> and \\&I<cert> and I<pkey> set to NULL."
209 msgstr ""
210
211 #. type: Plain text
212 #: archlinux debian-trixie debian-unstable
213 msgid "The following flags can be passed in the I<flags> parameter."
214 msgstr ""
215
216 #. type: Plain text
217 #: archlinux debian-trixie debian-unstable
218 msgid ""
219 "If the B<CMS_TEXT> flag is set MIME headers for type CW<\\*(C`text/"
220 "plain\\*(C'> are deleted from the content. If the content is not of type "
221 "CW<\\*(C`text/plain\\*(C'> then an error is returned."
222 msgstr ""
223
224 #. type: IX
225 #: archlinux debian-trixie debian-unstable
226 #, no-wrap
227 msgid "RETURN VALUES"
228 msgstr ""
229
230 #. type: Plain text
231 #: archlinux debian-trixie debian-unstable
232 msgid ""
233 "\\&B<CMS_decrypt()>, B<CMS_decrypt_set1_pkey_and_peer()>, "
234 "\\&B<CMS_decrypt_set1_pkey()>, and B<CMS_decrypt_set1_password()> return "
235 "either 1 for success or 0 for failure. The error can be obtained from "
236 "B<ERR_get_error>\\|(3)."
237 msgstr ""
238
239 #. type: IX
240 #: archlinux debian-trixie debian-unstable
241 #, no-wrap
242 msgid "BUGS"
243 msgstr ""
244
245 #. type: Plain text
246 #: archlinux debian-trixie debian-unstable
247 msgid ""
248 "The B<set1_> part of these function names is misleading and should better "
249 "read: B<with_>."
250 msgstr ""
251
252 #. type: Plain text
253 #: archlinux debian-trixie debian-unstable
254 msgid ""
255 "The lack of single pass processing and the need to hold all data in memory "
256 "as mentioned in B<CMS_verify()> also applies to B<CMS_decrypt()>."
257 msgstr ""
258
259 #. type: IX
260 #: archlinux debian-trixie debian-unstable
261 #, no-wrap
262 msgid "SEE ALSO"
263 msgstr ""
264
265 #. type: Plain text
266 #: archlinux debian-trixie debian-unstable
267 msgid "\\&B<ERR_get_error>\\|(3), B<CMS_encrypt>\\|(3)"
268 msgstr ""
269
270 #. type: IX
271 #: archlinux debian-trixie debian-unstable
272 #, no-wrap
273 msgid "HISTORY"
274 msgstr ""
275
276 #. type: Plain text
277 #: archlinux debian-trixie debian-unstable
278 msgid ""
279 "\\&B<CMS_decrypt_set1_pkey_and_peer()> and B<CMS_decrypt_set1_password()> "
280 "were added in OpenSSL 3.0."
281 msgstr ""
282
283 #. type: IX
284 #: archlinux debian-trixie debian-unstable
285 #, no-wrap
286 msgid "COPYRIGHT"
287 msgstr ""
288
289 #. type: Plain text
290 #: archlinux debian-trixie debian-unstable
291 msgid "Copyright 2008-2020 The OpenSSL Project Authors. All Rights Reserved."
292 msgstr ""
293
294 #. type: Plain text
295 #: archlinux debian-trixie debian-unstable
296 msgid ""
297 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
298 "this file except in compliance with the License. You can obtain a copy in "
299 "the file LICENSE in the source distribution or at E<lt>https://"
300 "www.openssl.org/source/license.htmlE<gt>."
301 msgstr ""
302
303 #. ========================================================================
304 #. type: IX
305 #: debian-trixie debian-unstable
306 #, no-wrap
307 msgid "CMS_DECRYPT 3SSL"
308 msgstr ""
309
310 #. type: TH
311 #: debian-trixie
312 #, no-wrap
313 msgid "3.5.6"
314 msgstr ""
315
316 #. type: Plain text
317 #: debian-trixie debian-unstable
318 msgid ""
319 "If I<cert> is set to NULL all possible recipients are tried. This case "
320 "however is problematic. To thwart the MMA attack (Bleichenbacher's attack on "
321 "PKCS #1 v1.5 RSA padding) all recipients are tried whether they succeed or "
322 "not. If no recipient succeeds then a random symmetric key is used to decrypt "
323 "the content: this will typically output garbage and may (but is not "
324 "guaranteed to) ultimately return a padding error only. If B<CMS_decrypt()> "
325 "just returned an error when all recipient encrypted keys failed to decrypt "
326 "an attacker could use this in a timing attack. If the special flag "
327 "B<CMS_DEBUG_DECRYPT> is set then the above behaviour is modified and an "
328 "error B<is> returned if no recipient encrypted key can be decrypted "
329 "B<without> generating a random content encryption key. Applications should "
330 "use this flag with \\&B<extreme caution> especially in automated gateways as "
331 "it can leave them open to attack."
332 msgstr ""