Accessing private key on Windows with SunMSCAPI (JDK 1.6u1)
843811Jun 7 2007 — edited Jun 8 2007I need to be able to generate PKCS7 signatures with certificates and private keys stored on Windows. I�ve tried to do that by using SunMSCAPI provider (JDK 1.6u1), but I haven�t achieved the expected result. My program runs without errors and generates a signature, but the generated signature is invalid. All my private certificates and keys on the Windows repository are password protected, but when I run my program, there is no windows dialog asking for my key password. Is that normal?
Anyone can help me?
Thanks,
Juan Ram�n