how to retrieve private key from internet explorer

Dear all

i need to retrieve private key from personal store of IE, so that i can sign any document. i know this can be done using sunMSCAPI provider using jdk1.6. but i am not able to retrieve keys. please let me know how to do it using jdk1.6.

if possible post any code example.

thanks

ajkr

[322 byte] By [ajkra] at [2007-11-27 5:13:17]
# 1
KeyStore ks = KeyStore.getInstance("Windows-MY");ks.load(null, null);return ks.getKey(alias, password);
wangwja at 2007-7-12 10:34:45 > top of Java-index,Security,Cryptography...