Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the client certificate.
Syntax
HRESULT GetClientCertificate(
[in, out] PCCERT_CONTEXT *ppCertContext
);
Parameters
[in, out] ppCertContext
A pointer to a CERT_CONTEXT structure that contains the client SSL certificate. Upon completion, the caller should free this memory by calling CertFreeCertificateContext.
Return value
Possible return values include, but are not limited to, the following.
| Return code | Description |
|---|---|
|
Method succeeded. |
|
A certificate is not available. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 7 [desktop apps only] |
| Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
| Target Platform | Windows |
| Header | wsdbase.h (include Wsdapi.h) |
| DLL | Wsdapi.dll |