Can I write a Java program to read a single certificate (obtain the private and public key) stored in the Windows certificate store?
thanks
If you are in Java 6, you can use the MSCAPI keystore to read it. Just open your keystore as follows:
KeyStore msCertStore = KeyStore.getInstance("Windows-MY", "SunMSCAPI");