7

I need to know if there's possible to read smart card certificate with Javascript. NodeJS would be ok solution. I explored and found NodeJS plugin

xml-crypto

for digital signing xml, it's working great, but I wrote correct path to the certificate.pem on my disc (it wasn't on smart card). How would it work with smart cards then?

firstChild
  • 326
  • 2
  • 12

1 Answers1

0

There is a node.js binding for pcsc-lite (in case your code runs on linux)

https://github.com/LudovicRousseau/node-pcsclite

Nikolaus Gradwohl
  • 19,708
  • 3
  • 45
  • 61