title: Reusing Java Keystore when accessing a smartcard on Windows
body: <p>I'm developing an application which uses SUNMSCAPI to access a smartcard (electronic id) and retrieve some certificates.</p>
  
  <p>Until a while back I could create the keystore and sign a list of files, without re-creating the keystore but now I can only sign one file at a time. </p>
  
  <p>When signing a list of files the first file is signed correctly; when signing the second file I get an "insert smartcard" dialog and the smartcard being used is greyed out.</p>
  
  <p>Has anyone seen this behaviour?</p>