Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IEnumCERTVIEWEXTENSION interface

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.

Members

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

Methods

The IEnumCERTVIEWEXTENSION interface has these methods.

MethodDescription
Clone

Creates a copy of the extension-enumeration sequence.

GetFlags

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

GetName

Retrieves the name of the current extension in the extension-enumeration sequence.

GetValue

Retrieves the value of the current extension in the extension-enumeration sequence.

Next

Moves to the next extension in the extension-enumeration sequence.

Reset

Moves to the beginning of the extension-enumeration sequence.

Skip

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

 

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Certview.h (include Certsrv.h)

Library

Certidl.lib

DLL

Certadm.dll

IID

IID_IEnumCERTVIEWEXTENSION is defined as e7dd1466-7653-11d1-9bde-00c04fb683fa

See also

IEnumCERTVIEWROW::IEnumCertViewExtension

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.