Files
Dec2017-Script-Dump/System/Net/Security/LocalCertificateSelectionCallback.cs
2026-06-04 11:42:34 +02:00

17 lines
1.2 KiB
C#

using System;
using System.Security.Cryptography.X509Certificates;
namespace System.Net.Security
{
/// <summary>Selects the local Secure Sockets Layer (SSL) certificate used for authentication.</summary>
/// <returns>An <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> used for establishing an SSL connection.</returns>
/// <param name="sender">An object that contains state information for this validation.</param>
/// <param name="targetHost">The host server specified by the client.</param>
/// <param name="localCertificates">An <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> containing local certificates.</param>
/// <param name="remoteCertificate">The certificate used to authenticate the remote party.</param>
/// <param name="acceptableIssuers">A <see cref="T:System.String" /> array of certificate issuers acceptable to the remote party.</param>
// Token: 0x02000331 RID: 817
// (Invoke) Token: 0x06001C9D RID: 7325
public delegate X509Certificate LocalCertificateSelectionCallback(object sender, string targetHost, global::System.Security.Cryptography.X509Certificates.X509CertificateCollection localCertificates, X509Certificate remoteCertificate, string[] acceptableIssuers);
}