A Case For Native Smart Card Support in Browsers

February 22, 2017

A smart card is a device that holds a private key securely without letting it out of its storage. The chip on your credit card is a “smart card” (yup, terminology is ambiguous – the card and the chip are interchangeably called “smart card”). There are smaller USB-pluggable hardware readers that only hold the chip […]


Digital Signatures With Javascript

February 2, 2014

Several years ago I used to work on a project that required the use of smart cards and digital signatures. I’ve already shared my experience with signing with javascript and then verifying the signature on the server side (with Java). What I did today is to simply get the javascript, tidy it up and put […]


How to Obtain Signer’s Details From JavaScript Signed Data

July 2, 2009

In a previous post I described how to sign data with only javascript. Now, this data should be used on the server side for something. Here is how a Java developer can extract the signature details, and verify whether the content received from a form is really what has been signed. The general scenario is […]


How to Create a Digital Signing Solution with Only JavaScript

April 16, 2009

Important updates: this code won’t reliably work anymore. If you don’t need smartcard support, use the experimental web crypto API. If you need smartcard support, you’d need an extra plugin, e.g. this one It is sometimes required to have the user sign a text in order to certify that he is the one who has […]