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!

Cheking signature with SHA1withRSA

843810Apr 30 2002 — edited Mar 17 2003
Hi there!

2 problems:

1st:
I want to get the private key from the certificate not from public key
I need to obtain thas private key in order to sign using java.security package.

2nd:
To verify that sign i can get the public key from the certificate but i get this exception:

java.security.NoSuchAlgorithmException: Signature not available

Signature algorithm is SHA1withRSA, obtained from certificate.
�Where can I get that algorithm?
�How can i get privatekey from certificate?

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 14 2003
Added on Apr 30 2002
7 comments
269 views