IX509CertificateRequestPkcs10::put_Subject method (certenroll.h)

The Subject property specifies or retrieves the X.500 distinguished name of the entity requesting the certificate. This property is web enabled for both input and output.

This property is read/write.

Syntax

HRESULT put_Subject(
  IX500DistinguishedName *pValue
);

Parameters

pValue

Return value

None

Remarks

You must set this property before calling the Encode method, and you must initialize the IX509CertificateRequestPkcs10 object before calling this property. For more information, see any of the following methods:

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

IX509CertificateRequestPkcs10