Several signing plugins have been developed for different operating systems and browsers and their APIs are slightly different. In order to make enabling signing support in web applications easier, a JavaScript library with a unified API has been created, which allows different plugins to be used in the same way, regardless of the operating system or browser the user uses to communicate with the web application.
hwcrypto.js
hwcrypto.js JavaScript component is available in the GitHub environment: https://github.com/open-eid/hwcrypto.js.
The API description with the user’s guide can be found here:
ModernAPI https://github.com/hwcrypto/hwcrypto.js/wiki/ModernAPI).
Support is available for both the new (Native Messages API) and the old (NPAPI) signing module. The new hwcrypto.js component can be used on the hwcrypto.js demo & test page at https://hwcrypto.github.io/demo/.