ICEnroll4::get_PrivateKeyArchiveCertificate method (xenroll.h)

[This property is no longer available for use as of Windows Server 2008 and Windows Vista.]

The PrivateKeyArchiveCertificate property sets or retrieves the certificate that is used to archive a private key with a PKCS #7 or Certificate Management over CMS (CMC) request.

If this property is not null, the private key is encrypted based on the specified certificate and added to the request as an unauthenticated attribute. This property was first defined in the ICEnroll4 interface.

This property is read/write.

Syntax

HRESULT get_PrivateKeyArchiveCertificate(
  BSTR *pbstrCert
);

Parameters

pbstrCert

Return value

None

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header xenroll.h
Library Uuid.lib
DLL Xenroll.dll