Re: How to call the SignedData.Verify method

From: Shawn Corey [MSFT] (shawncor_at_online.microsoft.com)
Date: 02/12/04


Date: Thu, 12 Feb 2004 11:31:22 -0800

For verifying you do not usually have to set the content, it will be set
after the verify is complete. For verifying signed data just call verify
something like this oSignedData.Verify data. If the verify can successfully
decode the data then the content will be filled with the data that was
signed.

Here is the link to the CAPICOM MSDN docs:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/Security/capicom_reference.asp

-- 
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Sahil" <ffREMOVETHIS2@hotmail.com> wrote in message
news:eqph8HT8DHA.2392@TK2MSFTNGP11.phx.gbl...
> Hello all,
> How do one call the verify method of SignedData Capicom object?
>
> if i need to verify pkcs7 file. what exactly do i've to set content
property
> to ?
>
> thanks
>
>
>


Relevant Pages

  • Re: CAPICOM: How to check the validity of certificate when verifiing the signature fails?
    ... Yes, I passed the detached data to SignedData, before veryfiing. ... the content is changed and certificate is not valid. ... So, if verify fails, I don't know if the cert is valid. ...
    (microsoft.public.platformsdk.security)
  • Re: How to call the SignedData.Verify method
    ... CAPICOM supports both attached and detached signatures. ... For verifying signed data just call verify ... >> How do one call the verify method of SignedData Capicom object? ...
    (microsoft.public.platformsdk.security)
  • Re: How to verify a SignedData (CMS, RFC3369) object?
    ... I changed the vbs sample so that the last parameter from Verify() is 0 ... And now it verifies the Signature!!! ... I now have a file that is the certificate authority ... that signed the cerificate that was included inside the SignedData. ...
    (microsoft.public.platformsdk.security)
  • Re: How to verify a SignedData (CMS, RFC3369) object?
    ... I changed the vbs sample so that the last parameter from Verify() is 0 ... And now it verifies the Signature!!! ... I now have a file that is the certificate authority ... that signed the cerificate that was included inside the SignedData. ...
    (microsoft.public.dotnet.security)
  • Re: How to verify a SignedData (CMS, RFC3369) object?
    ... I changed the vbs sample so that the last parameter from Verify() is 0 ... And now it verifies the Signature!!! ... I now have a file that is the certificate authority ... that signed the cerificate that was included inside the SignedData. ...
    (sci.crypt)

Quantcast