Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets a client certificate to be used to authenticate against the URL specified in the Open method.
Syntax
HRESULT SetClientCertificate(
  [in] DWORD       cbClientCertificateHash,
  [in] const BYTE  *pbClientCertificateHash,
  [in] const WCHAR *pwszPin
);
Parameters
[in] cbClientCertificateHash
The number of bytes of pbClientCertHash parameter.
[in] pbClientCertificateHash
The thumbprint or hash completed over the complete client certificate being set on the HTTPS request.
[in] pwszPin
This parameter is reserved.
Return value
Returns S_OK on success.
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows 8.1 [desktop apps | UWP apps] | 
| Minimum supported server | Windows Server 2012 R2 [desktop apps | UWP apps] | 
| Target Platform | Windows | 
| Header | msxml6.h |