Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

25 lines
1.0 KiB
C#

using System;
using System.Security.Cryptography.X509Certificates;
using Cpp2IlInjected;
namespace System.Net
{
/// <summary>Validates a server certificate.</summary>
// Token: 0x02000225 RID: 549
[Token(Token = "0x2000225")]
public interface ICertificatePolicy
{
/// <summary>Validates a server certificate.</summary>
/// <param name="srvPoint">The <see cref="T:System.Net.ServicePoint" /> that will use the certificate.</param>
/// <param name="certificate">The certificate to validate.</param>
/// <param name="request">The request that received the certificate.</param>
/// <param name="certificateProblem">The problem that was encountered when using the certificate.</param>
/// <returns>
/// <see langword="true" /> if the certificate should be honored; otherwise, <see langword="false" />.</returns>
// Token: 0x06000DD7 RID: 3543
[Token(Token = "0x6000DD7")]
[Address(Slot = "0")]
bool CheckValidationResult(ServicePoint srvPoint, X509Certificate certificate, WebRequest request, int certificateProblem);
}
}