|
||
|
|
Chapter 9 Binary to ASCII Tool
You can use the Binary to ASCII tool to convert binary base-64 encoded data to ASCII base-64 encoded data.
The chapter has the following sections:
The tool is located with the rest of the command-line tools in this directory:
<server_root>/bin/cert/tools
To run the Binary to ASCII tool, type the following command:
BtoA[.bat] <input-file> <output_file>
.batspecifies the file extension; this is required only when running the utility on a Windows NT system.
<input_file>specifies the path to the file that contains the base-64 encoded data in binary format.
<output_file>specifies the path to the file to write the base-64 encoded data in ASCII format.
BtoA.bat C:\test\data.in C:\test\data.outThe above command takes the base-64 encoded data (in binary format) in the file named
data.inand writes the ASCII equivalent of the data to the file nameddata.out.
© 2001 Sun Microsystems, Inc. Portions copyright 1999, 2002-2004 Netscape Communications Corporation. All rights reserved.
Last Updated November 23, 2004