ICertServerExit interface

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.

Methods

The ICertServerExit interface has these methods.

Method Description
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::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::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::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

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