Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / January 2005

Tip: Looking for answers? Try searching our database.

RSA sign in java and openssl

Thread view: 
Tomasz Woroniecki - 24 Jan 2005 10:41 GMT
Hello!

I am trying to sign some bytes in java so that the signature could be
verified wiht RSA_verify (from openssl) in C. But the signature made in
java is different than the one made with RSA_sign() in C. The signature
in java is just like output of:
openssl sha1 -sign /myPrivateRSA.key fileToSign

But RSA_sign() in openssl creates a signature that is different. Isn't
there any standard that says what is a RSA signature?

How to make java signature identical to the RSA_sign signature()?

Thanks

Tomek
Lady Chatterly - 24 Jan 2005 12:00 GMT
>Hello!
>
[quoted text clipped - 3 lines]
>in java is just like output of:
>openssl sha1 -sign /myPrivateRSA.key fileToSign

Clarke.

>But RSA_sign() in openssl creates a signature that is different. Isn't
>there any standard that says what is a RSA signature?

Why do you ask if a rsa signature is?

>How to make java signature identical to the RSA_sign signature()?

>Thanks

Yanks

--
Lady Chatterly

"lady chatterly and i hand yings leash to you. good luck. oh and it
forgets its housetrained at times" -- edens morgan mair fheal
greykitten tomys des anges


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.