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

CertificateStatus object

· 52CE 我爱测

Contains information about how to construct a certificate trust chain.

[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 the X509ChainStatus Structure in the System.Security.Cryptography.X509Certificates namespace.]

The CertificateStatus object contains information about how to construct a certificate trust chain.

Members

The CertificateStatus object has these types of members:

Methods

The CertificateStatus object has these methods.

Method Description
ApplicationPolicies Returns an OIDs collection that represents the application policy OIDs.
CertificatePolicies Returns an OIDs collection that represents the certificate policy OIDs used during chain building.
EKU Returns the EKU object used to set the EKU elements to be checked in establishing a certificate's validity status.

Properties

The CertificateStatus object has these properties.

Property Access type Description
Certificates Read/write Sets or retrieves the collection of certificates that can be used to build the certificate chain. CAPICOM 2.0.0.3 and earlier: The Certificates property is not supported.
CheckFlag Read/write Validity check flag. Values can be joined by using a logical OR operator. The default check flag is CAPICOM_CHECK_ONLINE_ALL.
Result Read-only Indicates whether the certificate is valid. The certificate's validity is checked using the current setting of the CheckFlag property and the policy settings of the certificate. This is the default property.
UrlRetrievalTimeout Read/write Sets or retrieves the length of time before a URL is determined to be unreachable.
VerificationTime Read/write Sets or retrieves the time that the certificate was verified.

Remarks

The CertificateStatus object cannot be created.

The CertificateStatus object is returned by the Certificate.IsValid method.

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

See also

Cryptography Objects

Chain

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)

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

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