title: How to Read a certificate from Usb Token for digital signing using java
body: <p>For C# I am getting directly code, but for java I'm not able to find such code or API. Please help me regarding this.</p>
  
  <p>I tried with <code>KeyStore ks = KeyStore.getInstance("Windows-MY", "SunMSCAPI");</code>, 
  but it returns server side installed certificate.</p>
  
  <p>I want to read certificate from USB attached by client on his local machine.</p>