2005-10-21 06:04:52 UTC
Can anyone please tell me that way or the link, that how can i use
CertVerifyRevocation function to check the revocation of some certificate.
If some one can provide a small example showing the usage and parameter
passing to CertVerifyRevocation API. I have used it as :
DWORD encodingtype = X509_ASN_ENCODING | PKCS_7_ASN_ENCODING;
DWORD revocationType = CERT_CONTEXT_REVOCATION_TYPE;
DWORD noOfCerts = 1;
PVOID * dwCertPtr = new PVOID;
dwCertPtr = &m_Certificate;
DWORD revocationFlags = CERT_VERIFY_REV_CHAIN_FLAG;
PCERT_REVOCATION_STATUS revocationStatus = 0;
BOOL b =
where m_Certificate is of type CERT_CONTEXT, it is throwing the exception.
Please some one can help me in this regard. Thanks in advance.