Partager via


CERT_USAGE_MATCH

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

typedef struct _CERT_USAGE_MATCH {DWORDdwType;CERT_ENHKEY_USAGEUsage;} 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

OS Versions: Windows CE 3.0 and later.
Header: Wincrypt.h.

See Also

CERT_ENHKEY_USAGE | CTL_USAGE

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.