Szerkesztés

Megosztás a következőn keresztül:


Extensions object

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

The Extensions object represents a collection of Extension objects. Each Extension object represents a single certificate extension.

When to use

The Extensions object is used to perform the following tasks:

  • Retrieve the number of certificate extensions in the collection.
  • Retrieve a specific Extension object from the collection.
  • Iterate through the collection.

Members

The Extensions object has these types of members:

Properties

The Extensions object has these properties.

Property Access type Description
_NewEnum
Read-only
Retrieves an IEnumVARIANT interface on an object that can be used to enumerate the collection. This property is hidden within Visual Basic Scripting Edition (VBScript).
Count
Read-only
Retrieves the number of Extension objects in the collection.
Item
Read-only
Retrieves the Extension object that represents the indexed certificate extension of the collection. This is the default property.

 

Remarks

The Extensions object is returned by the Certificate.Extensions method.

The Extensions object cannot be created.

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