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;
Encoding type | Value |
---|---|
X509_ASN_ENCODING | 0x00000001 |
CRL_INFO, CRYPT_SIGN_MESSAGE_PARA, CertAddCRLContextToStore, CertAddEncodedCRLToStore, CertCreateCRLContext, CertFreeCRLContext, CertGetCRLFromStore