Debian Codegraph @

templates/man3/X509_NAME_add_entry_by_txt.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:51+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: X509_NAME_add_entry_by_txt.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: X509_NAME_add_entry_by_txt.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: X509_NAME_add_entry_by_txt.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: X509_NAME_add_entry_by_txt.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 "X509_NAME_ADD_ENTRY_BY_TXT 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "X509_NAME_ADD_ENTRY_BY_TXT"
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 "X509_NAME_add_entry_by_txt, X509_NAME_add_entry_by_OBJ, "
79 "X509_NAME_add_entry_by_NID, X509_NAME_add_entry, X509_NAME_delete_entry - "
80 "X509_NAME modification functions"
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/x509.hE<gt>\n"
100 "\\&\n"
101 "\\& int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type,\n"
102 "\\& const unsigned char *bytes, int len, int loc, int set);\n"
103 "\\&\n"
104 "\\& int X509_NAME_add_entry_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, int type,\n"
105 "\\& const unsigned char *bytes, int len, int loc, int set);\n"
106 "\\&\n"
107 "\\& int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type,\n"
108 "\\& const unsigned char *bytes, int len, int loc, int set);\n"
109 "\\&\n"
110 "\\& int X509_NAME_add_entry(X509_NAME *name, const X509_NAME_ENTRY *ne, int loc, int set);\n"
111 "\\&\n"
112 "\\& X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc);\n"
113 msgstr ""
114
115 #. type: IX
116 #: archlinux debian-trixie debian-unstable
117 #, no-wrap
118 msgid "DESCRIPTION"
119 msgstr ""
120
121 #. type: Plain text
122 #: archlinux debian-trixie debian-unstable
123 msgid ""
124 "\\&B<X509_NAME_add_entry_by_txt()>, B<X509_NAME_add_entry_by_OBJ()> and "
125 "\\&B<X509_NAME_add_entry_by_NID()> add a field whose name is defined by a "
126 "string B<field>, an object B<obj> or a NID B<nid> respectively. The field "
127 "value to be added is in B<bytes> of length B<len>. If \\&B<len> is -1 then "
128 "the field length is calculated internally using strlen(bytes)."
129 msgstr ""
130
131 #. type: Plain text
132 #: archlinux debian-trixie debian-unstable
133 msgid ""
134 "The type of field is determined by B<type> which can either be a definition "
135 "of the type of B<bytes> (such as B<MBSTRING_ASC>) or a standard ASN1 type "
136 "(such as B<V_ASN1_IA5STRING>). The new entry is added to a position "
137 "determined by B<loc> and B<set>."
138 msgstr ""
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable
142 msgid ""
143 "\\&B<X509_NAME_add_entry()> adds a copy of B<X509_NAME_ENTRY> structure "
144 "B<ne> to B<name>. The new entry is added to a position determined by B<loc> "
145 "and B<set>. Since a copy of B<ne> is added B<ne> must be freed up after the "
146 "call."
147 msgstr ""
148
149 #. type: Plain text
150 #: archlinux debian-trixie debian-unstable
151 msgid ""
152 "\\&B<X509_NAME_delete_entry()> deletes an entry from B<name> at position "
153 "\\&B<loc>. The deleted entry is returned and must be freed up."
154 msgstr ""
155
156 #. type: IX
157 #: archlinux debian-trixie debian-unstable
158 #, no-wrap
159 msgid "NOTES"
160 msgstr ""
161
162 #. type: Plain text
163 #: archlinux debian-trixie debian-unstable
164 msgid ""
165 "The use of string types such as B<MBSTRING_ASC> or B<MBSTRING_UTF8> is "
166 "strongly recommended for the B<type> parameter. This allows the internal "
167 "code to correctly determine the type of the field and to apply length checks "
168 "according to the relevant standards. This is done using "
169 "B<ASN1_STRING_set_by_NID()>."
170 msgstr ""
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable
174 msgid ""
175 "If instead an ASN1 type is used no checks are performed and the supplied "
176 "data in B<bytes> is used directly."
177 msgstr ""
178
179 #. type: Plain text
180 #: archlinux debian-trixie debian-unstable
181 msgid ""
182 "In B<X509_NAME_add_entry_by_txt()> the B<field> string represents the field "
183 "name using OBJ_txt2obj(field, 0)."
184 msgstr ""
185
186 #. type: Plain text
187 #: archlinux debian-trixie debian-unstable
188 msgid ""
189 "The B<loc> and B<set> parameters determine where a new entry should be "
190 "added. For almost all applications B<loc> can be set to -1 and B<set> to 0. "
191 "This adds a new entry to the end of B<name> as a single valued "
192 "RelativeDistinguishedName (RDN)."
193 msgstr ""
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable
197 msgid ""
198 "\\&B<loc> actually determines the index where the new entry is inserted: if "
199 "it is -1 it is appended."
200 msgstr ""
201
202 #. type: Plain text
203 #: archlinux debian-trixie debian-unstable
204 msgid ""
205 "\\&B<set> determines how the new type is added. If it is zero a new RDN is "
206 "created."
207 msgstr ""
208
209 #. type: Plain text
210 #: archlinux debian-trixie debian-unstable
211 msgid ""
212 "If B<set> is -1 or 1 it is added as a new set member to the previous or next "
213 "RDN structure, respectively. This will then become part of a multi-valued "
214 "RDN (containing a set of AVAs). Since multi-valued RDNs are very rarely "
215 "used B<set> typically will be zero."
216 msgstr ""
217
218 #. type: IX
219 #: archlinux debian-trixie debian-unstable
220 #, no-wrap
221 msgid "RETURN VALUES"
222 msgstr ""
223
224 #. type: Plain text
225 #: archlinux debian-trixie debian-unstable
226 msgid ""
227 "\\&B<X509_NAME_add_entry_by_txt()>, B<X509_NAME_add_entry_by_OBJ()>, "
228 "\\&B<X509_NAME_add_entry_by_NID()> and B<X509_NAME_add_entry()> return 1 for "
229 "success of 0 if an error occurred."
230 msgstr ""
231
232 #. type: Plain text
233 #: archlinux debian-trixie debian-unstable
234 msgid ""
235 "\\&B<X509_NAME_delete_entry()> returns either the deleted B<X509_NAME_ENTRY> "
236 "structure or B<NULL> if an error occurred."
237 msgstr ""
238
239 #. type: IX
240 #: archlinux debian-trixie debian-unstable
241 #, no-wrap
242 msgid "EXAMPLES"
243 msgstr ""
244
245 #. type: Plain text
246 #: archlinux debian-trixie debian-unstable
247 msgid "Create an B<X509_NAME> structure:"
248 msgstr ""
249
250 #. type: Plain text
251 #: archlinux debian-trixie debian-unstable
252 msgid "C=UK, O=Disorganized Organization, CN=Joe Bloggs"
253 msgstr ""
254
255 #. type: Plain text
256 #: archlinux debian-trixie debian-unstable
257 #, no-wrap
258 msgid ""
259 "\\& X509_NAME *nm;\n"
260 "\\&\n"
261 "\\& nm = X509_NAME_new();\n"
262 "\\& if (nm == NULL)\n"
263 "\\& /* Some error */\n"
264 "\\& if (!X509_NAME_add_entry_by_txt(nm, \"C\", MBSTRING_ASC,\n"
265 "\\& \"UK\", -1, -1, 0))\n"
266 "\\& /* Error */\n"
267 "\\& if (!X509_NAME_add_entry_by_txt(nm, \"O\", MBSTRING_ASC,\n"
268 "\\& \"Disorganized Organization\", -1, -1, 0))\n"
269 "\\& /* Error */\n"
270 "\\& if (!X509_NAME_add_entry_by_txt(nm, \"CN\", MBSTRING_ASC,\n"
271 "\\& \"Joe Bloggs\", -1, -1, 0))\n"
272 "\\& /* Error */\n"
273 msgstr ""
274
275 #. type: IX
276 #: archlinux debian-trixie debian-unstable
277 #, no-wrap
278 msgid "BUGS"
279 msgstr ""
280
281 #. type: Plain text
282 #: archlinux debian-trixie debian-unstable
283 msgid ""
284 "\\&B<type> can still be set to B<V_ASN1_APP_CHOOSE> to use a different "
285 "algorithm to determine field types. Since this form does not understand "
286 "multicharacter types, performs no length checks and can result in invalid "
287 "field types its use is strongly discouraged."
288 msgstr ""
289
290 #. type: IX
291 #: archlinux debian-trixie debian-unstable
292 #, no-wrap
293 msgid "SEE ALSO"
294 msgstr ""
295
296 #. type: Plain text
297 #: archlinux debian-trixie debian-unstable
298 msgid "\\&B<ERR_get_error>\\|(3), B<d2i_X509_NAME>\\|(3)"
299 msgstr ""
300
301 #. type: IX
302 #: archlinux debian-trixie debian-unstable
303 #, no-wrap
304 msgid "COPYRIGHT"
305 msgstr ""
306
307 #. type: Plain text
308 #: archlinux debian-trixie debian-unstable
309 msgid "Copyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved."
310 msgstr ""
311
312 #. type: Plain text
313 #: archlinux debian-trixie debian-unstable
314 msgid ""
315 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
316 "this file except in compliance with the License. You can obtain a copy in "
317 "the file LICENSE in the source distribution or at E<lt>https://"
318 "www.openssl.org/source/license.htmlE<gt>."
319 msgstr ""
320
321 #. ========================================================================
322 #. type: IX
323 #: debian-trixie debian-unstable
324 #, no-wrap
325 msgid "X509_NAME_ADD_ENTRY_BY_TXT 3SSL"
326 msgstr ""
327
328 #. type: TH
329 #: debian-trixie
330 #, no-wrap
331 msgid "3.5.6"
332 msgstr ""