m
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
using System.Security.Authentication;
|
||||
using Cpp2IlInjected;
|
||||
using Mono.Security.Interface;
|
||||
|
||||
namespace Mono.Unity
|
||||
{
|
||||
// Token: 0x0200003B RID: 59
|
||||
[Token(Token = "0x200003B")]
|
||||
internal static class UnityTlsConversions
|
||||
{
|
||||
// Token: 0x060000B4 RID: 180 RVA: 0x00002178 File Offset: 0x00000378
|
||||
[Token(Token = "0x60000B4")]
|
||||
[Address(RVA = "0xBA5190", Offset = "0xBA4190", VA = "0x180BA5190")]
|
||||
public static UnityTls.unitytls_protocol GetMinProtocol(SslProtocols protocols)
|
||||
{
|
||||
return UnityTls.unitytls_protocol.UNITYTLS_PROTOCOL_TLS_1_0;
|
||||
}
|
||||
|
||||
// Token: 0x060000B5 RID: 181 RVA: 0x00002190 File Offset: 0x00000390
|
||||
[Token(Token = "0x60000B5")]
|
||||
[Address(RVA = "0xBA5040", Offset = "0xBA4040", VA = "0x180BA5040")]
|
||||
public static UnityTls.unitytls_protocol GetMaxProtocol(SslProtocols protocols)
|
||||
{
|
||||
return UnityTls.unitytls_protocol.UNITYTLS_PROTOCOL_TLS_1_0;
|
||||
}
|
||||
|
||||
// Token: 0x060000B6 RID: 182 RVA: 0x000021A8 File Offset: 0x000003A8
|
||||
[Token(Token = "0x60000B6")]
|
||||
[Address(RVA = "0xBA5010", Offset = "0xBA4010", VA = "0x180BA5010")]
|
||||
public static TlsProtocols ConvertProtocolVersion(UnityTls.unitytls_protocol protocol)
|
||||
{
|
||||
return TlsProtocols.Zero;
|
||||
}
|
||||
|
||||
// Token: 0x060000B7 RID: 183 RVA: 0x000021C0 File Offset: 0x000003C0
|
||||
[Token(Token = "0x60000B7")]
|
||||
[Address(RVA = "0xBA52E0", Offset = "0xBA42E0", VA = "0x180BA52E0")]
|
||||
public static AlertDescription VerifyResultToAlertDescription(UnityTls.unitytls_x509verify_result verifyResult, AlertDescription defaultAlert = AlertDescription.InternalError)
|
||||
{
|
||||
return AlertDescription.CloseNotify;
|
||||
}
|
||||
|
||||
// Token: 0x060000B8 RID: 184 RVA: 0x000021D8 File Offset: 0x000003D8
|
||||
[Token(Token = "0x60000B8")]
|
||||
[Address(RVA = "0xBA57A0", Offset = "0xBA47A0", VA = "0x180BA57A0")]
|
||||
public static MonoSslPolicyErrors VerifyResultToPolicyErrror(UnityTls.unitytls_x509verify_result verifyResult)
|
||||
{
|
||||
return MonoSslPolicyErrors.None;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user