32 lines
1.1 KiB
C#
32 lines
1.1 KiB
C#
using System;
|
|
using System.IO;
|
|
using System.Net.Security;
|
|
using System.Security.Authentication;
|
|
using System.Security.Cryptography.X509Certificates;
|
|
using Cpp2IlInjected;
|
|
using Mono.Net.Security;
|
|
using Mono.Security.Interface;
|
|
|
|
namespace Mono.Unity
|
|
{
|
|
// Token: 0x0200003D RID: 61
|
|
[Token(Token = "0x200003D")]
|
|
internal class UnityTlsStream : MobileAuthenticatedStream
|
|
{
|
|
// Token: 0x060000C4 RID: 196 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60000C4")]
|
|
[Address(RVA = "0x4A96A0", Offset = "0x4A84A0", VA = "0x1804A96A0")]
|
|
public UnityTlsStream(Stream innerStream, bool leaveInnerStreamOpen, SslStream owner, MonoTlsSettings settings, MonoTlsProvider provider)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060000C5 RID: 197 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60000C5")]
|
|
[Address(RVA = "0x4A95E0", Offset = "0x4A83E0", VA = "0x1804A95E0", Slot = "52")]
|
|
protected override MobileTlsContext CreateContext(bool serverMode, string targetHost, SslProtocols enabledProtocols, X509Certificate serverCertificate, X509CertificateCollection clientCertificates, bool askForClientCert)
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
}
|