using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Security.Cryptography { /// Defines the basic operations of cryptographic transformations. // Token: 0x020003F1 RID: 1009 [Token(Token = "0x20003F1")] [ComVisible(true)] public interface ICryptoTransform : IDisposable { /// Gets the input block size. /// The size of the input data blocks in bytes. // Token: 0x170004A4 RID: 1188 // (get) Token: 0x060021DF RID: 8671 [Token(Token = "0x170004A4")] int InputBlockSize { [Token(Token = "0x60021DF")] [Address(Slot = "0")] get; } /// Gets the output block size. /// The size of the output data blocks in bytes. // Token: 0x170004A5 RID: 1189 // (get) Token: 0x060021E0 RID: 8672 [Token(Token = "0x170004A5")] int OutputBlockSize { [Token(Token = "0x60021E0")] [Address(Slot = "1")] get; } /// Gets a value indicating whether multiple blocks can be transformed. /// /// if multiple blocks can be transformed; otherwise, . // Token: 0x170004A6 RID: 1190 // (get) Token: 0x060021E1 RID: 8673 [Token(Token = "0x170004A6")] bool CanTransformMultipleBlocks { [Token(Token = "0x60021E1")] [Address(Slot = "2")] get; } /// Gets a value indicating whether the current transform can be reused. /// /// if the current transform can be reused; otherwise, . // Token: 0x170004A7 RID: 1191 // (get) Token: 0x060021E2 RID: 8674 [Token(Token = "0x170004A7")] bool CanReuseTransform { [Token(Token = "0x60021E2")] [Address(Slot = "3")] get; } /// Transforms the specified region of the input byte array and copies the resulting transform to the specified region of the output byte array. /// The input for which to compute the transform. /// The offset into the input byte array from which to begin using data. /// The number of bytes in the input byte array to use as data. /// The output to which to write the transform. /// The offset into the output byte array from which to begin writing data. /// The number of bytes written. // Token: 0x060021E3 RID: 8675 [Token(Token = "0x60021E3")] [Address(Slot = "4")] int TransformBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset); /// Transforms the specified region of the specified byte array. /// The input for which to compute the transform. /// The offset into the byte array from which to begin using data. /// The number of bytes in the byte array to use as data. /// The computed transform. // Token: 0x060021E4 RID: 8676 [Token(Token = "0x60021E4")] [Address(Slot = "5")] byte[] TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount); } }