Writing Custom Modules

You can write policy modules in the C, C++, or Visual Basic programming language. The required Microsoft compiler is available in Visual C++ version 5.0 or later or in Visual Basic version 5.0 or later. An enterprise certification authority (CA) should use only the Microsoft-provided enterprise policy module.

You must implement ICertPolicy when writing a custom policy module. Additionally, you must implement ICertManageModule when writing a custom policy module.

Policy modules can call methods from ICertServerPolicy to assist in the processing of a certificate request; ICertServerPolicy allows properties and certificate extensions to be set and retrieved.

For more information, see the following topics.

Setting Certificate Properties Setting the properties of a certificate
Writing Custom Exit Modules Writing custom exit modules
Writing Custom Extension Handlers Writing custom extension handlers