Class PrettyPrintCert

java.lang.Object
com.netscape.cmstools.PrettyPrintCert

public class PrettyPrintCert extends 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 Details

  • Constructor Details

    • PrettyPrintCert

      public PrettyPrintCert()
  • Method Details

    • usageAndExit

      public static void usageAndExit()
    • main

      public static void main(String[] argv)