This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
using System;
using System.Security.Cryptography.X509Certificates;
namespace System.Net
{
/// <summary>Validates a server certificate.</summary>
// Token: 0x0200023C RID: 572
public interface ICertificatePolicy
{
/// <summary>Validates a server certificate.</summary>
/// <returns>true if the certificate should be honored; otherwise, false.</returns>
/// <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>
// Token: 0x0600146B RID: 5227
bool CheckValidationResult(ServicePoint srvPoint, X509Certificate certificate, WebRequest request, int certificateProblem);
}
}