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

ExtendedProperty.PropID property

· 52CE 我爱测

Sets or retrieves the type of extended property. This is the default property.

[CAPICOM is a 32-bit only component that is available for use in the following operating systems: Windows Server 2008, Windows Vista, and Windows XP. Instead, use Platform Invocation Services (PInvoke) to call the Win32 API function CertGetCertificateContextProperty and obtain the properties. For information about PInvoke, see Platform Invoke Tutorial. The .NET and CryptoAPI via P/Invoke: Part 1 and .NET and CryptoAPI via P/Invoke: Part 2 subsections of Extending .NET Cryptography with CAPICOM and P/Invoke may also be helpful.]

The PropID property sets or retrieves the type of extended property. This is the default property.

Syntax

ExtendedProperty.PropID As CAPICOM_PROPID

Property value

A value of the CAPICOM_PROPID enumeration that defines the CAPICOM property identifiers. The following table shows the possible values.

Value Meaning
CAPICOM_PROPID_UNKNOWN The type of the property is not known.
CAPICOM_PROPID_KEY_PROV_HANDLE A handle to a key container within a cryptographic service provider (CSP).
CAPICOM_PROPID_KEY_PROV_INFO Information about a key container within a CSP.
CAPICOM_PROPID_SHA1_HASH A SHA1 hash object.
CAPICOM_PROPID_HASH_PROP The properties of a hash object.
CAPICOM_PROPID_MD5_HASH An MD5 hash object.
CAPICOM_PROPID_KEY_CONTEXT The key context.
CAPICOM_PROPID_KEY_SPEC The specifications for a key.
CAPICOM_PROPID_IE30_RESERVED Information about whether the object is reserved in Internet Explorer 3.0.
CAPICOM_PROPID_PUBKEY_HASH_RESERVED Information about whether the hash of the public key is reserved.
CAPICOM_PROPID_ENHKEY_USAGE An enhanced key usage (EKU).
CAPICOM_PROPID_CTL_USAGE A certificate trust list (CTL) usage.
CAPICOM_PROPID_NEXT_UPDATE_LOCATION The location of the next update to the certificate revocation list (CRL).
CAPICOM_PROPID_FRIENDLY_NAME A human-readable name.
CAPICOM_PROPID_PVK_FILE A file that contains a private key.
CAPICOM_PROPID_DESCRIPTION A human-readable description.
CAPICOM_PROPID_ACCESS_STATE The state of the access.
CAPICOM_PROPID_SIGNATURE_HASH A hash of the signature.
CAPICOM_PROPID_SMART_CARD_DATA Smart card data.
CAPICOM_PROPID_EFS An Encrypting File System (EFS).
CAPICOM_PROPID_FORTEZZA_DATA Data created using the cryptographic protocols and algorithms owned by the National Institute of Standards and Technology (NIST).
CAPICOM_PROPID_ARCHIVED Information about whether the object is archived.
CAPICOM_PROPID_KEY_IDENTIFIER A key identifier.
CAPICOM_PROPID_AUTO_ENROLL Auto-enrollment information for a certificate.
CAPICOM_PROPID_PUBKEY_ALG_PARA Parameters for a public key algorithm.
CAPICOM_PROPID_CROSS_CERT_DIST_POINTS Information used to update dynamic cross certificates.
CAPICOM_PROPID_ISSUER_PUBLIC_KEY_MD5_HASH The MD5 hash of the issuer's public key.
CAPICOM_PROPID_SUBJECT_PUBLIC_KEY_MD5_HASH The MD5 hash of the subject's public key.
CAPICOM_PROPID_ENROLLMENT Information about the certificate's enrollment.
CAPICOM_PROPID_DATE_STAMP A date stamp.
CAPICOM_PROPID_ISSUER_SERIAL_NUMBER_MD5_HASH The MD5 hash of the issuer's serial number.
CAPICOM_PROPID_SUBJECT_NAME_MD5_HASH The MD5 hash of the subject's name.
CAPICOM_PROPID_EXTENDED_ERROR_INFO Extended information about an error.
CAPICOM_PROPID_RENEWAL Information about the renewal of a certification authority.
CAPICOM_PROPID_ARCHIVED_KEY_HASH An archived hash of a key.
CAPICOM_PROPID_FIRST_RESERVED Information about the first reservation.
CAPICOM_PROPID_LAST_RESERVED Information about the most recent reservation.
CAPICOM_PROPID_FIRST_USER Information about the first user.
CAPICOM_PROPID_LAST_USER Information about the most recent user.

Requirements

Requirement Value
End of client support Windows Vista
End of server support Windows Server 2008
Redistributable CAPICOM 2.0 or later on Windows Server 2003 and Windows XP
DLL Capicom.dll

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)

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

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