Hi,
Can any one help me with the following problem.

First is with C implementation. Correct me if I get any of the following
wrong.
We have a function called RSA_sign. This function basically digitally signs
the text. The flow if
I am right is to provide the function with the method used to generate the
HASH (MD5 or SHA1) as
the first parameter, the second parameter is the HASH string, the third
being the size of the HASH,
the forth being the buffer into which the digitally signed string is
placed, the fifth parameter is the
address of the integer where the length of the signed text is placed and
the last parameter is the
private key of the signer!

On the other hand, the verify takes the same above parameters, except for
the fifth parameter
is the Public Key of the signer.

Second is with the JAVA implementation with the provider.
When we sign and verify under C openssl for UNIX, everything seems to work
fine. But when I provide
the signed text to JAVA implementation, the verify fails. Not only that,
the signed text under C and JAVA
are totally different.

Could some one tell me where I am going wrong in this effort!

thanks in advance,
Vignesh


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to