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!

Accessing private key on Windows with SunMSCAPI (JDK 1.6u1)

843811Jun 7 2007 — edited Jun 8 2007
I 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 6 2007
Added on Jun 7 2007
2 comments
355 views