28 throw new global::Cpp2IlInjected.AnalysisFailedException(
"CPP2IL failed to recover any usable IL for this method.");
74 while (stream ==
null)
118 return x509Certificate;
150 if (monoTlsStream !=
null)
158 monoTlsStream.<CertificateValidationFailed>k__BackingField = num != 0;
164 private ValidationResult ValidateChain(
string host,
bool server,
X509Certificate leaf, global::System.Security.Cryptography.X509Certificates.X509Chain chain, global::System.Security.Cryptography.X509Certificates.X509CertificateCollection certs, global::System.Net.Security.SslPolicyErrors
errors)
184 private ValidationResult ValidateChain(
string host,
bool server,
X509Certificate leaf, global::System.Security.Cryptography.X509Certificates.X509Chain chain, global::System.Security.Cryptography.X509Certificates.X509CertificateCollection certs, global::System.Net.Security.SslPolicyErrors
errors)
187 if (monoTlsStream !=
null)
189 this.
request.ServicePoint.UpdateServerCertificate(leaf);
193 bool flag =
string.IsNullOrEmpty(host);
195 int num2 = host.IndexOf((
char)num);
198 if (monoTlsStream ==
null)
223 if (certs !=
null ||
leaf !=
null)
240 if (this.
owner !=
null)
class f__AnonymousType0<< Count > j__TPar
ChainValidationHelper(global::System.Net.Security.SslStream owner, MobileTlsProvider provider, MonoTlsSettings settings, bool cloneSettings, MonoTlsStream stream)
readonly global::System.Net.Security.LocalCertSelectionCallback certSelectionCallback
readonly MonoTlsSettings settings
readonly WeakReference< global::System.Net.Security.SslStream > owner
readonly global::System.Net.HttpWebRequest request
static ChainValidationHelper Create(MobileTlsProvider provider, MonoTlsSettings settings, MonoTlsStream stream)
readonly global::System.Net.ServerCertValidationCallback certValidationCallback
static ChainValidationHelper GetInternalValidator(global::System.Net.Security.SslStream owner, MobileTlsProvider provider, MonoTlsSettings settings)
bool InvokeCallback(X509Certificate leaf, global::System.Security.Cryptography.X509Certificates.X509Chain chain, global::System.Net.Security.SslPolicyErrors errors)
bool SelectClientCertificate(string targetHost, global::System.Security.Cryptography.X509Certificates.X509CertificateCollection localCertificates, X509Certificate remoteCertificate, string[] acceptableIssuers, [Out] X509Certificate clientCertificate)
readonly MonoTlsStream tlsStream
readonly MobileTlsProvider provider
static X509Certificate DefaultSelectionCallback(string targetHost, global::System.Security.Cryptography.X509Certificates.X509CertificateCollection localCertificates, X509Certificate remoteCertificate, string[] acceptableIssuers)
ValidationResult ValidateChain(string host, bool server, X509Certificate leaf, global::System.Security.Cryptography.X509Certificates.X509Chain chain, global::System.Security.Cryptography.X509Certificates.X509CertificateCollection certs, global::System.Net.Security.SslPolicyErrors errors)
ValidationResult ValidateCertificate(string host, bool serverMode, X509Certificate leaf, global::System.Security.Cryptography.X509Certificates.X509Chain chain)
static global::System.Net.ServerCertValidationCallback GetValidationCallback(MonoTlsSettings settings)
static MobileTlsProvider GetProviderInternal()
readonly global::System.Net.HttpWebRequest request
static global::System.Net.Security.LocalCertSelectionCallback MonoToInternal(MonoLocalCertificateSelectionCallback callback)
MonoTlsSettings CloneWithValidator(ICertificateValidator validator)
static MonoTlsSettings CopyDefaultSettings()