This demo requires that the images in this zip get copied to the following folder - c:\siggemcolor57

Optionally, you can change the path to the image files in the javascript source.

Finally, the SigString obtained in this demo is cryptographically bound using the AutoKey calls and EncryptionMode=2. The returnsignature.htm file in this demo shows how to return the cryptographically-bound SigString to SigPlus to be rendered again.

The canned SigString in the returnsignature.htm demo represents a signature bound using the exact code from the SigGemColorDemoAppJS.htm demo, namely:

       //*****************************************
       //this routine will bind the signature to the specified data
       //in a real-world application, you should bind the signature to
       //the pertinent data to which the signer is reading and agreeing
       //for this demo, we will bind to sample data instead
       SigPlus1.AutoKeyStart();
       SigPlus1.AutoKeyData = "This is sample data to which I will bind the signature";
       SigPlus1.AutoKeyData = "I can add as much as I like";
       SigPlus1.AutoKeyFinish();
       SigPlus1.EncryptionMode = 2;
       SigPlus1.SigCompressionMode = 1;//compress signature to return smaller SigString
      
       alert("Signature captured...here is SigString: " + SigPlus1.SigString);
       //store this SigString away for later use, as needed
       //*****************************************

For your own application, you will want to:

1. Use the SigString you originally captured given your own application
2. Use the AutoKeyData property settings that you actually use in your application