using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Security.Cryptography { /// Computes a Hash-based Message Authentication Code (HMAC) using the hash function. // Token: 0x0200040B RID: 1035 [Token(Token = "0x200040B")] [ComVisible(true)] public class HMACSHA384 : HMAC { /// Initializes a new instance of the class by using a randomly generated key. // Token: 0x060023E1 RID: 9185 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60023E1")] [Address(RVA = "0xC0AA20", Offset = "0xC09A20", VA = "0x180C0AA20")] public HMACSHA384() { } /// Initializes a new instance of the class by using the specified key data. /// The secret key for encryption. The key can be any length. However, the recommended size is 128 bytes. If the key is more than 128 bytes long, it is hashed (using SHA-384) to derive a 128-byte key. If it is less than 128 bytes long, it is padded to 128 bytes. /// The parameter is . // Token: 0x060023E2 RID: 9186 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60023E2")] [Address(RVA = "0xC0A930", Offset = "0xC09930", VA = "0x180C0A930")] public HMACSHA384(byte[] key) { } // Token: 0x17000517 RID: 1303 // (get) Token: 0x060023E3 RID: 9187 RVA: 0x00016E18 File Offset: 0x00015018 [Token(Token = "0x17000517")] private int BlockSize { [Token(Token = "0x60023E3")] [Address(RVA = "0xC0AB60", Offset = "0xC09B60", VA = "0x180C0AB60")] get { return 0; } } /// Provides a workaround for the .NET Framework 2.0 implementation of the algorithm, which is inconsistent with the .NET Framework 2.0 Service Pack 1 implementation of the algorithm. /// /// to enable .NET Framework 2.0 Service Pack 1 applications to interact with .NET Framework 2.0 applications; otherwise, . // Token: 0x17000518 RID: 1304 // (get) Token: 0x060023E4 RID: 9188 RVA: 0x00016E30 File Offset: 0x00015030 // (set) Token: 0x060023E5 RID: 9189 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000518")] public bool ProduceLegacyHmacValues { [Token(Token = "0x60023E4")] [Address(RVA = "0x4B4FC0", Offset = "0x4B3FC0", VA = "0x1804B4FC0")] get { return default(bool); } [Token(Token = "0x60023E5")] [Address(RVA = "0xC0AB80", Offset = "0xC09B80", VA = "0x180C0AB80")] set { } } // Token: 0x04001424 RID: 5156 [global::Cpp2IlInjected.FieldOffset(Offset = "0x68")] [Token(Token = "0x4001424")] private bool m_useLegacyBlockSize; } }