Using the Security API to Generate and Verify a Signature |
Now run thetestSig
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
Using the Security API to Generate and Verify a Signature |