The CAPICOM_CERT_INFO_TYPE enumeration type defines what information is to be queried from a certificate.
Members
| Member | Description | Value |
|---|---|---|
| CAPICOM_CERT_INFO_SUBJECT_SIMPLE_NAME | Returns the display name of the certificate subject. | 0 |
| CAPICOM_CERT_INFO_ISSUER_SIMPLE_NAME | Returns the display name of the issuer of the certificate. | 1 |
| CAPICOM_CERT_INFO_SUBJECT_EMAIL_NAME | Returns the email address of the certificate subject. | 2 |
| CAPICOM_CERT_INFO_ISSUER_EMAIL_NAME | Returns the email address of the issuer of the certificate. | 3 |
| CAPICOM_CERT_INFO_SUBJECT_UPN | Returns the UPN of the certificate subject. Introduced in CAPICOM 2.0. | 4 |
| CAPICOM_CERT_INFO_ISSUER_UPN | Returns the UPN of the issuer of the certificate. Introduced in CAPICOM 2.0. | 5 |
| CAPICOM_CERT_INFO_SUBJECT_DNS_NAME | Returns the DNS name of the certificate subject. Introduced in CAPICOM 2.0. | 6 |
| CAPICOM_CERT_INFO_ISSUER_DNS_NAME | Returns the DNS name of the issuer of the certificate. Introduced in CAPICOM 2.0. | 7 |
Remarks
The CAPICOM_CERT_INFO_TYPE enumeration type is used by the Certificate.GetInfo 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.
