|< Day Day Up >|
Appendix C. JSTK Tools
The author developed a number of simple command line tools and sample applications in the course of writing this book to explore various Java security capabilities and APIs. The discussion of these tools appears along with the relevant concepts throughout the book, with a suggestion to look at the source code for complete working programs. This appendix provides comprehensive user level documentation on these tools at one place. Hopefully, these tools will prove to be useful to you in better understanding and utilizing the power of the security capabilities inherent in the Java platform.
These tools and applications have been packaged, along with source files and documentation, as an integrated toolkit and given a name桱STK (Java Security Tool Kit). The directory structure of this package is shown in Figure C-1.
Follow the steps below to download, install and check successful installation of JSTK on a MS Windows machine.
Instructions for UNIX and Linux machines are quite similar and can be obtained by performing following substitutions in the above instructions:
The rest of the appendix explains the individual JSTK tools and various commands and options supported by them. As you go through these tools, you will notice that almost all JSTK tools share the following structure: A JSTK tool takes a command and zero or more options as command line arguments. You can get a list of all the commands supported by the tool by specifying help command as in "bin\crypttool help". Help on individual commands are obtained by placing help after the command as in "bin\crypttool listp help".
It is best to invoke these tools from the JSTK installation directory, specifying the pathname of the script file.
|< Day Day Up >|