Add a script to generate keys and certificates for the S/MIME and CMS tests. Update certificates and add EC examples. (cherry picked from commit a0957d55)