xref: /freebsd/secure/usr.bin/openssl/man/openssl-namedisplay-options.1 (revision a03411e84728e9b267056fd31c7d1d9d1dc1b01e)
Automatically generated by Pod::Man 4.14 (Pod::Simple 3.42)

Standard preamble:
========================================================================
..
..
.. Set up some character translations and predefined strings. \*(-- will
give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
double quote, and \*(R" will give a right double quote. \*(C+ will
give a nicer C++. Capital omega is used to do unbreakable dashes and
therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
nothing in troff, for use with C<>.
.tr \(*W- . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\}
Escape single quotes in literal strings from groff's Unicode transform.

If the F register is >0, we'll generate index entries on stderr for
titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
entries marked with X<> in POD. Of course, you'll have to process the
output yourself in some meaningful fashion.

Avoid warning from groff about undefined register 'F'.
.. .nr rF 0 . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF Fear. Run. Save yourself. No user-serviceable parts.
. \" fudge factors for nroff and troff . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] .\} . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents . \" corrections for vroff . \" for low resolution devices (crt and lpr) \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} ========================================================================

Title "OPENSSL-NAMEDISPLAY-OPTIONS 1ossl"
OPENSSL-NAMEDISPLAY-OPTIONS 1ossl "2023-09-19" "3.0.11" "OpenSSL"
For nroff, turn off justification. Always turn off hyphenation; it makes
way too many mistakes in technical documents.
"NAME"
openssl-namedisplay-options - Distinguished name display options
"SYNOPSIS"
Header "SYNOPSIS" \fBopenssl \fIcommand [ options ... ] [ parameters ... ]
"DESCRIPTION"
Header "DESCRIPTION" OpenSSL provides fine-grain control over how the subject and issuer \s-1DN\s0's are displayed. This is specified by using the -nameopt option, which takes a comma-separated list of options from the following set. An option may be preceded by a minus sign, \*(C`-\*(C', to turn it off. The default value is \*(C`oneline\*(C'. The first four are the most commonly used.
"OPTIONS"
Header "OPTIONS"
"Name Format Option Arguments"
Subsection "Name Format Option Arguments" The \s-1DN\s0 output format can be fine tuned with the following flags.
"compat" 4
Item "compat" Display the name using an old format from previous OpenSSL versions.
"\s-1RFC2253\s0" 4
Item "RFC2253" Display the name using the format defined in \s-1RFC 2253.\s0 It is equivalent to esc_2253, esc_ctrl, esc_msb, utf8, \fBdump_nostr, dump_unknown, dump_der, sep_comma_plus, dn_rev and sname.
"oneline" 4
Item "oneline" Display the name in one line, using a format that is more readable \s-1RFC 2253.\s0 It is equivalent to esc_2253, esc_ctrl, esc_msb, utf8, \fBdump_nostr, dump_der, use_quote, sep_comma_plus_space, \fBspace_eq and sname options.
"multiline" 4
Item "multiline" Display the name using multiple lines. It is equivalent to esc_ctrl, esc_msb, sep_multiline, space_eq, \fBlname and align.
"esc_2253" 4
Item "esc_2253" Escape the \*(L"special\*(R" characters in a field, as required by \s-1RFC 2253.\s0 That is, any of the characters \*(C`,+"<>;\*(C', \*(C`#\*(C' at the beginning of a string and leading or trailing spaces.
"esc_2254" 4
Item "esc_2254" Escape the \*(L"special\*(R" characters in a field as required by \s-1RFC 2254\s0 in a field. That is, the \s-1NUL\s0 character and of \*(C`()*\*(C'.
"esc_ctrl" 4
Item "esc_ctrl" Escape non-printable \s-1ASCII\s0 characters, codes less than 0x20 (space) or greater than 0x7F (\s-1DELETE\s0). They are displayed using \s-1RFC 2253\s0 \*(C`\eXX\*(C' notation where \s-1XX\s0 are the two hex digits representing the character value.
"esc_msb" 4
Item "esc_msb" Escape any characters with the most significant bit set, that is with values larger than 127, as described in esc_ctrl.
"use_quote" 4
Item "use_quote" Escapes some characters by surrounding the entire string with quotation marks, \*(C`"\*(C'. Without this option, individual special characters are preceded with a backslash character, \*(C`\e\*(C'.
"utf8" 4
Item "utf8" Convert all strings to \s-1UTF-8\s0 format first as required by \s-1RFC 2253.\s0 If the output device is \s-1UTF-8\s0 compatible, then using this option (and not setting esc_msb) may give the correct display of multibyte characters. If this option is not set, then multibyte characters larger than 0xFF will be output as \*(C`\eUXXXX\*(C' for 16 bits or \*(C`\eWXXXXXXXX\*(C' for 32 bits. In addition, any UTF8Strings will be converted to their character form first.
"ignore_type" 4
Item "ignore_type" This option does not attempt to interpret multibyte characters in any way. That is, the content octets are merely dumped as though one octet represents each character. This is useful for diagnostic purposes but will result in rather odd looking output.
"show_type" 4
Item "show_type" Display the type of the \s-1ASN1\s0 character string before the value, such as \*(C`BMPSTRING: Hello World\*(C'.
"dump_der" 4
Item "dump_der" Any fields that would be output in hex format are displayed using the \s-1DER\s0 encoding of the field. If not set, just the content octets are displayed. Either way, the #XXXX... format of \s-1RFC 2253\s0 is used.
"dump_nostr" 4
Item "dump_nostr" Dump non-character strings, such as \s-1ASN.1\s0 \s-1OCTET STRING\s0. If this option is not set, then non character string types will be displayed as though each content octet represents a single character.
"dump_all" 4
Item "dump_all" Dump all fields. When this used with dump_der, this allows the \s-1DER\s0 encoding of the structure to be unambiguously determined.
"dump_unknown" 4
Item "dump_unknown" Dump any field whose \s-1OID\s0 is not recognised by OpenSSL.
"sep_comma_plus, sep_comma_plus_space, sep_semi_plus_space, sep_multiline" 4
Item "sep_comma_plus, sep_comma_plus_space, sep_semi_plus_space, sep_multiline" Specify the field separators. The first word is used between the Relative Distinguished Names (RDNs) and the second is between multiple Attribute Value Assertions (AVAs). Multiple AVAs are very rare and their use is discouraged. The options ending in \*(L"space\*(R" additionally place a space after the separator to make it more readable. The sep_multiline starts each field on its own line, and uses \*(L"plus space\*(R" for the \s-1AVA\s0 separator. It also indents the fields by four characters. The default value is sep_comma_plus_space.
"dn_rev" 4
Item "dn_rev" Reverse the fields of the \s-1DN\s0 as required by \s-1RFC 2253.\s0 This also reverses the order of multiple AVAs in a field, but this is permissible as there is no ordering on values.
"nofname, sname, lname, oid" 4
Item "nofname, sname, lname, oid" Specify how the field name is displayed. \fBnofname does not display the field at all. \fBsname uses the \*(L"short name\*(R" form (\s-1CN\s0 for commonName for example). \fBlname uses the long form. \fBoid represents the \s-1OID\s0 in numerical form and is useful for diagnostic purpose.
"align" 4
Item "align" Align field values for a more readable output. Only usable with \fBsep_multiline.
"space_eq" 4
Item "space_eq" Places spaces round the equal sign, \*(C`=\*(C', character which follows the field name.
"COPYRIGHT"
Header "COPYRIGHT" Copyright 2000-2020 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the \*(L"License\*(R"). You may not use this file except in compliance with the License. You can obtain a copy in the file \s-1LICENSE\s0 in the source distribution or at <https://www.openssl.org/source/license.html>.