Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CRL_CONTEXT structure (wincrypt.h)

The CRL_CONTEXT structure contains both the encoded and decoded representations of a certificate revocation list (CRL). CRL contexts returned by any CryptoAPI function must be freed by calling the CertFreeCRLContext function.

Syntax

typedef struct _CRL_CONTEXT {
 DWORD dwCertEncodingType;
 BYTE *pbCrlEncoded;
 DWORD cbCrlEncoded;
 PCRL_INFO pCrlInfo;
 HCERTSTORE hCertStore;
} CRL_CONTEXT, *PCRL_CONTEXT;

Members

dwCertEncodingType

Type of encoding used. It is always acceptable to specify both the certificate and message encoding types by combining them with a bitwise-OR operation as shown in the following example:

X509_ASN_ENCODING | PKCS_7_ASN_ENCODING

Currently defined encoding types are:

  • X509_ASN_ENCODING
  • PKCS_7_ASN_ENCODING

pbCrlEncoded

A pointer to the encoded CRL information.

cbCrlEncoded

The size, in bytes, of the encoded CRL information.

pCrlInfo

A pointer to CRL_INFO structure containing the CRL information.

hCertStore

A handle to the certificate store.

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

CRL_INFO

CRYPT_SIGN_MESSAGE_PARA

CertAddCRLContextToStore

CertAddEncodedCRLToStore

CertCreateCRLContext

CertFreeCRLContext

CertGetCRLFromStore


Feedback

Was this page helpful?

Additional resources