大网数据广告活动
账户与安全

CAPICOM_CERTIFICATE_FIND_TYPE enumeration (Capicom.h)

· 52CE 我爱测

The CAPICOM_CERTIFICATE_FIND_TYPE enumeration type defines the type of search criteria used to find specific certificates. This enumeration type was introduced in CAPICOM 2.0.

The CAPICOM_CERTIFICATE_FIND_TYPE enumeration type defines the type of search criteria used to find specific certificates. This enumeration type was introduced in CAPICOM 2.0.

Members

Member Description Value
CAPICOM_CERTIFICATE_FIND_SHA1_HASH Returns certificates matching a specified SHA1 hash. 0
CAPICOM_CERTIFICATE_FIND_SUBJECT_NAME Returns certificates whose subject name exactly or partially matches a specified subject name. 1
CAPICOM_CERTIFICATE_FIND_ISSUER_NAME Returns certificates whose issuer name exactly or partially matches a specified issuer name. 2
CAPICOM_CERTIFICATE_FIND_ROOT_NAME Returns certificates whose root subject name exactly or partially matches a specified root subject name. 3
CAPICOM_CERTIFICATE_FIND_TEMPLATE_NAME Returns certificates whose template name matches a specified template name. 4
CAPICOM_CERTIFICATE_FIND_EXTENSION Returns certificates that have an extension that matches a specified extension. 5
CAPICOM_CERTIFICATE_FIND_EXTENDED_PROPERTY Returns certificates that have an extended property whose property identifier matches a specified property identifier. 6
CAPICOM_CERTIFICATE_FIND_APPLICATION_POLICY Returns certificates in the store that have either an enhanced key usage extension or property combined with a usage identifier. 7
CAPICOM_CERTIFICATE_FIND_CERTIFICATE_POLICY Returns certificates containing a specified policy OID. 8
CAPICOM_CERTIFICATE_FIND_TIME_VALID Returns certificates whose time is valid. 9
CAPICOM_CERTIFICATE_FIND_TIME_NOT_YET_VALID Returns certificates whose time is not yet valid. 10
CAPICOM_CERTIFICATE_FIND_TIME_EXPIRED Returns certificates whose time has expired. 11
CAPICOM_CERTIFICATE_FIND_KEY_USAGE Returns certificates containing a key that can be used in the specified manner. 12

Remarks

The CAPICOM_CERTIFICATE_FIND_TYPE enumeration type is used by the Certificates.Find method.

Requirements

Requirement Value
Redistributable CAPICOM 2.0 or later on Windows Server 2003 and Windows XP
Header Capicom.h

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。