views:

24

answers:

1

Hello,

I am developing an application that uses Java's Crytographic Extension, more specifically MSCAPI, to sign a file using a user's private key all from a web browser. I have been able to do this succesfully locally, but when i embed the class in a web page and try to access users keystore i get the following error: "no such provider: SunMSCAPI". Does anyone have any knowledge pertaining to the cause of this error?

The line of code that causes the error:

KeyStore ks = KeyStore.getInstance("Windows-MY", "SunMSCAPI");

Thanks

+2  A: 

SunMSCAPI is only available in Java 6 as of today.

GregS
Thanks, figured that out after a few hours of trouble shooting ><
Petey B