IEnroll4::SetPrivateKeyArchiveCertificate method (xenroll.h)

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

The SetPrivateKeyArchiveCertificate method specifies the certificate used to archive the private key. This method was first defined in the IEnroll4 interface.

Syntax

HRESULT SetPrivateKeyArchiveCertificate(
  [in] PCCERT_CONTEXT pPrivateKeyArchiveCert
);

Parameters

[in] pPrivateKeyArchiveCert

A pointer to a CERT_CONTEXT structure that specifies the certificate used to archive the private key.

Return value

The return value is an HRESULT. A value of S_OK indicates success.

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

See also

IEnroll4