18 lines
1.0 KiB
C#
18 lines
1.0 KiB
C#
using System;
|
|
using System.Security.Cryptography.X509Certificates;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Net.Security
|
|
{
|
|
/// <summary>Verifies the remote Secure Sockets Layer (SSL) certificate used for authentication.</summary>
|
|
/// <param name="sender">An object that contains state information for this validation.</param>
|
|
/// <param name="certificate">The certificate used to authenticate the remote party.</param>
|
|
/// <param name="chain">The chain of certificate authorities associated with the remote certificate.</param>
|
|
/// <param name="sslPolicyErrors">One or more errors associated with the remote certificate.</param>
|
|
/// <returns>A <see cref="T:System.Boolean" /> value that determines whether the specified certificate is accepted for authentication.</returns>
|
|
// Token: 0x020002F3 RID: 755
|
|
// (Invoke) Token: 0x06001424 RID: 5156
|
|
[Token(Token = "0x20002F3")]
|
|
public delegate bool RemoteCertificateValidationCallback(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors);
|
|
}
|