ICEnroll2::addCertTypeToRequest method (xenroll.h)

[This method is no longer available for use as of Windows Server 2008 and Windows Vista.]

The addCertTypeToRequest method adds a certificate template to a request (used to support the enterprise certification authority (CA)). This method was first defined by the ICEnroll2 interface.

The addCertTypeToRequest method is an advanced topic that is associated with the Microsoft Certificate Services enterprise Policy Module. Its use is not recommended for most applications.

The phrase 'certificate type' is synonymous with 'certificate template'.

method

Syntax

HRESULT addCertTypeToRequest(
  [in] BSTR CertType
);

Parameters

[in] CertType

The certificate template fully qualified name which is being added to the certificate request. This value is interpreted by the certification authority.

Return value

VB

The return value is an HRESULT, with S_OK returned if the call is successful.

Remarks

This method can be called multiple times if more than one certificate template is desired for the request.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header xenroll.h
Library Uuid.lib
DLL Xenroll.dll