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!

Signing a string using provided RSA PrivateKey

843811Jan 24 2006 — edited Jan 26 2006
Can someone please help me? I am new to Java in general and already I have been assigned some crypto work. I have searched the forums, but have not been able to piece together exactly what I need.

I need to hash a string using SHA-1 and sign it using an RSA Private Key file that I have been provided. The filename is privatekeyblob. (no extension) Unfortunately, I don't have much more information about the file, but I can ask the vendor if anyone has specific questions.

If anyone can provide the exact source code, that would help a newbie like me greatly. Any help is of course appreciated.

Thanks in advance! Best,

Steve
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 23 2006
Added on Jan 24 2006
10 comments
520 views