Hello All,

Certainly it's not the right place for this question, but probably someone
in here has already faced the same
problem as me.
Few months ago, I wrote an application to generate a session key, use this
key to encrypt a file, after that,
load a public key from a pem file (certificate), and encrypt the session key
to send to the certificate's owner.
It did work great (Thanks to the wonderfull OpenSSL library).
Now, I have to mimic all that I did using Java (Big Trouble !!!). I am
almost done except for the method that
encrypt the session key using the public key (and of course, another method
to decrypt using the Private key).
The problem is:
I used RSA_PKCS1_OAEP_PADDING when I wrote the encryption function and now,
it seems that there's
no way to do that in Java. Cryptix Provider has a RSA algorithm, but without
PKCS1 padding :(
I am using PureTLS (Great Job !! Mr. Rescorla) plus Cryptix 3.2.
Please, if anyone has faced that problem before, let me know how to solve.
Any hint or clue will be very appreciate.

Sidney Fortes


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

Reply via email to