using System; using System.Runtime.InteropServices; using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters { // Token: 0x0200163E RID: 5694 [Token(Token = "0x200163E")] [StructLayout(3)] public class TweakableBlockCipherParameters : ICipherParameters { // Token: 0x060097DA RID: 38874 RVA: 0x0021A530 File Offset: 0x00218730 [Token(Token = "0x60097DA")] [Address(RVA = "0x1DDFF90", Offset = "0x1DDE990", VA = "0x181DDFF90")] public TweakableBlockCipherParameters(KeyParameter key, byte[] tweak) { this.key = key; byte[] array = Arrays.Clone(tweak); this.tweak = array; } // Token: 0x17001865 RID: 6245 // (get) Token: 0x060097DB RID: 38875 RVA: 0x0021A558 File Offset: 0x00218758 [Token(Token = "0x17001865")] public KeyParameter Key { [Token(Token = "0x60097DB")] [Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")] get { return this.key; } } // Token: 0x17001866 RID: 6246 // (get) Token: 0x060097DC RID: 38876 RVA: 0x0021A56C File Offset: 0x0021876C [Token(Token = "0x17001866")] public byte[] Tweak { [Token(Token = "0x60097DC")] [Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")] get { return this.tweak; } } // Token: 0x040063ED RID: 25581 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x40063ED")] private readonly byte[] tweak; // Token: 0x040063EE RID: 25582 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x40063EE")] private readonly KeyParameter key; } }