1=pod 2 3=head1 NAME 4 5 CMS_encrypt - create a CMS envelopedData structure 6 7=head1 SYNOPSIS 8 --- 4 unchanged lines hidden (view full) --- 13=head1 DESCRIPTION 14 15CMS_encrypt() creates and returns a CMS EnvelopedData structure. B<certs> 16is a list of recipient certificates. B<in> is the content to be encrypted. 17B<cipher> is the symmetric cipher to use. B<flags> is an optional set of flags. 18 19=head1 NOTES 20 |
21Only certificates carrying RSA, Diffie-Hellman or EC keys are supported by this 22function. |
23 24EVP_des_ede3_cbc() (triple DES) is the algorithm of choice for S/MIME use 25because most clients will support it. 26 27The algorithm passed in the B<cipher> parameter must support ASN1 encoding of 28its parameters. 29 30Many browsers implement a "sign and encrypt" option which is simply an S/MIME --- 65 unchanged lines hidden --- |