Problem in verify signature.



hi:
I having a error message "Can not find the origin singer" when try to verify
signature. The certificate use to sign in the localuser store (with private
key)? any body can help...

// try this also...getting same error message
// SignedCms signedMessage = new SignedCms(SubjectIdentifierType.
IssuerAndSerialNumber | SubjectIdentifierType.SubjectKeyIdentifier);

SignedCms signedMessage = new SignedCms();

byte[] decryptedBytes = encryptedMessage.ContentInfo.Content;
signedMessage.Decode(decryptedBytes);

X509Certificate2Collection col = new X509Certificate2Collection
(_signer);
// check the signature
signedMessage.SignerInfos[0].CheckSignature(col,true);

// try this also, getting the same message
//signedMessage.CheckSignature(true);
.



Relevant Pages

  • Re: X509 Signing: criticism on code snippet
    ... You are not specifying what elements should be signed with the signature. ... > I'm attempting to execute a secured webservice over an https connection. ... > unfortunately I get a final error message related to x509 digital signing ... > // BEGIN C# Snippet ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Outlook Error
    ... It would help if you posted the exact error message, ... signature. ... Milly Staples [MVP - Outlook] ... unsolicited mail sent to my personal account will be deleted without ...
    (microsoft.public.outlook)
  • Re: Problem with Entourage Signatures
    ... While I am typing the body text, an error message ... I have rebuilt the database and have trashed the Signature file, ... To continue typing my text, I have to click on the OK button on ...
    (microsoft.public.mac.office.entourage)
  • Re: Cant create file. - PLEASE HELP!!!!
    ... Jeff wrote: ... > I am using Outlook 2003. ... I had a signature and vcf attachment inserted automatically ... > After I hit the OK button, I get the error message window one more ...
    (microsoft.public.outlook.general)
  • Problem using WSE 2.0 with ASP.NET 2.0
    ... I am trying to verify the signature of the messages. ... I get an error message of “Parser Error Message: ... Prev by Date: ...
    (microsoft.public.dotnet.framework.webservices.enhancements)