CMS_encrypt.pod (302408) | CMS_encrypt.pod (337982) |
---|---|
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 | 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 keys are supported so the recipient certificates 22supplied to this function must all contain RSA public keys, though they do not 23have to be signed using the RSA algorithm. | 21Only certificates carrying RSA, Diffie-Hellman or EC keys are supported by this 22function. |
24 25EVP_des_ede3_cbc() (triple DES) is the algorithm of choice for S/MIME use 26because most clients will support it. 27 28The algorithm passed in the B<cipher> parameter must support ASN1 encoding of 29its parameters. 30 31Many browsers implement a "sign and encrypt" option which is simply an S/MIME --- 65 unchanged lines hidden --- | 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 --- |