ICertConfig interface (certcli.h)
The ICertConfig interface provides functionality for retrieving the public configuration data (specified during client setup) for a Certificate Services server.
The ICertConfig interface is used to perform the following tasks:
- Enumerate through the configuration strings for a Certificate Services server in the configuration point.
- Retrieve the default configuration for a Certificate Services server.
- Retrieve the details of a specific Certificate Services server configuration.
- Reset the configuration of a Certificate Services server.
For each installation of Certificate Services, this public configuration data resides in the Certsrv.txt file, which exists in the shared folder, the Active Directory, or both. Any server set up to post its configuration information in Certsrv.txt is visible to ICertConfig.
ICertConfig is defined in Certcli.h. When you create your program, however, use Certsrv.h as the include file. Certcli.dll provides the ICertConfig 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.
The ICertConfig interface inherits from the IDispatch interface. ICertConfig also has these types of members:
The ICertConfig interface has these methods.
|ICertConfig::GetConfig||Retrieves the configuration string for a Certificate Services server. This method was first defined in the ICertConfig interface.|
|ICertConfig::GetField||Gets a specific field from the current record of the configuration database. This method was first defined in the ICertConfig interface.|
|ICertConfig::Next||Retrieves the index of the next available Certificate Services server configuration in the configuration point. This method was first defined in the ICertConfig interface.|
|ICertConfig::Reset||Resets the configuration query state to point at the Certificate Services server configuration indexed on the specified configuration point. This method was first defined in the ICertConfig interface.|
|Minimum supported client||None supported|
|Minimum supported server||Windows Server 2003 [desktop apps only]|
|Header||certcli.h (include Certsrv.h)|