3.1.1.4 Message Processing Events and Sequencing Rules

The Windows Client Certificate Enrollment Protocol is based on DCOM [MS-DCOM]. DCOM provides the capability to obtain the version of an interface. Clients SHOULD use the IRemIUnknown.RemQueryInterface method to determine if the server supports the ICertRequestD2 interface version. If the server supports the ICertRequestD2 interface, clients SHOULD use that interface. <21>If the server does not support ICertRequestD2 interface, clients MUST use the ICertRequestD interface.

The following sections define the processing rules for each of the methods in ICertRequestD (section 3.2.1.4.2) and ICertRequestD2 (section 3.2.1.4.3). For all methods of this protocol, a returned value of 0 indicates a successful invocation. Unless specified otherwise, any returned non-zero value indicates an error and the client SHOULD NOT rely on any specific value for its processing rules.