CERT_USAGE_MATCH

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

typedef struct _CERT_USAGE_MATCH {
DWORD dwType;
CERT_ENHKEY_USAGE Usage;
} CERT_USAGE_MATCH,  *PCERT_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.

    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
    The 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

Runs on Versions Defined in Include Link to
Windows CE OS 3.0 or later Wincrypt.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

CERT_ENHKEY_USAGE, CTL_USAGE

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.