共用方式為


CTL_USAGE

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure contains an array of object identifiers (OIDs) for certificate trust list (CTL) extensions. The 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 array.
  • rgpszUsageIdentifier
    Pointer to an array of object identifiers of CTL extensions.

Requirements

Header wincrypt.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

CertFindCertificateInStore
CertGetCertificateContextProperty
CryptDecodeObjectEx
CryptEncodeObjectEx