Hello,

I'd like to encrypt a message. But I want the encryption to be
Public-key. 

Does this do the trick?

        "openssl smime -encrypt -in signedFile.msg \
                -out encryptedFile.msg \
                -des3 recipientCert.pem"

I was figuring that since the certificate had the Public-key, openssl
generates a key for des3. Then it encrypts the message with that des3 key,
and encrypts the des3 key with the Public-key using RSA.

Is this the case?

Thank you in advance
-Osama


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

Reply via email to