|
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 on this old post: http://forum.rebex.net/questions/36/is-possible-use-rebex-security-cryptography-pkcs-namespace-for-external-detached, I can´t apply to my project in VB.NET 2010. Could you say me what part of e-mail is "ContentInfo" and if you can, show me the VB.NET code. Grettings |
|
The C# code from that link is only intended for rare occurrences where you don't have any e-mail but have a stand-alone file and its signature (a .p7s file) instead and need to validate that. Normally, you only need to validate a signed e-mail. In that case, all you need is the code from this tutorial: C#
VB.NET
|
|
Ok, thanks Lukas, but I have my own library...then this code I can´t use. However, I appreciate your help. Best regards. In that case, check out sections 3.4.2 and 3.4.3 of RFC 3851 (http://www.ietf.org/rfc/rfc3851.txt) for more information about this - it describes which part of an e-mail is ContentInfo for two different signed message variants. ContentInfo is the content of the e-mail's multipart/signed
(30 Jun '10, 08:25)
Lukas Pokorny ♦♦
|