CRL_CONTEXT

The CRL_CONTEXT structure is a Certificate Revocation List (CRL) context structure which contains both the encoded and decoded representations of a CRL. A CRL context returned by a certificate store function must be freed by calling the CertFreeCRLContext function. The CertDuplicateCRLContext function can be called to make a duplicate copy (which also must be freed by calling CertFreeCRLContext).

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

Members

dwCertEncodingType
The type of encoding used on the certificate. Currently defined certificate encoding types are shown in the following table:
Encoding type Value
X509_ASN_ENCODING 0x00000001

pbCrlEncoded
A pointer to the encoded CRL.
cbCrlEncoded
The size, in bytes, of the encoded CRL.
pCrlInfo
A pointer to a structure of CRL information.
hCertStore
A handle to the certificate store.

See Also

CRL_INFO, CRYPT_SIGN_MESSAGE_PARA, CertAddCRLContextToStore, CertAddEncodedCRLToStore, CertCreateCRLContext, CertFreeCRLContext, CertGetCRLFromStore