title: Digital signature from electronic smartcard in Chrome
body: <p>For an electronic prescription system, that runs on the browser and that requieres personal signature by the professional, we are using a Java applet to sign the XML request, that then is sended to a WS, using a smartcard.</p>
  
  <p>But since version 42, <a href="https://www.chromium.org/developers/npapi-deprecation" rel="noreferrer">Chrome is disabling by default NPAPI support</a>, and in future versions next to September 2015 it will be completely disabled and then applets won't be usable at all.</p>
  
  <p>At Chrome NPAPI deprecation page points to <a href="http://www.w3.org/TR/WebCryptoAPI/#use-cases" rel="noreferrer">WebCrypto</a> and TLS as alternatives.
  But it seems that WebCrypto <a href="http://www.w3.org/TR/WebCryptoAPI/#scope-out-of-scope" rel="noreferrer">has leaved out of scope</a> the support of smartcards , and it seems that TLS is only about cryptographic protocols and it doesn't provides a way to use an electronic cards.</p>
  
  <p>Has someone used a completely browser native solution to sign documents and have a good control of the process. At least it will be nedeed:</p>
  
  <ul>
  <li>No confirmations and no visualitzation of the XML request that is signed by the user. Because what is signed is an internal technical request that has no value to the user, and the application runs in a controlled and trusted system in internal LAN.</li>
  </ul>