26 lines
695 B
C#
26 lines
695 B
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls
|
|
{
|
|
// Token: 0x02001B63 RID: 7011
|
|
[Token(Token = "0x2001B63")]
|
|
public interface TlsCipher
|
|
{
|
|
// Token: 0x0600AE29 RID: 44585
|
|
[Token(Token = "0x600AE29")]
|
|
[Address(Slot = "0")]
|
|
int GetPlaintextLimit(int ciphertextLimit);
|
|
|
|
// Token: 0x0600AE2A RID: 44586
|
|
[Token(Token = "0x600AE2A")]
|
|
[Address(Slot = "1")]
|
|
byte[] EncodePlaintext(long seqNo, byte type, byte[] plaintext, int offset, int len);
|
|
|
|
// Token: 0x0600AE2B RID: 44587
|
|
[Token(Token = "0x600AE2B")]
|
|
[Address(Slot = "2")]
|
|
byte[] DecodeCiphertext(long seqNo, byte type, byte[] ciphertext, int offset, int len);
|
|
}
|
|
}
|