IEnroll4::acceptFileResponseWStr method (xenroll.h)

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

The acceptFileResponseWStr method accepts delivery of the credentials issued in response to an earlier call to createFileRequestWStr, and it places the credentials in the appropriate store.

The response may be a PKCS #7 message or a Certificate Management over CMS (CMC) response. This method was first defined in the IEnroll4 interface.

Syntax

HRESULT acceptFileResponseWStr(
  [in] LPCWSTR pwszResponseFileName
);

Parameters

[in] pwszResponseFileName

A pointer to a null-terminated wide character string that represents the name of the file that contains the response.

Return value

None

Remarks

The response named in the pwszResponseFileName parameter must contain exactly one certificate; a child certificate cannot be present.

The response may be either a PKCS #7 or a full CMC response; however, to accept a full CMC response, the cryptographic service provider must support Abstract Syntax Notation One (ASN.1) encoding of CMC structures.

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