ICertPropertyKeyProvInfo::get_PrivateKey method (certenroll.h)

The PrivateKey property retrieves the private key associated with the certificate.

This property is read-only.

Syntax

HRESULT get_PrivateKey(
  IX509PrivateKey **ppValue
);

Parameters

ppValue

Return value

None

Remarks

Call the Initialize method to create a description.

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

See also

ICertProperty

ICertPropertyKeyProvInfo