webcrypto-local | cross platform service that provides access | TLS library
kandi X-RAY | webcrypto-local Summary
kandi X-RAY | webcrypto-local Summary
webcrypto-local is a cross platform service that provides access to PKCS#11 implementations over a protocol we call webcrypto-socket.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of webcrypto-local
webcrypto-local Key Features
webcrypto-local Examples and Code Snippets
Community Discussions
Trending Discussions on webcrypto-local
QUESTION
RESOLVED
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 could sign in my app but the signature that it produces were not a valid PKCS signature, it was returning only the signature hash without the public certificate.
My code is based on this example: https://peculiarventures.github.io/fortify-examples/example5.html
In addition, comments for webcrypto-socket and fortify are welcome!
I'm doing something like this, where providers and certificates are filled as fortify recommends:
...ANSWER
Answered 2018-Jul-07 at 22:38We use Fortify (https://fortifyapp.com) in Hancock (https://hancock.ink) with PKIjs (https://pkijs.org) and CAdESjs (https://github.com/PeculiarVentures/CAdES.js) to create a CMS signature.
You can see a basic CMS example in JS based on PKIjs here: https://pkijs.org/examples/CMSSigned_complex_example.html
You will need to provide us with an example of what you are doing and we can tell you what you need to do differently.
Ryan
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install webcrypto-local
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page