Debian Codegraph @

templates/man3/EVP_PKEY_encrypt.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:23+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: EVP_PKEY_encrypt.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: EVP_PKEY_encrypt.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: EVP_PKEY_encrypt.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: EVP_PKEY_encrypt.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 "EVP_PKEY_ENCRYPT 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "EVP_PKEY_ENCRYPT"
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 "EVP_PKEY_encrypt_init_ex, EVP_PKEY_encrypt_init, EVP_PKEY_encrypt - encrypt "
79 "using a public key algorithm"
80 msgstr ""
81
82 #. type: IX
83 #: archlinux debian-trixie debian-unstable
84 #, no-wrap
85 msgid "SYNOPSIS"
86 msgstr ""
87
88 #. type: IX
89 #: archlinux debian-trixie debian-unstable
90 #, no-wrap
91 msgid "Header"
92 msgstr ""
93
94 #. type: Plain text
95 #: archlinux debian-trixie debian-unstable
96 #, no-wrap
97 msgid ""
98 "\\& #include E<lt>openssl/evp.hE<gt>\n"
99 "\\&\n"
100 "\\& int EVP_PKEY_encrypt_init(EVP_PKEY_CTX *ctx);\n"
101 "\\& int EVP_PKEY_encrypt_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]);\n"
102 "\\& int EVP_PKEY_encrypt(EVP_PKEY_CTX *ctx,\n"
103 "\\& unsigned char *out, size_t *outlen,\n"
104 "\\& const unsigned char *in, size_t inlen);\n"
105 msgstr ""
106
107 #. type: IX
108 #: archlinux debian-trixie debian-unstable
109 #, no-wrap
110 msgid "DESCRIPTION"
111 msgstr ""
112
113 #. type: Plain text
114 #: archlinux debian-trixie debian-unstable
115 msgid ""
116 "The B<EVP_PKEY_encrypt_init()> function initializes a public key algorithm "
117 "context using key B<pkey> for an encryption operation."
118 msgstr ""
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable
122 msgid ""
123 "The B<EVP_PKEY_encrypt_init_ex()> function initializes a public key "
124 "algorithm context using key B<pkey> for an encryption operation and sets the "
125 "algorithm specific B<params>."
126 msgstr ""
127
128 #. type: Plain text
129 #: archlinux debian-trixie debian-unstable
130 msgid ""
131 "The B<EVP_PKEY_encrypt()> function performs a public key encryption "
132 "operation using B<ctx>. The data to be encrypted is specified using the "
133 "B<in> and \\&B<inlen> parameters. If B<out> is B<NULL> then the maximum size "
134 "of the output buffer is written to the B<outlen> parameter. If B<out> is not "
135 "B<NULL> then before the call the B<outlen> parameter should contain the "
136 "length of the \\&B<out> buffer, if the call is successful the encrypted data "
137 "is written to \\&B<out> and the amount of data written to B<outlen>."
138 msgstr ""
139
140 #. type: IX
141 #: archlinux debian-trixie debian-unstable
142 #, no-wrap
143 msgid "NOTES"
144 msgstr ""
145
146 #. type: Plain text
147 #: archlinux debian-trixie debian-unstable
148 msgid ""
149 "After the call to B<EVP_PKEY_encrypt_init()> algorithm specific control "
150 "operations can be performed to set any appropriate parameters for the "
151 "operation. These operations can be included in the "
152 "B<EVP_PKEY_encrypt_init_ex()> call."
153 msgstr ""
154
155 #. type: Plain text
156 #: archlinux debian-trixie debian-unstable
157 msgid ""
158 "The function B<EVP_PKEY_encrypt()> can be called more than once on the same "
159 "context if several operations are performed using the same parameters."
160 msgstr ""
161
162 #. type: IX
163 #: archlinux debian-trixie debian-unstable
164 #, no-wrap
165 msgid "RETURN VALUES"
166 msgstr ""
167
168 #. type: Plain text
169 #: archlinux debian-trixie debian-unstable
170 msgid ""
171 "\\&B<EVP_PKEY_encrypt_init()>, B<EVP_PKEY_encrypt_init_ex()> and "
172 "B<EVP_PKEY_encrypt()> return 1 for success and 0 or a negative value for "
173 "failure. In particular a return value of -2 indicates the operation is not "
174 "supported by the public key algorithm."
175 msgstr ""
176
177 #. type: IX
178 #: archlinux debian-trixie debian-unstable
179 #, no-wrap
180 msgid "EXAMPLES"
181 msgstr ""
182
183 #. type: Plain text
184 #: archlinux
185 msgid ""
186 "Encrypt data using OAEP (for RSA keys). See also B<PEM_read_PUBKEY>\\|(3) or "
187 "\\&B<d2i_X509>\\|(3) for means to load a public key. You may also simply set "
188 "\\*(Aqeng = NULL;\\*(Aq to start with the default OpenSSL RSA implementation:"
189 msgstr ""
190
191 #. type: Plain text
192 #: archlinux debian-trixie debian-unstable
193 #, no-wrap
194 msgid ""
195 "\\& #include E<lt>openssl/evp.hE<gt>\n"
196 "\\& #include E<lt>openssl/rsa.hE<gt>\n"
197 "\\& #include E<lt>openssl/engine.hE<gt>\n"
198 "\\&\n"
199 "\\& EVP_PKEY_CTX *ctx;\n"
200 "\\& ENGINE *eng;\n"
201 "\\& unsigned char *out, *in;\n"
202 "\\& size_t outlen, inlen;\n"
203 "\\& EVP_PKEY *key;\n"
204 "\\&\n"
205 "\\& /*\n"
206 "\\& * NB: assumes eng, key, in, inlen are already set up,\n"
207 "\\& * and that key is an RSA public key\n"
208 "\\& */\n"
209 "\\& ctx = EVP_PKEY_CTX_new(key, eng);\n"
210 "\\& if (!ctx)\n"
211 "\\& /* Error occurred */\n"
212 "\\& if (EVP_PKEY_encrypt_init(ctx) E<lt>= 0)\n"
213 "\\& /* Error */\n"
214 "\\& if (EVP_PKEY_CTX_set_rsa_padding(ctx, RSA_PKCS1_OAEP_PADDING) E<lt>= 0)\n"
215 "\\& /* Error */\n"
216 "\\&\n"
217 "\\& /* Determine buffer length */\n"
218 "\\& if (EVP_PKEY_encrypt(ctx, NULL, &outlen, in, inlen) E<lt>= 0)\n"
219 "\\& /* Error */\n"
220 "\\&\n"
221 "\\& out = OPENSSL_malloc(outlen);\n"
222 "\\&\n"
223 "\\& if (!out)\n"
224 "\\& /* malloc failure */\n"
225 "\\&\n"
226 "\\& if (EVP_PKEY_encrypt(ctx, out, &outlen, in, inlen) E<lt>= 0)\n"
227 "\\& /* Error */\n"
228 "\\&\n"
229 "\\& /* Encrypted data is outlen bytes written to buffer out */\n"
230 msgstr ""
231
232 #. type: IX
233 #: archlinux debian-trixie debian-unstable
234 #, no-wrap
235 msgid "SEE ALSO"
236 msgstr ""
237
238 #. type: Plain text
239 #: archlinux debian-trixie debian-unstable
240 msgid ""
241 "\\&B<d2i_X509>\\|(3), \\&B<ENGINE_by_id>\\|(3), \\&B<EVP_PKEY_CTX_new>\\|"
242 "(3), \\&B<EVP_PKEY_decrypt>\\|(3), \\&B<EVP_PKEY_sign>\\|(3), "
243 "\\&B<EVP_PKEY_verify>\\|(3), \\&B<EVP_PKEY_verify_recover>\\|(3), "
244 "\\&B<EVP_PKEY_derive>\\|(3)"
245 msgstr ""
246
247 #. type: IX
248 #: archlinux debian-trixie debian-unstable
249 #, no-wrap
250 msgid "HISTORY"
251 msgstr ""
252
253 #. type: Plain text
254 #: archlinux debian-trixie debian-unstable
255 msgid "These functions were added in OpenSSL 1.0.0."
256 msgstr ""
257
258 #. type: IX
259 #: archlinux debian-trixie debian-unstable
260 #, no-wrap
261 msgid "COPYRIGHT"
262 msgstr ""
263
264 #. type: Plain text
265 #: archlinux debian-trixie debian-unstable
266 msgid "Copyright 2006-2021 The OpenSSL Project Authors. All Rights Reserved."
267 msgstr ""
268
269 #. type: Plain text
270 #: archlinux debian-trixie debian-unstable
271 msgid ""
272 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
273 "this file except in compliance with the License. You can obtain a copy in "
274 "the file LICENSE in the source distribution or at E<lt>https://"
275 "www.openssl.org/source/license.htmlE<gt>."
276 msgstr ""
277
278 #. ========================================================================
279 #. type: IX
280 #: debian-trixie debian-unstable
281 #, no-wrap
282 msgid "EVP_PKEY_ENCRYPT 3SSL"
283 msgstr ""
284
285 #. type: TH
286 #: debian-trixie
287 #, no-wrap
288 msgid "3.5.6"
289 msgstr ""
290
291 #. type: Plain text
292 #: debian-trixie debian-unstable
293 msgid ""
294 "Encrypt data using OAEP (for RSA keys). See also B<PEM_read_PUBKEY>\\|(3) or "
295 "\\&B<d2i_X509>\\|(3) for means to load a public key. You may also simply set "
296 "'eng = NULL;' to start with the default OpenSSL RSA implementation:"
297 msgstr ""