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 a0957d55059f0b6052235737f7441fc35da41afd)