using System; using System.Net; using System.Net.Security; using System.Security.Cryptography.X509Certificates; using Cpp2IlInjected; using Mono.Security.Interface; namespace Mono.Net.Security { // Token: 0x0200005C RID: 92 [Token(Token = "0x200005C")] internal class ChainValidationHelper : ICertificateValidator2, ICertificateValidator { // Token: 0x06000154 RID: 340 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000154")] [Address(RVA = "0x44BE50", Offset = "0x44AC50", VA = "0x18044BE50")] internal static ICertificateValidator GetInternalValidator(MonoTlsProvider provider, MonoTlsSettings settings) { return null; } // Token: 0x06000155 RID: 341 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000155")] [Address(RVA = "0x44BD60", Offset = "0x44AB60", VA = "0x18044BD60")] internal static ChainValidationHelper Create(MonoTlsProvider provider, ref MonoTlsSettings settings, MonoTlsStream stream) { return null; } // Token: 0x06000156 RID: 342 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000156")] [Address(RVA = "0x44C6F0", Offset = "0x44B4F0", VA = "0x18044C6F0")] private ChainValidationHelper(MonoTlsProvider provider, MonoTlsSettings settings, bool cloneSettings, MonoTlsStream stream, ServerCertValidationCallbackWrapper callbackWrapper) { } // Token: 0x06000157 RID: 343 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000157")] [Address(RVA = "0x44BE10", Offset = "0x44AC10", VA = "0x18044BE10")] private static X509Certificate DefaultSelectionCallback(string targetHost, X509CertificateCollection localCertificates, X509Certificate remoteCertificate, string[] acceptableIssuers) { return null; } // Token: 0x17000024 RID: 36 // (get) Token: 0x06000158 RID: 344 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000024")] public MonoTlsSettings Settings { [Token(Token = "0x6000158")] [Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "5")] get { return null; } } // Token: 0x06000159 RID: 345 RVA: 0x000024F0 File Offset: 0x000006F0 [Token(Token = "0x6000159")] [Address(RVA = "0x44BEF0", Offset = "0x44ACF0", VA = "0x18044BEF0", Slot = "6")] public bool SelectClientCertificate(string targetHost, X509CertificateCollection localCertificates, X509Certificate remoteCertificate, string[] acceptableIssuers, out X509Certificate clientCertificate) { return default(bool); } // Token: 0x0600015A RID: 346 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600015A")] [Address(RVA = "0x44BF40", Offset = "0x44AD40", VA = "0x18044BF40", Slot = "7")] public ValidationResult ValidateCertificate(string host, bool serverMode, X509CertificateCollection certs) { return null; } // Token: 0x0600015B RID: 347 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600015B")] [Address(RVA = "0x44C060", Offset = "0x44AE60", VA = "0x18044C060", Slot = "4")] public ValidationResult ValidateCertificate(string host, bool serverMode, X509Certificate leaf, X509Chain chain) { return null; } // Token: 0x0600015C RID: 348 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600015C")] [Address(RVA = "0x44C150", Offset = "0x44AF50", VA = "0x18044C150")] private ValidationResult ValidateChain(string host, bool server, X509Certificate leaf, X509Chain chain, X509CertificateCollection certs, SslPolicyErrors errors) { return null; } // Token: 0x0600015D RID: 349 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600015D")] [Address(RVA = "0x44C220", Offset = "0x44B020", VA = "0x18044C220")] private ValidationResult ValidateChain(string host, bool server, X509Certificate leaf, ref X509Chain chain, X509CertificateCollection certs, SslPolicyErrors errors) { return null; } // Token: 0x040000C8 RID: 200 [FieldOffset(Offset = "0x10")] [Token(Token = "0x40000C8")] private readonly object sender; // Token: 0x040000C9 RID: 201 [FieldOffset(Offset = "0x18")] [Token(Token = "0x40000C9")] private readonly MonoTlsSettings settings; // Token: 0x040000CA RID: 202 [FieldOffset(Offset = "0x20")] [Token(Token = "0x40000CA")] private readonly MonoTlsProvider provider; // Token: 0x040000CB RID: 203 [FieldOffset(Offset = "0x28")] [Token(Token = "0x40000CB")] private readonly ServerCertValidationCallback certValidationCallback; // Token: 0x040000CC RID: 204 [FieldOffset(Offset = "0x30")] [Token(Token = "0x40000CC")] private readonly LocalCertSelectionCallback certSelectionCallback; // Token: 0x040000CD RID: 205 [FieldOffset(Offset = "0x38")] [Token(Token = "0x40000CD")] private readonly ServerCertValidationCallbackWrapper callbackWrapper; // Token: 0x040000CE RID: 206 [FieldOffset(Offset = "0x40")] [Token(Token = "0x40000CE")] private readonly MonoTlsStream tlsStream; // Token: 0x040000CF RID: 207 [FieldOffset(Offset = "0x48")] [Token(Token = "0x40000CF")] private readonly HttpWebRequest request; } }