using System; using System.Security.Cryptography.X509Certificates; using Cpp2IlInjected; namespace System.Net { /// Validates a server certificate. // Token: 0x02000225 RID: 549 [Token(Token = "0x2000225")] 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: 0x06000DD7 RID: 3543 [Token(Token = "0x6000DD7")] [Address(Slot = "0")] bool CheckValidationResult(ServicePoint srvPoint, X509Certificate certificate, WebRequest request, int certificateProblem); } }