我希望有CMS签名的文档,但使用摘要“ ecdsa-with-SHA1”。 openssl
是否可以openssl cms -sign -noattr -nocerts -nosmimecap -md sha256 -in MYFILE.txt binary -out MYFILE.cms.sha256 -outform DER -stream -signer server.pem -inkey private-key.pem
但是我希望使用消息摘要“ ecdsa-with-SHA1”,而不是如中的sha256
openssl dgst -ecdsa-with-SHA1 -sign private-key.pem -out MYFILE.ecdsa.dgst MYFILE.txt
OpenSSL> version
OpenSSL 1.1.1c 28 May 2019
openssl是否可以将CMS与ecdsa-with-SHA1结合使用?