Debian Codegraph @

templates/man3/BIO_f_md.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:19+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: BIO_f_md.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: BIO_f_md.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: BIO_f_md.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: BIO_f_md.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 "BIO_F_MD 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "BIO_F_MD"
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 "BIO_f_md, BIO_set_md, BIO_get_md, BIO_get_md_ctx - message digest BIO filter"
79 msgstr ""
80
81 #. type: IX
82 #: archlinux debian-trixie debian-unstable
83 #, no-wrap
84 msgid "SYNOPSIS"
85 msgstr ""
86
87 #. type: IX
88 #: archlinux debian-trixie debian-unstable
89 #, no-wrap
90 msgid "Header"
91 msgstr ""
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable
95 #, no-wrap
96 msgid ""
97 "\\& #include E<lt>openssl/bio.hE<gt>\n"
98 "\\& #include E<lt>openssl/evp.hE<gt>\n"
99 "\\&\n"
100 "\\& const BIO_METHOD *BIO_f_md(void);\n"
101 "\\& int BIO_set_md(BIO *b, EVP_MD *md);\n"
102 "\\& int BIO_get_md(BIO *b, EVP_MD **mdp);\n"
103 "\\& int BIO_get_md_ctx(BIO *b, EVP_MD_CTX **mdcp);\n"
104 msgstr ""
105
106 #. type: IX
107 #: archlinux debian-trixie debian-unstable
108 #, no-wrap
109 msgid "DESCRIPTION"
110 msgstr ""
111
112 #. type: Plain text
113 #: archlinux debian-trixie debian-unstable
114 msgid ""
115 "\\&B<BIO_f_md()> returns the message digest BIO method. This is a filter BIO "
116 "that digests any data passed through it. It is a BIO wrapper for the digest "
117 "routines B<EVP_DigestInit()>, B<EVP_DigestUpdate()> and B<EVP_DigestFinal()>."
118 msgstr ""
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable
122 msgid ""
123 "Any data written or read through a digest BIO using B<BIO_read_ex()> and "
124 "\\&B<BIO_write_ex()> is digested."
125 msgstr ""
126
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable
129 msgid ""
130 "\\&B<BIO_gets()>, if its B<size> parameter is large enough finishes the "
131 "digest calculation and returns the digest value. B<BIO_puts()> is not "
132 "supported."
133 msgstr ""
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable
137 msgid "\\&B<BIO_reset()> reinitialises a digest BIO."
138 msgstr ""
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable
142 msgid ""
143 "\\&B<BIO_set_md()> sets the message digest of BIO B<b> to B<md>: this must "
144 "be called to initialize a digest BIO before any data is passed through it. "
145 "It is a B<BIO_ctrl()> macro."
146 msgstr ""
147
148 #. type: Plain text
149 #: archlinux debian-trixie debian-unstable
150 msgid ""
151 "\\&B<BIO_get_md()> places a pointer to the digest BIOs digest method in "
152 "B<mdp>. It is a B<BIO_ctrl()> macro."
153 msgstr ""
154
155 #. type: Plain text
156 #: archlinux debian-trixie debian-unstable
157 msgid "\\&B<BIO_get_md_ctx()> returns the digest BIOs context into B<mdcp>."
158 msgstr ""
159
160 #. type: IX
161 #: archlinux debian-trixie debian-unstable
162 #, no-wrap
163 msgid "NOTES"
164 msgstr ""
165
166 #. type: Plain text
167 #: archlinux debian-trixie debian-unstable
168 msgid ""
169 "The context returned by B<BIO_get_md_ctx()> can be used in calls to "
170 "B<EVP_DigestFinal()> and also the signature routines B<EVP_SignFinal()> and "
171 "B<EVP_VerifyFinal()>."
172 msgstr ""
173
174 #. type: Plain text
175 #: archlinux debian-trixie debian-unstable
176 msgid ""
177 "The context returned by B<BIO_get_md_ctx()> is an internal context "
178 "structure. Changes made to this context will affect the digest BIO itself "
179 "and the context pointer will become invalid when the digest BIO is freed."
180 msgstr ""
181
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable
184 msgid ""
185 "After the digest has been retrieved from a digest BIO it must be "
186 "reinitialized by calling B<BIO_reset()>, or B<BIO_set_md()> before any more "
187 "data is passed through it."
188 msgstr ""
189
190 #. type: Plain text
191 #: archlinux debian-trixie debian-unstable
192 msgid ""
193 "If an application needs to call B<BIO_gets()> or B<BIO_puts()> through a "
194 "chain containing digest BIOs then this can be done by prepending a buffering "
195 "BIO."
196 msgstr ""
197
198 #. type: Plain text
199 #: archlinux debian-trixie debian-unstable
200 msgid ""
201 "Calling B<BIO_get_md_ctx()> will return the context and initialize the BIO "
202 "state. This allows applications to initialize the context externally if the "
203 "standard calls such as B<BIO_set_md()> are not sufficiently flexible."
204 msgstr ""
205
206 #. type: IX
207 #: archlinux debian-trixie debian-unstable
208 #, no-wrap
209 msgid "RETURN VALUES"
210 msgstr ""
211
212 #. type: Plain text
213 #: archlinux debian-trixie debian-unstable
214 msgid "\\&B<BIO_f_md()> returns the digest BIO method."
215 msgstr ""
216
217 #. type: Plain text
218 #: archlinux debian-trixie debian-unstable
219 msgid ""
220 "\\&B<BIO_set_md()>, B<BIO_get_md()> and B<BIO_md_ctx()> return 1 for success "
221 "and E<lt>=0 for failure."
222 msgstr ""
223
224 #. type: IX
225 #: archlinux debian-trixie debian-unstable
226 #, no-wrap
227 msgid "EXAMPLES"
228 msgstr ""
229
230 #. type: Plain text
231 #: archlinux debian-trixie debian-unstable
232 msgid ""
233 "The following example creates a BIO chain containing an SHA1 and MD5 digest "
234 "BIO and passes the string \"Hello World\" through it. Error checking has "
235 "been omitted for clarity."
236 msgstr ""
237
238 #. type: Plain text
239 #: archlinux debian-trixie debian-unstable
240 #, no-wrap
241 msgid ""
242 "\\& BIO *bio, *mdtmp;\n"
243 "\\& char message[] = \"Hello World\";\n"
244 "\\&\n"
245 "\\& bio = BIO_new(BIO_s_null());\n"
246 "\\& mdtmp = BIO_new(BIO_f_md());\n"
247 "\\& BIO_set_md(mdtmp, EVP_sha1());\n"
248 "\\& /*\n"
249 "\\& * For BIO_push() we want to append the sink BIO and keep a note of\n"
250 "\\& * the start of the chain.\n"
251 "\\& */\n"
252 "\\& bio = BIO_push(mdtmp, bio);\n"
253 "\\& mdtmp = BIO_new(BIO_f_md());\n"
254 "\\& BIO_set_md(mdtmp, EVP_md5());\n"
255 "\\& bio = BIO_push(mdtmp, bio);\n"
256 "\\& /* Note: mdtmp can now be discarded */\n"
257 "\\& BIO_write(bio, message, strlen(message));\n"
258 msgstr ""
259
260 #. type: Plain text
261 #: archlinux debian-trixie debian-unstable
262 msgid "The next example digests data by reading through a chain instead:"
263 msgstr ""
264
265 #. type: Plain text
266 #: archlinux debian-trixie debian-unstable
267 #, no-wrap
268 msgid ""
269 "\\& BIO *bio, *mdtmp;\n"
270 "\\& char buf[1024];\n"
271 "\\& int rdlen;\n"
272 "\\&\n"
273 "\\& bio = BIO_new_file(file, \"rb\");\n"
274 "\\& mdtmp = BIO_new(BIO_f_md());\n"
275 "\\& BIO_set_md(mdtmp, EVP_sha1());\n"
276 "\\& bio = BIO_push(mdtmp, bio);\n"
277 "\\& mdtmp = BIO_new(BIO_f_md());\n"
278 "\\& BIO_set_md(mdtmp, EVP_md5());\n"
279 "\\& bio = BIO_push(mdtmp, bio);\n"
280 "\\& do {\n"
281 "\\& rdlen = BIO_read(bio, buf, sizeof(buf));\n"
282 "\\& /* Might want to do something with the data here */\n"
283 "\\& } while (rdlen E<gt> 0);\n"
284 msgstr ""
285
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable
288 msgid ""
289 "This next example retrieves the message digests from a BIO chain and outputs "
290 "them. This could be used with the examples above."
291 msgstr ""
292
293 #. type: Plain text
294 #: archlinux debian-trixie debian-unstable
295 #, no-wrap
296 msgid ""
297 "\\& BIO *mdtmp;\n"
298 "\\& unsigned char mdbuf[EVP_MAX_MD_SIZE];\n"
299 "\\& int mdlen;\n"
300 "\\& int i;\n"
301 "\\&\n"
302 "\\& mdtmp = bio; /* Assume bio has previously been set up */\n"
303 "\\& do {\n"
304 "\\& EVP_MD *md;\n"
305 "\\&\n"
306 "\\& mdtmp = BIO_find_type(mdtmp, BIO_TYPE_MD);\n"
307 "\\& if (!mdtmp)\n"
308 "\\& break;\n"
309 "\\& BIO_get_md(mdtmp, &md);\n"
310 "\\& printf(\"%s digest\", OBJ_nid2sn(EVP_MD_get_type(md)));\n"
311 "\\& mdlen = BIO_gets(mdtmp, mdbuf, EVP_MAX_MD_SIZE);\n"
312 "\\& for (i = 0; i E<lt> mdlen; i++) printf(\":%02X\", mdbuf[i]);\n"
313 "\\& printf(\"\\en\");\n"
314 "\\& mdtmp = BIO_next(mdtmp);\n"
315 "\\& } while (mdtmp);\n"
316 "\\&\n"
317 "\\& BIO_free_all(bio);\n"
318 msgstr ""
319
320 #. type: IX
321 #: archlinux debian-trixie debian-unstable
322 #, no-wrap
323 msgid "BUGS"
324 msgstr ""
325
326 #. type: Plain text
327 #: archlinux debian-trixie debian-unstable
328 msgid ""
329 "The lack of support for B<BIO_puts()> and the non standard behaviour of "
330 "\\&B<BIO_gets()> could be regarded as anomalous. It could be argued that "
331 "B<BIO_gets()> and B<BIO_puts()> should be passed to the next BIO in the "
332 "chain and digest the data passed through and that digests should be "
333 "retrieved using a separate B<BIO_ctrl()> call."
334 msgstr ""
335
336 #. type: IX
337 #: archlinux debian-trixie debian-unstable
338 #, no-wrap
339 msgid "HISTORY"
340 msgstr ""
341
342 #. type: Plain text
343 #: archlinux debian-trixie debian-unstable
344 msgid ""
345 "Before OpenSSL 1.0.0., the call to B<BIO_get_md_ctx()> would only work if "
346 "the BIO was initialized first."
347 msgstr ""
348
349 #. type: IX
350 #: archlinux debian-trixie debian-unstable
351 #, no-wrap
352 msgid "COPYRIGHT"
353 msgstr ""
354
355 #. type: Plain text
356 #: archlinux debian-trixie debian-unstable
357 msgid "Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved."
358 msgstr ""
359
360 #. type: Plain text
361 #: archlinux debian-trixie debian-unstable
362 msgid ""
363 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
364 "this file except in compliance with the License. You can obtain a copy in "
365 "the file LICENSE in the source distribution or at E<lt>https://"
366 "www.openssl.org/source/license.htmlE<gt>."
367 msgstr ""
368
369 #. ========================================================================
370 #. type: IX
371 #: debian-trixie debian-unstable
372 #, no-wrap
373 msgid "BIO_F_MD 3SSL"
374 msgstr ""
375
376 #. type: TH
377 #: debian-trixie
378 #, no-wrap
379 msgid "3.5.6"
380 msgstr ""