ICertServerExit interface (certif.h)

The ICertServerExit interface is exported by the server engine and is called by exit modules.

ICertServerExit allows exit modules to get and enumerate elements of requests and certificates.

ICertServerExit is defined in Certif.h. When you create your program, however, use Certsrv.h as the include file. Certcli.dll provides the ICertServerExit interface. The type information for this interface is also in Certclil.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 ICertServerExit interface inherits from the IDispatch interface. ICertServerExit also has these types of members:

Methods

The ICertServerExit interface has these methods.

 
ICertServerExit::EnumerateAttributes

Returns the name of the next request attribute within the current context, then increments the internal pointer to the following attribute.
ICertServerExit::EnumerateAttributesClose

Frees any resources connected with attribute enumeration.
ICertServerExit::EnumerateAttributesSetup

Initializes the internal enumeration pointer to the first request attribute associated with the current context. (ICertServerExit.EnumerateAttributesSetup)
ICertServerExit::EnumerateExtensions

Returns the object identifier (OID) string (also known as the extension name) of the next certificate extension to be enumerated, then increments the internal pointer to the following extension.
ICertServerExit::EnumerateExtensionsClose

Frees any resources connected with extension enumeration.
ICertServerExit::EnumerateExtensionsSetup

Initializes the internal enumeration pointer to the first certificate extension associated with the current context. (ICertServerExit.EnumerateExtensionsSetup)
ICertServerExit::GetCertificateExtension

Gets a specified certificate extension.
ICertServerExit::GetCertificateExtensionFlags

Gets the flags from the extension acquired by the most recent call to ICertServerExit::GetCertificateExtension.
ICertServerExit::GetCertificateProperty

Returns a named property from a certificate. (ICertServerExit.GetCertificateProperty)
ICertServerExit::GetRequestAttribute

Returns a named attribute value from a request.
ICertServerExit::GetRequestProperty

Returns a named property from a request.
ICertServerExit::SetContext

Causes the current instantiation of the interface to operate on the request referenced by Context.

Requirements

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