IX509CertificateRequestPkcs10::get_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 get_Subject(
IX500DistinguishedName **ppValue
);
Parameters
ppValue
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:
- InitializeDecode
- InitializeFromCertificate
- InitializeFromPrivateKey
- InitializeFromPublicKey
- InitializeFromTemplateName
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 |