|
Iam rewriting old delphi aplication which using Chilkat lib for verifying signs in mails and external signs of mail attachments (two files ie. file.pdf and file.p7s). Is possible use Rebex.Security.Cryptography.Pkcs for it? This mens two things. First verify sign for specified file. Second verify sign certificates in p7s file. |
|
Yes, this is possible using the following code: C#:
In addition to Rebex.Security.Cryptography.Pkcs namespace, this also needs Rebex.Security.Certificates from the same DLL. For completeness, this is how you would create a detached signature (the file.p7s file) for file.pdf: C#:
If you would like a VB.NET version of this code, just let me know! Thank you for quick answer a will try it.
(29 Jan '10, 15:30)
Daniel Spurny
|
|
Hi, I´m trying to create and verify an e-mail using VB.NET 2010. I have a problem, I do not know what part of my e-mail is "ContentInfo". I have a smime.p7s file, but looking your C# code I can´t apply to my case. Could you say me what part of e-mail is "ContentInfo" and if you can, show me the VB.NET code. Grettings |