ICEnroll3::InstallPKCS7 method (xenroll.h)
[This method is no longer available for use as of Windows Server 2008 and Windows Vista.]
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.
HRESULT InstallPKCS7( [in] BSTR PKCS7 );
A string that contains a certificate or chain of certificates.
VBIf 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.
When this method is called from script, the method displays a user interface that asks whether the user will allow installation of a certificate.
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|