hwcrypto / hwcrypto.js

Browser JavaScript library for working with hardware tokens
https://hwcrypto.github.io
MIT License
157 stars 47 forks source link

How to add xAdES signature from hwcrypto's signature #70

Open DigitalLeaves opened 1 year ago

DigitalLeaves commented 1 year ago

Hello! First of all, thanks for building and maintaining this amazing library. This is a request for help or information more than a bug report. I want to add timestamped signatures to an ASIC-E container. I am using eideasy-browser-js to create the containers, and I can create a successful signature (SHA-256 for example) using hwcrypto. What I want is to know how to convert that signature into a valid xAdES signature to be inserted into the container.

Any insight or help greatly appreciated. Thanks