CERT_EXTENSION structure (wincrypt.h)

The CERT_EXTENSION structure contains the extension information for a certificate, Certificate Revocation List (CRL) or Certificate Trust List (CTL).

Syntax

typedef struct _CERT_EXTENSION {
  LPSTR            pszObjId;
  BOOL             fCritical;
  CRYPT_OBJID_BLOB Value;
} CERT_EXTENSION, *PCERT_EXTENSION;

Members

pszObjId

Object identifier (OID) that specifies the structure of the extension data contained in the Value member. For specifics on extension OIDs and their related structures, see X.509 Certificate Extension Structures.

fCritical

If TRUE, any limitations specified by the extension in the Value member of this structure are imperative. If FALSE, limitations set by this extension can be ignored.

Value

A CRYPT_OBJID_BLOB structure that contains the encoded extension data. The cbData member of Value indicates the length in bytes of the pbData member. The pbData member byte string is the encoded extension.

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_EXTENSIONS

CERT_INFO

CRL_ENTRY

CRL_INFO

CRYPT_INTEGER_BLOB

CTL_ENTRY

CTL_INFO

CertFindExtension