Upravit

Sdílet prostřednictvím


PolicyInformation object

[The PolicyInformation object is available for use in the operating systems specified in the Requirements section. Instead, use the X509Extension Class in the System.Security.Cryptography.X509Certificates namespace by calling the constructor that takes an OID as a parameter, and then use the OID for Certificate Policies to process policy information in the Certificate policies extension.]

The PolicyInformation object provides access to the policy information of an extension.

When to use

The PolicyInformation object is used to perform the following tasks:

  • Retrieve the policy OID.
  • Retrieve a collection of the policy's qualifiers.

Members

The PolicyInformation object has these types of members:

Properties

The PolicyInformation object has these properties.

Property Description
OID
Retrieves the policy's OID, as an OID object. This is the default property.
Qualifiers
Retrieves a collection of the policy's qualifiers, as a Qualifiers object.

 

Remarks

The PolicyInformation object cannot be created.

Requirements

Requirement Value
Redistributable
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP
DLL
Capicom.dll