title: Reading data from a security token in a browser
body: <p>I would like to write a <strong>JS function</strong> to have access from the browser to the public data stored on the <strong><a href="http://en.wikipedia.org/wiki/Security_token" rel="noreferrer">hardware security token</a> inserted in an USB port</strong>.</p>
  
  <p>Specifically, in an intranet where ALL users have security tokens, I would like to have some sort of landing page, which will ask the user to enter his/her security token credentials (inserted in the USB port), and then <strong>read the public information from that token</strong> (I do not really need ALL of them, but I am interested mostly in the user name, certificate name(s) loaded in the token and their expiration date) and <strong>load them in the web page (to be displayed)</strong>.</p>
  
  <p>I have little to none experience with security devices like that, but I assume this is not a very complicated issue (though "googling" did not manage to get me in the right direction of how to make it work).</p>
  
  <p>Thank you.</p>