Click here to Skip to main content
15,888,301 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Why the exception "Cannot Find Original Sender" is coming on verifying a signed certificate?
I am verifying a digitally signed certificate using signedcms. But on calling the method CheckSignature I am getting the exception "Cannot Find Original Sender".

Digital Signature Verification Code is as below:

C#
ContentInfo contentInfo = new ContentInfo(msgBytes);
//  Prepare an object in which to decode and verify.
SignedCms signedCms = new SignedCms(contentInfo, true);
signedCms.Decode(encodedSignedCms);
signedCms.CheckSignature(extraStore, true);
Posted
Updated 29-Oct-15 19:12pm
v2

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