|
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
#pragma warning disable CS1591,CS1573,CS0465,CS0649,CS8019,CS1570,CS1584,CS1658,CS0436,CS8981
using global::System;
using global::System.Diagnostics;
using global::System.Diagnostics.CodeAnalysis;
using global::System.Runtime.CompilerServices;
using global::System.Runtime.InteropServices;
using global::System.Runtime.Versioning;
using winmdroot = global::Windows.Win32;
namespace Windows.Win32
{
namespace Networking.HttpServer
{
/// <summary>Contains data about a Secure Sockets Layer (SSL) client certificate that can be used to determine whether the certificate is valid.</summary>
/// <remarks>
/// <para>An <b>HTTP_SSL_CLIENT_CERT_INFO</b> structure is pointed to by the <b>pClientCertInfo</b> member of the <a href="https://docs.microsoft.com/windows/desktop/api/http/ns-http-http_ssl_info">HTTP_SSL_INFO</a> structure, and is used by the <a href="https://docs.microsoft.com/windows/desktop/api/http/nf-http-httpreceiveclientcertificate">HttpReceiveClientCertificate</a> function to return data about the client certificate through the <i>pSslClientCertInfo</i> parameter.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ns-http-http_ssl_client_cert_info#">Read more on docs.microsoft.com</see>.</para>
/// </remarks>
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.46-beta+dd815b2b9b")]
internal partial struct HTTP_SSL_CLIENT_CERT_INFO
{
/// <summary>
/// <para>Flags that indicate whether the certificate is valid. The possible values for this member are a <a href="https://docs.microsoft.com/windows/desktop/SecAuthN/sspi-status-codes">SSPI Status Code</a> returned from SSPI or one of the following flags from the <b>dwError</b> member of the <a href="https://docs.microsoft.com/windows/desktop/api/wincrypt/ns-wincrypt-cert_chain_policy_status">CERT_CHAIN_POLICY_STATUS</a> structure: <a id="CERT_E_EXPIRED"></a> <a id="cert_e_expired"></a></para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ns-http-http_ssl_client_cert_info#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal uint CertFlags;
/// <summary>The size, in bytes, of the certificate.</summary>
internal uint CertEncodedSize;
/// <summary>A pointer to the actual certificate.</summary>
internal unsafe byte* pCertEncoded;
/// <summary>
/// <para>A handle to an access token. If the HTTP_SERVICE_CONFIG_SSL_FLAG_USE_DS_MAPPER flag is set using the <a href="https://docs.microsoft.com/windows/desktop/api/http/nf-http-httpsetserviceconfiguration">HttpSetServiceConfiguration</a> function, and the client certificate was successfully mapped to an operating-system user account, then this member contains the handle to a valid <a href="https://docs.microsoft.com/windows/desktop/SecAuthZ/access-tokens">access token</a>. When the <b>HTTP_SSL_CLIENT_CERT_INFO</b> structure is no longer required, release this token explicitly by closing the handle.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ns-http-http_ssl_client_cert_info#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal winmdroot.Foundation.HANDLE Token;
/// <summary>Reserved.</summary>
internal winmdroot.Foundation.BOOLEAN CertDeniedByMapper;
}
}
}
|