Files
27Aug2021-Cpp2IL-Dump/System/Net/Security/LocalCertificateSelectionCallback.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +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: 0x020002F2 RID: 754
// (Invoke) Token: 0x06001420 RID: 5152
[Token(Token = "0x20002F2")]
public delegate X509Certificate LocalCertificateSelectionCallback(object sender, string targetHost, X509CertificateCollection localCertificates, X509Certificate remoteCertificate, string[] acceptableIssuers);
}