53 lines
1.3 KiB
C#
53 lines
1.3 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls
|
|
{
|
|
// Token: 0x020015A6 RID: 5542
|
|
[Token(Token = "0x20015A6")]
|
|
[StructLayout(3)]
|
|
public interface TlsPeer
|
|
{
|
|
// Token: 0x06009364 RID: 37732
|
|
[Token(Token = "0x6009364")]
|
|
[Address(Slot = "0")]
|
|
bool RequiresExtendedMasterSecret();
|
|
|
|
// Token: 0x06009365 RID: 37733
|
|
[Token(Token = "0x6009365")]
|
|
[Address(Slot = "1")]
|
|
bool ShouldUseGmtUnixTime();
|
|
|
|
// Token: 0x06009366 RID: 37734
|
|
[Token(Token = "0x6009366")]
|
|
[Address(Slot = "2")]
|
|
void NotifySecureRenegotiation(bool secureRenegotiation);
|
|
|
|
// Token: 0x06009367 RID: 37735
|
|
[Token(Token = "0x6009367")]
|
|
[Address(Slot = "3")]
|
|
TlsCompression GetCompression();
|
|
|
|
// Token: 0x06009368 RID: 37736
|
|
[Token(Token = "0x6009368")]
|
|
[Address(Slot = "4")]
|
|
TlsCipher GetCipher();
|
|
|
|
// Token: 0x06009369 RID: 37737
|
|
[Token(Token = "0x6009369")]
|
|
[Address(Slot = "5")]
|
|
void NotifyAlertRaised(byte alertLevel, byte alertDescription, string message, Exception cause);
|
|
|
|
// Token: 0x0600936A RID: 37738
|
|
[Token(Token = "0x600936A")]
|
|
[Address(Slot = "6")]
|
|
void NotifyAlertReceived(byte alertLevel, byte alertDescription);
|
|
|
|
// Token: 0x0600936B RID: 37739
|
|
[Token(Token = "0x600936B")]
|
|
[Address(Slot = "7")]
|
|
void NotifyHandshakeComplete();
|
|
}
|
|
}
|