CERT_INFO_TYPE

Константы CERT_INFO_TYPE (запрашиваемая информация из сертификата) аналогичны перечислению CAPICOM_CERT_INFO_TYPE.

Имя Описание Значение
CERT_INFO_SUBJECT_SIMPLE_NAME Returns the display name of the certificate subject. 0
CERT_INFO_ISSUER_SIMPLE_NAME Returns the display name of the issuer of the certificate. 1
CERT_INFO_SUBJECT_EMAIL_NAME Returns the email address of the certificate subject. 2
CERT_INFO_ISSUER_EMAIL_NAME Returns the email address of the issuer of the certificate. 3
CERT_INFO_SUBJECT_UPN Returns the UPN of the certificate subject. Introduced in CAPICOM 2.0. 4
CERT_INFO_ISSUER_UPN Returns the UPN of the issuer of the certificate. Introduced in CAPICOM 2.0. 5
CERT_INFO_SUBJECT_DNS_NAME Returns the DNS name of the certificate subject. Introduced in CAPICOM 2.0. 6
CERT_INFO_ISSUER_DNS_NAME Returns the DNS name of the issuer of the certificate. Introduced in CAPICOM 2.0. 7