28 lines
752 B
C#
28 lines
752 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls
|
|
{
|
|
// Token: 0x02001586 RID: 5510
|
|
[Token(Token = "0x2001586")]
|
|
[StructLayout(3)]
|
|
public interface TlsCipher
|
|
{
|
|
// Token: 0x0600924F RID: 37455
|
|
[Token(Token = "0x600924F")]
|
|
[Address(Slot = "0")]
|
|
int GetPlaintextLimit(int ciphertextLimit);
|
|
|
|
// Token: 0x06009250 RID: 37456
|
|
[Token(Token = "0x6009250")]
|
|
[Address(Slot = "1")]
|
|
byte[] EncodePlaintext(long seqNo, byte type, byte[] plaintext, int offset, int len);
|
|
|
|
// Token: 0x06009251 RID: 37457
|
|
[Token(Token = "0x6009251")]
|
|
[Address(Slot = "2")]
|
|
byte[] DecodeCiphertext(long seqNo, byte type, byte[] ciphertext, int offset, int len);
|
|
}
|
|
}
|