Previous Page Next Page Start of Tutorial > Start of Trail > Start of Lesson Lesson Contents

Trail:
Security in JDK 1.1
Lesson:
Using the Security API to Generate and Verify a Signature



Help on searching
is available.

Search technology
by Excite, Inc.

Step 6: Run the Program

Now run the testSig application with the Java interpreter. Remember, you need to specify the name of a file to be signed. You can download and use this sample file named data or any other file you like. The file will not be modified. It will be read so that a signature can be generated for it.

You should see the following output:

signature verifies: true
 
Previous Page Next Page Start of Tutorial > Start of Trail > Start of Lesson Lesson Contents