mardi 3 juillet 2018

Web signature with X509 certificate + fortify + smartcard

I'm trying add signature functionality to my web app.

The signature must be made with a smartcard. So, after searching in a lot of places I found webcrypto-socket (https://peculiarventures.github.io/webcrypto-local/docs/) - Webcrypto socket module implements Crypto interface and uses Fortify application for crypto implementation.

Then, I can sign in my app but the signature that it produces is not a valid PKCS signature, it returns only the signature hash without the public certificate.

My code is based on this example: https://peculiarventures.github.io/fortify-examples/example5.html

Does anyone know how can I complete this signature?

In addition, comments for webcrypto-socket and fortify are welcome!




Aucun commentaire:

Enregistrer un commentaire