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

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. This sample also demonstrates how to obtain the license file within your web application. 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

1. Preset the certificate:

Common Name:

Serial Number:

Issuer alternate subfield order(CN OU O E)*

*This option can be used with Issuer or CAs search field.

Issuer:

Hash:

Hash base64 encoded:

CAs:

2. Sample xml text:

3. Set the URL to the licence file:

License fileURL*:

4. Sample xml text signed:

5. Certificate details: