IX509CertificateRequestPkcs10::get_PublicKey method (certenroll.h)
The PublicKey property retrieves the IX509PublicKey object that contains the public key included in the certificate request.
This property is read-only.
Syntax
HRESULT get_PublicKey(
IX509PublicKey **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
| 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 |