Gets the client SSL certificate synchronously.
HRESULT GetClientCertificate( [in] LPCWSTR pszURL, [out] BYTE **ppbData, [out] DWORD *pcbData );
- pszURL [in]
Pointer to a string that contains the URL for which a client-side SSL certificate is required. Media Foundation can resolve the scheme and send the request to the server.
- ppbData [out]
Pointer to the buffer that stores the certificate. This caller must free the buffer by calling CoTaskMemFree.
- pcbData [out]
Pointer to a DWORD variable that receives the number of bytes required to hold the certificate data in the buffer pointed by *ppbData.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Minimum supported client
|Windows 7 [desktop apps only]|
Minimum supported server
|Windows Server 2008 R2 [desktop apps only]|