Upravit

Sdílet prostřednictvím


CertificateStatus.CertificatePolicies method

[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 CertificatePolicies method returns an OIDs collection that represents the certificate policies used to create the Chain object.

Syntax

CertificateStatus.CertificatePolicies()

Parameters

This method has no parameters.

Return value

An OIDs collection. Each OID object in the collection represents a certificate policy OID.

Remarks

Add certificate policy OIDs to the collection to specify the certificate policies that should be used to build the certificate trust chain.

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