IEnroll::acceptFilePKCS7WStr method (xenroll.h)

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

The acceptFilePKCS7WStr method accepts and processes a PKCS #7 message containing a certificate, then stores the message to a file. This method was first defined in the IEnroll interface.

Syntax

HRESULT acceptFilePKCS7WStr(
  [in] LPCWSTR wszPKCS7FileName
);

Parameters

[in] wszPKCS7FileName

Specifies the name of the file containing the PKCS #7.

Return value

The return value is an HRESULT. A value of S_OK indicates success. Upon successful completion of this function, the PKCS #7 in the file will be accepted.

Remarks

By default, the MY, CA, ROOT, and REQUEST system stores are used to store the certificates. However, you can specify other stores by assigning the following properties before calling this method:

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

IEnroll