Files
Apr2020-Cpp2Il-Dump/System/Net/Security/LocalCertificateSelectionCallback.cs
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

19 lines
1.2 KiB
C#

using System;
using System.Security.Cryptography.X509Certificates;
using Cpp2IlInjected;
namespace System.Net.Security
{
/// <summary>Selects the local Secure Sockets Layer (SSL) certificate used for authentication.</summary>
/// <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>
/// <returns>An <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> used for establishing an SSL connection.</returns>
// Token: 0x020002F6 RID: 758
// (Invoke) Token: 0x06001436 RID: 5174
[Token(Token = "0x20002F6")]
public delegate X509Certificate LocalCertificateSelectionCallback(object sender, string targetHost, X509CertificateCollection localCertificates, X509Certificate remoteCertificate, string[] acceptableIssuers);
}