Export (0) Print
Expand All
Expand Minimize

CTL_USAGE_MATCH structure

The CTL_USAGE_MATCH structure provides parameters for finding certificate trust lists (CTL) used to build a certificate chain.

Syntax


typedef struct _CERT_USAGE_MATCH {
  DWORD     dwType;
  CTL_USAGE Usage;
} CTL_USAGE_MATCH, *PCTL_USAGE_MATCH;

Members

dwType

Determines the kind 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 codes are defined to determine the logic used in the match.

ValueMeaning
USAGE_MATCH_TYPE_AND

AND logic

USAGE_MATCH_TYPE_OR

OR logic

 

Default usage match logic is USAGE_MATCH_TYPE_AND.

Usage

CTL_USAGE structure that includes an array of object identifiers (OIDs) a CTL must match in order to be valid.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Wincrypt.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft