IMSCEPSetup interface (casetup.h)

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.

Inheritance

The IMSCEPSetup interface inherits from the IUnknown interface. IMSCEPSetup also has these types of members:

Methods

The IMSCEPSetup interface has these methods.

 
IMSCEPSetup::get_MSCEPErrorId

Gets the ID for additional error information related to a failed Network Device Enrollment Service (NDES) specification. Any method call on the parent object resets this property.
IMSCEPSetup::get_MSCEPErrorString

Contains the string data for additional error information related to a failed Network Device Enrollment Service (NDES) specification. Any method call on the parent object resets this property.
IMSCEPSetup::GetKeyLengthList

Gets the list of key lengths supported by the specified cryptographic service provider (CSP). (IMSCEPSetup.GetKeyLengthList)
IMSCEPSetup::GetMSCEPSetupProperty

Gets a property value for a Network Device Enrollment Service (NDES) configuration.
IMSCEPSetup::GetProviderNameList

Gets the list of cryptographic service providers (CSPs) that provide asymmetric key signature and exchange algorithms on the computer.
IMSCEPSetup::InitializeDefaults

Initializes a CMSCEPSetup object with default values to enable installation of a Network Device Enrollment Service (NDES) role.
IMSCEPSetup::Install

Installs a Network Device Enrollment Service (NDES) role as configured in a CMSCEPSetup object.
IMSCEPSetup::IsMSCEPStoreEmpty

Always returns VARIANT_TRUE. It should not be used.
IMSCEPSetup::PostUnInstall

Is not implemented. It is reserved for future use.
IMSCEPSetup::PreUnInstall

Removes registry and IIS settings for the Network Device Enrollment Service (NDES) role.
IMSCEPSetup::SetAccountInformation

Sets the user account information used by the IIS Network Device Enrollment Service (NDES) extension to perform enrollment on behalf of network devices.
IMSCEPSetup::SetMSCEPSetupProperty

Sets a property value for a Network Device Enrollment Service (NDES) configuration.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 Datacenter, Windows Server 2008 Enterprise [desktop apps only]
Target Platform Windows
Header casetup.h