Reputation: 3807
It is possible to write a Java program to read one certificate (getting private and public key) stored in windows certificate store ?
Thanks
Upvotes: 5
Views: 6335
Reputation: 75456
If you are on Java 6, you can use the MSCAPI keystore to read it. Just open your keystore like this,
KeyStore msCertStore = KeyStore.getInstance("Windows-MY", "SunMSCAPI");
Upvotes: 8