none
Equivalent of "openssl smime -sign" in C# and Compact Framework RRS feed

  • Question

  • Hi,

    I try to sign a XML with a certificate in C# for a mobile application. So, I use Compact Framework 3.5. For the moment, I have used an OpenSSL command like this:

    openssl smime -sign -in myXML.xml -out myXMLSigned.mim -passin pass:test -binary -nodetach -inkey certificat.priv.pem -signer certificat.pub.pem

    Unfortunately, I think I’ve found an equivalent in C# Framework (by using the function of PKCS like SignedCms, CmsSigner, …) but no in Compact Framework. I’ve already tried to manipulate CryptoAPI with no success.

    What is the equivalent of this OpenSSL command?

    Many thanks in advance for your assistance.

    Best regards.

    Monday, October 27, 2014 8:16 AM

Answers

All replies