IEnumCERTVIEWEXTENSION interface (certview.h)

The IEnumCERTVIEWEXTENSION interface represents an extension-enumeration sequence that contains the certificate extension data for the current row of the row-enumeration sequence.

The extension-enumeration sequence is obtained by a call to the
IEnumCERTVIEWROW::EnumCertViewExtension method. After this enumeration sequence is obtained, the methods of the IEnumCERTVIEWEXTENSION interface can be used to perform the following tasks:

  • Navigate the extension-enumeration sequence.
  • Retrieve the name, value, and flags of the extension in the enumeration.
  • Clone an exact copy of the extension-enumeration sequence.

IEnumCERTVIEWEXTENSION is defined in Certview.h. When you create your program, however, use Certsrv.h as the include file. Certadm.dll provides the IEnumCERTVIEWEXTENSION interface. The type information for this interface is also in Certadml.dll, which is shipped with the Platform Software Development Kit (SDK).

Certificate Services interfaces support both apartment-threading and free-threading models. For better throughput, free threading is recommended.

Inheritance

The IEnumCERTVIEWEXTENSION interface inherits from the IDispatch interface. IEnumCERTVIEWEXTENSION also has these types of members:

Methods

The IEnumCERTVIEWEXTENSION interface has these methods.

 
IEnumCERTVIEWEXTENSION::Clone

Creates a copy of the extension-enumeration sequence.
IEnumCERTVIEWEXTENSION::GetFlags

Retrieves the policy and origin flags of the current extension in the extension-enumeration sequence.
IEnumCERTVIEWEXTENSION::GetName

Retrieves the name of the current extension in the extension-enumeration sequence.
IEnumCERTVIEWEXTENSION::GetValue

Retrieves the value of the current extension in the extension-enumeration sequence.
IEnumCERTVIEWEXTENSION::Next

Moves to the next extension in the extension-enumeration sequence.
IEnumCERTVIEWEXTENSION::Reset

Moves to the beginning of the extension-enumeration sequence.
IEnumCERTVIEWEXTENSION::Skip

Skips a specified number of extensions in the extension-enumeration sequence.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header certview.h (include Certsrv.h)

See also

IDispatch

IEnumCERTVIEWROW::IEnumCertViewExtension