How to implement digital signature with my existing web project

The security restrictions of browsers do not allow javascript access to the system certificate keystore or smart cards. Formerly java applets could be used, but with the latest browser updates it is no longer possible. Current solutions for digital signature in browsers require the installation of a desktop software on the user’s computer. The operating … Read more

How to load a PKCS#12 Digital Certificate with Javascript WebCrypto API

Web cryptography api does not support PKCS # 12. You can use a third party library to decode the p12 as forge https://github.com/digitalbazaar/forge#pkcs12 and load privateKey in webcrypto Reading the PKCS#12 certificate PKCS#12 is stored in DER, so first read it from a File or use a pre-stored base64 //Reading certificate from a ‘file’ form … Read more