CERT_REVOCATION_INFO structure (wincrypt.h)

The CERT_REVOCATION_INFO structure indicates the revocation status of a certificate in a CERT_CHAIN_ELEMENT.

Syntax

typedef struct _CERT_REVOCATION_INFO {
  DWORD                     cbSize;
  DWORD                     dwRevocationResult;
  LPCSTR                    pszRevocationOid;
  LPVOID                    pvOidSpecificInfo;
  BOOL                      fHasFreshnessTime;
  DWORD                     dwFreshnessTime;
  PCERT_REVOCATION_CRL_INFO pCrlInfo;
} CERT_REVOCATION_INFO, *PCERT_REVOCATION_INFO;

Members

cbSize

Size of this structure in bytes.

dwRevocationResult

Currently defined values are:

  • CERT_TRUST_IS_REVOKED
  • CERT_TRUST_REVOCATION_STATUS_IS_UNKNOWN

pszRevocationOid

Not currently used and is set to NULL.

pvOidSpecificInfo

Not currently used and is set to NULL.

fHasFreshnessTime

BOOL set to TRUE if dwFreshnessTime has been updated.

dwFreshnessTime

If fHasFreshnessTime is TRUE, holds the CurrentTime minus the certificate revocation list's (CRL's). This time is in seconds.

pCrlInfo

For CRL base revocation checking, a non-NULL pointer to a CERT_REVOCATION_CRL_INFO structure.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header wincrypt.h

See also

CERT_CHAIN_ELEMENT