summaryrefslogtreecommitdiffstats
path: root/security/nss/doc/pp.xml
blob: 24efdf876b715617c6f059ead13f9ea8dfaff57c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
<!ENTITY date SYSTEM "date.xml">
<!ENTITY version SYSTEM "version.xml">
]>

<refentry id="pp">

  <refentryinfo>
    <date>&date;</date>
    <title>NSS Security Tools</title>
    <productname>nss-tools</productname>
    <productnumber>&version;</productnumber>
  </refentryinfo>

  <refmeta>
    <refentrytitle>PP</refentrytitle>
    <manvolnum>1</manvolnum>
  </refmeta>

  <refnamediv>
    <refname>pp</refname>
    <refpurpose>Prints certificates, keys, crls, and pkcs7 files</refpurpose>
  </refnamediv>

  <refsynopsisdiv>
    <cmdsynopsis>
      <command>pp -t type [-a] [-i input] [-o output] [-u] [-w]</command>
    </cmdsynopsis>
  </refsynopsisdiv>
  
  <refsection>
    <title>STATUS</title>
    <para>This documentation is still work in progress. Please contribute to the initial review in <ulink url="https://bugzilla.mozilla.org/show_bug.cgi?id=836477">Mozilla NSS bug 836477</ulink>
    </para>
  </refsection>

  <refsection>
    <title>Description</title>

    <para><command>pp </command>pretty-prints private and public key, certificate, certificate-request,
                     pkcs7 or crl files
    </para>

  </refsection>

<refsection>
    <title>Options</title>
    
    <variablelist>

      <varlistentry>
        <term><option>-t </option> <replaceable>type</replaceable></term>
        <listitem>
          <simpara>specify the input, one of {private-key | public-key | certificate | certificate-request | pkcs7 | crl}</simpara>
          <simpara></simpara>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-a </option></term>
        <listitem>
          <simpara>Input is in ascii encoded form (RFC1113)</simpara>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-i </option> <replaceable>inputfile</replaceable></term>
        <listitem>
          <simpara>Define an input file to use (default is stdin)</simpara>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-o </option> <replaceable>outputfile</replaceable></term>
        <listitem>
          <simpara>Define an output file to use (default is stdout)</simpara>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-u </option> </term>
        <listitem>
          <simpara>Use UTF-8 (default is to show non-ascii as .)</simpara>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-w </option> </term>
        <listitem>
          <simpara>Don't wrap long output lines</simpara>
        </listitem>
      </varlistentry>

    </variablelist>
  </refsection>

  <refsection id="resources">
    <title>Additional Resources</title>
    <para>NSS is maintained in conjunction with PKI and security-related projects through Mozilla and Fedora. The most closely-related project is Dogtag PKI, with a project wiki at <ulink url="http://pki.fedoraproject.org/wiki/">PKI Wiki</ulink>. </para>
	<para>For information specifically about NSS, the NSS project wiki is located at <ulink url="http://www.mozilla.org/projects/security/pki/nss/">Mozilla NSS site</ulink>. The NSS site relates directly to NSS code changes and releases.</para>
	<para>Mailing lists: pki-devel@redhat.com and pki-users@redhat.com</para>
	<para>IRC: Freenode at #dogtag-pki</para>
  </refsection>

<!-- fill in your name first; keep the other names for reference -->
  <refsection id="authors">
    <title>Authors</title>
    <para>The NSS tools were written and maintained by developers with Netscape, Red Hat,  Sun, Oracle, Mozilla, and Google.</para>
    <para>
	Authors: Elio Maldonado &lt;emaldona@redhat.com>, Deon Lackey &lt;dlackey@redhat.com>.
    </para>
  </refsection>

<!-- don't change -->
  <refsection id="license">
    <title>LICENSE</title>
    <para>Licensed under the Mozilla Public License, v. 2.0.  If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
    </para>
  </refsection>

</refentry>