Re: how to use Issuer Certificate to verify a subject Certificate??

From: Sergio Dutra [MS] (sergiod_at_online.microsoft.com)
Date: 03/30/04


Date: Tue, 30 Mar 2004 09:09:25 -0800

Use CryptVerifyCertificateSignatureEx API.

-- 
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
"rimoflove" <rimoflove@hotmail.com> wrote in message 
news:O$HIdEuEEHA.3568@tk2msftngp13.phx.gbl...
>I want to use  the public key in the issuer's certificate which in the 
>root
> store to verify the signature on the subject certificate to check whether
> the subject certificate is issued by the such certificate. Does anyone 
> know
> how to implement it?
> I have used function CertVerifySubjectCertificateContext() to do it ,but 
> it
> always get TRUE regardless of any certificate i passed in the function.
>
>