Share via


CERT_USAGE_MATCH

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure provides parameters for finding issuer certificates used to build a certificate chain.

Syntax

typedef struct _CERT_USAGE_MATCH {
  DWORD dwType;
  CERT_ENHKEY_USAGE Usage;
} CERT_USAGE_MATCH, *PCERT_USAGE_MATCH;

Members

  • dwType
    Type of issuer matching to be done. In AND logic, the certificate must meet all criteria. In OR logic, the certificate must meet at least one of the criteria. The following table shows defined codes that determine the logic used in the match.

    Code Description

    USAGE_MATCH_TYPE_AND

    AND logic

    USAGE_MATCH_TYPE_OR

    OR logic

    The default usage match logic is USAGE_MATCH_TYPE_AND.

  • Usage
    CERT_ENHKEY_USAGE structure, which is the same as a CTL_USAGE structure, that includes an array of certificate OIDs that a certificate must match in order to be valid.

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

CTL_USAGE
CTL_USAGE