26 lines
695 B
C#
26 lines
695 B
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls
|
|
{
|
|
// Token: 0x02001C43 RID: 7235
|
|
[Token(Token = "0x2001C43")]
|
|
public interface TlsCipher
|
|
{
|
|
// Token: 0x0600B1F7 RID: 45559
|
|
[Token(Token = "0x600B1F7")]
|
|
[Address(Slot = "0")]
|
|
int GetPlaintextLimit(int ciphertextLimit);
|
|
|
|
// Token: 0x0600B1F8 RID: 45560
|
|
[Token(Token = "0x600B1F8")]
|
|
[Address(Slot = "1")]
|
|
byte[] EncodePlaintext(long seqNo, byte type, byte[] plaintext, int offset, int len);
|
|
|
|
// Token: 0x0600B1F9 RID: 45561
|
|
[Token(Token = "0x600B1F9")]
|
|
[Address(Slot = "2")]
|
|
byte[] DecodeCiphertext(long seqNo, byte type, byte[] ciphertext, int offset, int len);
|
|
}
|
|
}
|