acceptFilePKCS7WStr Method
Collapse the table of content
Expand the table of content

IEnroll4::acceptFilePKCS7WStr method

[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

wszPKCS7FileName [in]

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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

End of client support

Windows XP

End of server support

Windows Server 2003

Header

Xenroll.h

Library

Uuid.lib

DLL

Xenroll.dll

IID

IID_IEnroll4 is defined as f8053fe5-78f4-448f-a0db-41d61b73446b

See also

IEnroll4

 

 

Community Additions

ADD
Show:
© 2016 Microsoft