J A V A S C R I P T     I N T E G R A T I O N     S A M P L E     FOR BROWSER PLUGIN REPLACEMENT

Preset the Certificate for XML Signature and save result to predefined destination file

When invoking digital signing the dialogue for certificate selection will be opened. Only certificates which match search criteria will be presented. In the sample below the test certificate "Janez Novak" and its attributes are used. Review the page source code for integration sample.

Click the Sign button.

Click the Verify button to invoke its verification.

Prerequisites:

  • proXSign browser plugin replacement installed and running.
  • Janez Novak certificate with private key installed in your system certificate store or adjust property values accordingly.
  • Provide output file location c:/test.xml or adjust the value to point to a valid file path. Write permission is required for output.

1. Preset the certificate:

Common Name:

Serial Number:

Issuer:

Hash:

Hash base64 encoded:

2. Save to file:

3. Sample xml text:

4. Sample xml text signed:

5. Certificate details: