IX509ExtensionTemplateName::get_TemplateName method (certenroll.h)

The TemplateName property retrieves the name of the template.

This property is read-only.

Syntax

HRESULT get_TemplateName(
  BSTR *pValue
);

Parameters

pValue

Return value

None

Remarks

You must call either InitializeEncode or InitializeDecode before you can use an IX509ExtensionTemplateName object. You can retrieve the following additional properties for this extension:

  • The Critical property identifies whether the extension is critical. You can also specify this property.
  • The ObjectId property retrieves the object identifier (OID).

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header certenroll.h
DLL CertEnroll.dll

See also

IX509ExtensionTemplateName