IMSCEPSetup interface
The IMSCEPSetup interface defines functionality to install and uninstall a Network Device Enrollment Service (NDES) role on a Certificate Services computer. Implement this interface to provide a custom setup program for installing and uninstalling this role.
Microsoft provides an implementation of this interface in the CMSCEPSetup class. For installation, you must call InitializeDefaults before accessing any properties or calling any other methods on the CMSCEPSetup object.
In C++, you create an instance of this interface by calling the CoCreateInstance function with the CLSID_CMSCEPSetup class identifier.
Members
The IMSCEPSetup interface inherits from the IUnknown interface. IMSCEPSetup also has these types of members:
Methods
The IMSCEPSetup interface has these methods.
| Method | Description |
|---|---|
| GetKeyLengthList |
Gets the list of key lengths supported by the specified CSP. |
| GetMSCEPSetupProperty |
Gets a property value for an NDES configuration. |
| GetProviderNameList |
Gets the list of cryptographic service providers (CSPs) that provide asymmetric key signature and exchange algorithms on the computer. |
| InitializeDefaults |
Initializes a CMSCEPSetup object with default values to enable installation of an NDES role. |
| Install |
Installs an NDES role as configured in the CMSCEPSetup object. |
| IsMSCEPStoreEmpty |
This method always returns VARIANT_TRUE. It should not be used. |
| PostUnInstall |
This method is not implemented. It is reserved for future use. |
| PreUnInstall |
Removes registry and IIS settings for the NDES role. |
| SetAccountInformation |
Sets the user account information used by the IIS NDES extension to perform enrollment on behalf of network devices. |
| SetMSCEPSetupProperty |
Sets a property value for an NDES configuration. |
Properties
The IMSCEPSetup interface has these properties.
| Property | Access type | Description |
|---|---|---|
| Read-only |
Gets the ID for additional error information related to a failed NDES specification. Any method call on the parent object resets this property. | |
| Read-only |
Gets the string data for additional error information related to a failed NDES specification. Any method call on the parent object resets this property. |
Requirements
|
Minimum supported client | None supported [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2008 Datacenter, Windows Server 2008 Enterprise [desktop apps only] |
|
Header |
|
|
IDL |
|
|
DLL |
|
|
IID |
IID_IMSCEPSetup is defined as 4f7761bb-9f3b-4592-9ee0-9a73259c313e |
Send comments about this topic to Microsoft
Build date: 10/26/2012