Re: CertGetCertificateChain() vs CertVerifyRevocation()
From: Vishal Agarwal[MSFT] (vishala_at_online.microsoft.com)
Date: 05/28/04
- Next message: Agnihotri: "Re: CryptAcquireContext Fails in Windows 98"
- Previous message: Vishal Agarwal[MSFT]: "Re: How to get "Issuer to" information?"
- In reply to: prem: "Re: CertGetCertificateChain() vs CertVerifyRevocation()"
- Next in thread: prem: "Re: CertGetCertificateChain() vs CertVerifyRevocation()"
- Reply: prem: "Re: CertGetCertificateChain() vs CertVerifyRevocation()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 27 May 2004 21:22:33 -0700
0x1000040 implies:
#define CERT_TRUST_REVOCATION_STATUS_UNKNOWN 0x00000040
#define CERT_TRUST_IS_OFFLINE_REVOCATION
0x01000000
Are you sure the CRL is fetched correctly? If so, can you ascertain that the
CRL's download are valid for the certifcate?
Thanks,
Vishal Agarwal [MSFT]
-- This posting is provided "AS IS" with no warranties, and confers no rights "prem" <anonymous@discussions.microsoft.com> wrote in message news:8D92AF30-7092-47D3-A4AA-A6FDC2DC603F@microsoft.com... > Hi, > I tried out CertGetCertificateChain() with fCheckRevocationFreshnessTime as you mentioned. I got the CRL quickly but for those of the unrevoked certificates I am getting 0x1000040 in the pChainContext->TrustStatus.dwErrorStatus ( where pChainContext is of type PCCERT_CHAIN_CONTEXT ). Whereas in the same program if I remove fCheckRevocationFreshnessTime logic I get pChainContext->TrustStatus.dwErrorStatus as CERT_TRUST_NO_ERROR. Why do I get this different kind of behaviour for unrevoked certificates. I also dont fine as entry for 0x1000040 in Wincrypt.h > > As metioned in the help I set the CERT_CHAIN_PARA to 0 by doing memset(&ChainPara,0,sizeof(CERT_CHAIN_PARA)); > > Thanks, > Prem > > >
- Next message: Agnihotri: "Re: CryptAcquireContext Fails in Windows 98"
- Previous message: Vishal Agarwal[MSFT]: "Re: How to get "Issuer to" information?"
- In reply to: prem: "Re: CertGetCertificateChain() vs CertVerifyRevocation()"
- Next in thread: prem: "Re: CertGetCertificateChain() vs CertVerifyRevocation()"
- Reply: prem: "Re: CertGetCertificateChain() vs CertVerifyRevocation()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|