Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SmartCards and SunMSCAPI - Windows-My

843811Aug 27 2009 — edited Oct 30 2009
Hi!

I just want to confirm a few things:

If I have a SmartCard Reader fully configured on my pc, and I can see the certificates stored on a SmartCard. (I can see them via Internet Explorer options)

its possible to retrieve the certificates from the SmartCard with the SunMSCAPI provider?

I tried something like this (with the SmartCard in)
KeyStore keyStore = KeyStore.getInstance("Windows-MY");
keyStore.load(null, null);	
And the keyStore was loaded with the certificates from my personal windows store, but no with the certificates from the SmartCard.

I'm asking 'cause well, since on Internet Explorer the SmartCard's certificates appear inside the Personal Store, I thought that getting "Windows-My" will get those too. (Basically I just want to know if its possible to use the SmartCart's certificates using "Windows-My".)

Thanks in advance!

Edited by: FabianIB on Aug 28, 2009 9:10 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 27 2009
Added on Aug 27 2009
1 comment
557 views