Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is there any way to add content "file" to the signed message?

SQL
In Msdn docs has: http://msdn.microsoft.com/en-us/library/aa382052(v=vs.85).aspx
Adding content to the encoded message. But I wanted to add to the message and not make a message only with the data.


I have a signed message .p7s detached. I only want to make this attached.

On http://msdn.microsoft.com/en-us/library/aa380220(v=VS.85).aspx
CryptMsgControl Function said:
The control operations provided by this function are used for decryption, signature and hash verification, and the addition and deletion of certificates, certificate revocation lists (CRLs), signers, and unauthenticated. But not, EncapsulatedContentInfo... :(

SignedCms
http://msdn.microsoft.com/en-us/library/system.security.cryptography.pkcs.signed
cms(v=VS.100).aspx


Dont let me add content info...


I'm using Visual Studio 2005, c++.

Thanks,
Posted
Updated 20-Apr-11 10:44am
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900