IX509CertificateRequestPkcs10::get_PrivateKey method (certenroll.h)
The PrivateKey property retrieves an IX509PrivateKey object that contains the private key used to sign the certificate request. This property is web enabled.
This property is read-only.
Syntax
HRESULT get_PrivateKey(
IX509PrivateKey **ppValue
);
Parameters
ppValue
Return value
None
Remarks
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 |