ICEnroll4::InstallPKCS7 Method

[This method is available for use in the operating systems specified in the Requirements section.]

The InstallPKCS7 method processes a certificate or chain of certificates, placing them into the appropriate certificate stores. This method differs from the acceptPKCS7 method in that InstallPKCS7 does not receive a request certificate. This method was first defined in the ICEnroll3 interface.

Syntax


C++
HRESULT InstallPKCS7(
  [in]  BSTR PKCS7
);

Parameters

PKCS7 [in]

A string that contains a certificate or chain of certificates.

Return Value

If the method succeeds, the method returns S_OK.

If the method fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.


VBScript

Sub InstallPKCS7( _
  ByVal PKCS7 _
)

Parameters

PKCS7 [in]

A string that contains a certificate or chain of certificates.

Return Value

This method does not return a value.

Remarks

When this method is called from script, the method displays a user interface that asks whether the user will allow installation of a certificate.

Requirements

Minimum supported clientWindows XP
Minimum supported serverWindows Server 2003
HeaderXenroll.h
LibraryUuid.lib
DLLXenroll.dll
IIDIID_ICEnroll4 is defined as c1f1188a-2eb5-4a80-841b-7e729a356d90

See Also

ICEnroll4
ICEnroll3
CEnroll
ICEnroll::acceptPKCS7

Send comments about this topic to Microsoft

Build date: 11/16/2009

Tags :


Page view tracker