com.netscape.cmstools
Class PrettyPrintCert
java.lang.Object
com.netscape.cmstools.PrettyPrintCert
public class PrettyPrintCert
- extends java.lang.Object
The PrettyPrintCert class is a utility program designed to "pretty print"
a certificate. It assumes that the name of a data file is passed to the
program via the command line, and that the contents contain a certificate
encoded in an ASCII BASE 64 format. Note that the data file may contain
an optional "-----BEGIN" header and/or an optional "-----END" trailer.
The program may be invoked as follows:
PrettyPrintCert <input filename> [output filename]
NOTE: <input filename> must contain an ASCII
BASE 64 encoded certificate
<output filename> contains a certificate displayed
in a "pretty print" ASCII format
- Version:
- $Revision$, $Date$
Field Summary |
static int |
ARGC
|
static java.lang.String |
HEADER
|
static java.lang.String |
TRAILER
|
Method Summary |
static void |
main(java.lang.String[] argv)
|
static void |
usageAndExit()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARGC
public static final int ARGC
- See Also:
- Constant Field Values
HEADER
public static final java.lang.String HEADER
- See Also:
- Constant Field Values
TRAILER
public static final java.lang.String TRAILER
- See Also:
- Constant Field Values
PrettyPrintCert
public PrettyPrintCert()
usageAndExit
public static void usageAndExit()
main
public static void main(java.lang.String[] argv)