using System;
using System.Security.Cryptography.X509Certificates;
using Cpp2IlInjected;
namespace System.Net
{
/// Validates a server certificate.
// Token: 0x02000229 RID: 553
[Token(Token = "0x2000229")]
public interface ICertificatePolicy
{
/// Validates a server certificate.
/// The that will use the certificate.
/// The certificate to validate.
/// The request that received the certificate.
/// The problem that was encountered when using the certificate.
///
/// if the certificate should be honored; otherwise, .
// Token: 0x06000DED RID: 3565
[Token(Token = "0x6000DED")]
[Address(Slot = "0")]
bool CheckValidationResult(ServicePoint srvPoint, X509Certificate certificate, WebRequest request, int certificateProblem);
}
}