CTL_USAGE structure (wincrypt.h)

The CTL_USAGE structure contains an array of object identifiers (OIDs) for Certificate Trust List (CTL) extensions. CTL_USAGE structures are used in functions that search for CTLs for specific uses.

Syntax

typedef struct _CTL_USAGE {
  DWORD cUsageIdentifier;
  LPSTR *rgpszUsageIdentifier;
} CTL_USAGE, *PCTL_USAGE, CERT_ENHKEY_USAGE, *PCERT_ENHKEY_USAGE;

Members

cUsageIdentifier

Number of elements in the rgpszUsageIdentifier member array.

rgpszUsageIdentifier

Array of object identifiers (OIDs) of CTL extensions.

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

CTL_FIND_USAGE_PARA

CTL_INFO

CertFindCertificateInStore

CertGetCertificateContextProperty

CertVerifyCTLUsage

CryptDecodeObject

CryptEncodeObject