The Java TM Tutorial

| Start of Tutorial > Start of Trail > Start of Lesson | Search

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

## 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

| Start of Tutorial > Start of Trail > Start of Lesson | Search