Files
27Aug2021-Cpp2IL-Dump/System/Mono/Net/Security/ChainValidationHelper.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

139 lines
4.9 KiB
C#

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 = "0x9270E0", Offset = "0x9260E0", VA = "0x1809270E0")]
internal static ICertificateValidator GetInternalValidator(MonoTlsProvider provider, MonoTlsSettings settings)
{
return null;
}
// Token: 0x06000155 RID: 341 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000155")]
[Address(RVA = "0x926FF0", Offset = "0x925FF0", VA = "0x180926FF0")]
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 = "0x927980", Offset = "0x926980", VA = "0x180927980")]
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 = "0x9270A0", Offset = "0x9260A0", VA = "0x1809270A0")]
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 = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "5")]
get
{
return null;
}
}
// Token: 0x06000159 RID: 345 RVA: 0x000024F0 File Offset: 0x000006F0
[Token(Token = "0x6000159")]
[Address(RVA = "0x927180", Offset = "0x926180", VA = "0x180927180", 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 = "0x9271D0", Offset = "0x9261D0", VA = "0x1809271D0", 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 = "0x9272F0", Offset = "0x9262F0", VA = "0x1809272F0", 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 = "0x9273E0", Offset = "0x9263E0", VA = "0x1809273E0")]
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 = "0x9274B0", Offset = "0x9264B0", VA = "0x1809274B0")]
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;
}
}