Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ICertManageModule interface

The ICertManageModule interface is provided to retrieve information about a Certificate Services Policy or Exit module.

Members

The ICertManageModule interface inherits from the IDispatch interface. ICertManageModule also has these types of members:

Methods

The ICertManageModule interface has these methods.

MethodDescription
Configure

Invokes module configuration user interface.

GetProperty

Retrieves the value of a property in the module.

SetProperty

Assigns a value to a property in the module.

 

Remarks

The ICertManageModule interface provides a method to invoke the module user interface for setting and viewing configuration settings. Writers of Policy and Exit modules should implement the ICertManageModule interface (in addition to the ICertPolicy and ICertExit interfaces, respectively). An enterprise certification authority (CA) should always use the Microsoft-provided enterprise policy and exit modules; additional exit modules are permitted for enterprise CAs.

The following is an example of what could be used in the DECLARE_REGISTRY macro of a class (CMyCertManagePolicyModule) which implements ICertManageModule.


DECLARE_REGISTRY(
    CMyCertManagePolicyModule,
    L"MyCode.PolicyManage.1",
    L"MyCode.PolicyManage",
    IDS_CERTMANAGEPOLICYMODULE_DESC,
    THREADFLAGS_BOTH);

The IDS_CERTMANAGEPOLICYMODULE_DESC value is an application-specific identifier that identifies a string table string in the resource file (.rc) which describes the class.

ICertManageModule is defined in Certmod.h. When you create your program, however, use Certsrv.h as the include file.

Certificate Services interfaces support both apartment-threading and free-threading models. For better throughput, free threading is recommended.

In Visual Basic Scripting Edition, the name of the class that implements ICertManageModule must be either "PolicyManage" or "PolicyExit", depending on the type of module being created. The following string constants defined in Certmod.h may be used to simplify following the naming convention.

ConstantValue

wszCERTMANAGEEXIT_POSTFIX

TEXT(".ExitManage")

wszCERTMANAGEPOLICY_POSTFIX

TEXT(".PolicyManage")

 

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Certmod.h (include Certsrv.h)

Library

Certidl.lib

IID

IID_ICertManageModule is defined as e7d7ad42-bd3d-11d1-9a4d-00c04fc297eb

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.