ICEnroll4::put_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 put_PrivateKeyArchiveCertificate(
  BSTR bstrCert
);

Parameters

bstrCert

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