IXMLHTTPRequest3::SetClientCertificate method
Sets a client certificate to be used to authenticate against the URL specified in the Open method.
Syntax
HRESULT SetClientCertificate(
[in] DWORD cbClientCertificateHash,
[in, size_is(cbClientCertificateHash), unique] const BYTE *pbClientCertificateHash,
[in, unique] const WCHAR *pwszPin
);
Parameters
-
cbClientCertificateHash [in]
-
The number of bytes of pbClientCertHash parameter.
-
pbClientCertificateHash [in]
-
The thumbprint or hash completed over the complete client certificate being set on the HTTPS request.
-
pwszPin [in]
-
This parameter is reserved.
Return value
Returns S_OK on success.
Requirements
Minimum supported client |
Windows 8.1 [desktop apps | UWP apps] |
Minimum supported server |
Windows Server 2012 R2 [desktop apps | UWP apps] |
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
IDL |
|