Константы CERTIFICATE_FIND_TYPE (критерий поиска сертификата) аналогичны перечислению CAPICOM_CERTIFICATE_FIND_TYPE.
Имя | Описание | Значение |
---|---|---|
CERTIFICATE_FIND_SHA1_HASH | Returns certificates matching a specified SHA1 hash. | 0 |
CERTIFICATE_FIND_SUBJECT_NAME | Returns certificates whose subject name exactly or partially matches a specified subject name. | 1 |
CERTIFICATE_FIND_ISSUER_NAME | Returns certificates whose issuer name exactly or partially matches a specified issuer name. | 2 |
CERTIFICATE_FIND_ROOT_NAME | Returns certificates whose root subject name exactly or partially matches a specified root subject name. | 3 |
CERTIFICATE_FIND_TEMPLATE_NAME | Returns certificates whose template name matches a specified template name. | 4 |
CERTIFICATE_FIND_EXTENSION | Returns certificates that have an extension that matches a specified extension. | 5 |
CERTIFICATE_FIND_EXTENDED_PROPERTY | Returns certificates that have an extended property whose property identifier matches a specified property identifier. | 6 |
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 |
CERTIFICATE_FIND_CERTIFICATE_POLICY | Returns certificates containing a specified policy OID. | 8 |
CERTIFICATE_FIND_TIME_VALID | Returns certificates whose time is valid. | 9 |
CERTIFICATE_FIND_TIME_NOT_YET_VALID | Returns certificates whose time is not yet valid. | 10 |
CERTIFICATE_FIND_TIME_EXPIRED | Returns certificates whose time has expired. | 11 |
CERTIFICATE_FIND_KEY_USAGE | Returns certificates containing a key that can be used in the specified manner. | 12 |