Signing a string using provided RSA PrivateKey
843811Jan 24 2006 — edited Jan 26 2006Can 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