Muokkaa

Jaa


CAPICOM_CERTIFICATE_FIND_TYPE enumeration

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