CERT_OR_CRL_BLOB structure (wincrypt.h)

The CERT_OR_CRL_BLOB structure encapsulates certificates for use with Internet Key Exchange messages.

Syntax

typedef struct _CERT_OR_CRL_BLOB {
  DWORD dwChoice;
  DWORD cbEncoded;
  BYTE  *pbEncoded;
} CERT_OR_CRL_BLOB, *PCERT_OR_CRL_BLOB;

Members

dwChoice

A DWORD value that specifies the content type of the buffer pointed to by the pbEncoded member.

Value Meaning
CERT_BUNDLE_CERTIFICATE
0
The pbEncoded member points to an encoded certificate.
CERT_BUNDLE_CRL
1
The pbEncoded member points to a certificate list.

cbEncoded

The size, in bytes, of the buffer pointed to by the pbEncoded member.

pbEncoded

A pointer to a buffer that contains a certificate or a CERT_OR_CRL_BUNDLE structure that contains an array of certificates as specified by the dwChoice member.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header wincrypt.h