Compartilhar via


CTL_USAGE (Compact 2013)

3/28/2014

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

See Also

Reference

Cryptography Structures
CertFindCertificateInStore
CertGetCertificateContextProperty
CryptDecodeObjectEx
CryptEncodeObjectEx