# 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:51+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: X509_NAME_get_index_by_NID.3ssl.pot (PACKAGE VERSION) #-#-#-#-# # #. #-#-#-#-# archlinux: X509_NAME_get_index_by_NID.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #. #-#-#-#-# debian-trixie: X509_NAME_get_index_by_NID.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #. #-#-#-#-# debian-unstable: X509_NAME_get_index_by_NID.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 "X509_NAME_GET_INDEX_BY_NID 3ssl" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "X509_NAME_GET_INDEX_BY_NID" 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 "" "X509_NAME_get_index_by_NID, X509_NAME_get_index_by_OBJ, X509_NAME_get_entry, " "X509_NAME_entry_count, X509_NAME_get_text_by_NID, X509_NAME_get_text_by_OBJ " "- X509_NAME lookup and enumeration functions" 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/x509.hE\n" "\\&\n" "\\& int X509_NAME_get_index_by_NID(const X509_NAME *name, int nid, int lastpos);\n" "\\& int X509_NAME_get_index_by_OBJ(const X509_NAME *name,\n" "\\& const ASN1_OBJECT *obj, int lastpos);\n" "\\&\n" "\\& int X509_NAME_entry_count(const X509_NAME *name);\n" "\\& X509_NAME_ENTRY *X509_NAME_get_entry(const X509_NAME *name, int loc);\n" "\\&\n" "\\& int X509_NAME_get_text_by_NID(const X509_NAME *name, int nid,\n" "\\& char *buf, int len);\n" "\\& int X509_NAME_get_text_by_OBJ(const X509_NAME *name, const ASN1_OBJECT *obj,\n" "\\& char *buf, int len);\n" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux debian-unstable msgid "" "These functions allow an B structure to be examined. The " "\\&B structure is the same as the B type defined in RFC " "5280 (and elsewhere) and used for example in certificate subject and issuer " "names." msgstr "" #. type: Plain text #: archlinux msgid "" "\\&B and B " "retrieve the next index matching B or B after B. " "B should initially be set to -1. If there are no more entries -1 is " "returned. If B is invalid (doesn\\*(Aqt correspond to a valid OID) " "then -2 is returned." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B returns the total number of entries in B." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B retrieves the B from B " "corresponding to index B. Acceptable values for B run from 0 to " "(X509_NAME_entry_count(name) - 1). The value returned is an internal pointer " "which must not be freed." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B, B retrieve " "the \"text\" from the first entry in B which matches B or " "\\&B, if no such entry exists -1 is returned. At most B bytes will " "be written and the text written to B will be null terminated. The " "length of the output string written is returned excluding the terminating " "null. If B is ENULLE then the amount of space needed in B " "(excluding the final null) is returned." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NOTES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B and B should " "be considered deprecated because they have various limitations which make " "them of minimal use in practice. They can only find the first matching entry " "and will copy the contents of the field verbatim: this can be highly " "confusing if the target is a multicharacter string type like a BMPString or " "a UTF8String." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "For a more general solution B or " "\\&B should be used followed by " "\\&B on any matching indices and then the various " "B utility functions on the result." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The list of all relevant B and B can be found in the " "source code header files Iopenssl/obj_mac.hE> and/or " "\\&Iopenssl/objects.hE>." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Applications which could pass invalid NIDs to " "B should check for the return value of -2. " "Alternatively the NID validity can be determined first by checking " "OBJ_nid2obj(nid) is not NULL." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "RETURN VALUES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B and B " "return the index of the next matching entry or -1 if not found. " "\\&B can also return -2 if the supplied NID is " "invalid." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B returns the total number of entries, and 0 for " "failure." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B returns an B pointer to the requested " "entry or B if the index is invalid." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EXAMPLES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Process all entries:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& int i;\n" "\\& X509_NAME_ENTRY *e;\n" "\\&\n" "\\& for (i = 0; i E X509_NAME_entry_count(nm); i++) {\n" "\\& e = X509_NAME_get_entry(nm, i);\n" "\\& /* Do something with e */\n" "\\& }\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Process all commonName entries:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& int lastpos = -1;\n" "\\& X509_NAME_ENTRY *e;\n" "\\&\n" "\\& for (;;) {\n" "\\& lastpos = X509_NAME_get_index_by_NID(nm, NID_commonName, lastpos);\n" "\\& if (lastpos == -1)\n" "\\& break;\n" "\\& e = X509_NAME_get_entry(nm, lastpos);\n" "\\& /* Do something with e */\n" "\\& }\n" 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 "COPYRIGHT" msgstr "" #. type: Plain text #: archlinux debian-unstable msgid "Copyright 2002-2025 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 "X509_NAME_GET_INDEX_BY_NID 3SSL" msgstr "" #. type: TH #: debian-trixie #, no-wrap msgid "3.5.6" msgstr "" #. type: Plain text #: debian-trixie msgid "" "These functions allow an B structure to be examined. The " "\\&B structure is the same as the B type defined in RFC2459 " "(and elsewhere) and used for example in certificate subject and issuer names." msgstr "" #. type: Plain text #: debian-trixie debian-unstable msgid "" "\\&B and B " "retrieve the next index matching B or B after B. " "B should initially be set to -1. If there are no more entries -1 is " "returned. If B is invalid (doesn't correspond to a valid OID) then -2 " "is returned." msgstr "" #. type: Plain text #: debian-trixie msgid "Copyright 2002-2021 The OpenSSL Project Authors. All Rights Reserved." msgstr ""