Hi all, this is my first attempt at using pkcs classes to create a p7m envelope.I am trying to accomplish the following
1. sign a document with a certificate
2. envelope the signed document in a p7m file that is viewable using p7mViewer or SignoReader
What I want is a valid p7m file with NO recipients, that is I do not intend to send the file to anyone, but only store the signed file in a DB.
I create a SignedCms, pass my document byte array to a ContentInfo instance, compute the signature, Encode() and then save all as .txt.p7m but Signoreader does not recognize the file format.
Anyone already worked on a similar issue?
Thanks in advance,
Luca