Writing Custom Extension Handlers

To create custom extensions or to encode a complex extension, you can write your own extension handlers that export custom interfaces. Microsoft Certificate Services ships with the following interfaces which can be used to encode various types of extension data: ICertEncodeAltName, ICertEncodeBitString, ICertEncodeCRLDistInfo, ICertEncodeDateArray, ICertEncodeLongArray, and ICertEncodeStringArray. These interfaces are contained in Certenc.dll. Additionally, the type information for these interfaces is contained in Certencl.dll, which is contained in the Platform Software Development Kit (SDK).

For more information about extension handlers, see Extension Handlers.