using System; using System.Security.Cryptography.X509Certificates; namespace System.Net { /// Validates a server certificate. // Token: 0x0200023C RID: 572 public interface ICertificatePolicy { /// Validates a server certificate. /// true if the certificate should be honored; otherwise, false. /// 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. // Token: 0x0600146B RID: 5227 bool CheckValidationResult(ServicePoint srvPoint, X509Certificate certificate, WebRequest request, int certificateProblem); } }