Using the Microsoft Certificate Enrollment Control API

The CEC is a single object with many properties and several methods that can be used to determine how the CEC processes the user information, the type of certificate to be requested, how the keys are to be generated, where the certificate is to be stored, and so forth. There are two primary uses of the CEC: to create a certificate request (PKCS #10), and to receive the returned certificate and store it in a certificate store. For details and syntax for setting CEC properties and using CEC methods, see Certificate Enrollment Control API Overview