using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Security.Cryptography { /// Represents the abstract class from which all implementations of Hash-based Message Authentication Code (HMAC) must derive. // Token: 0x020003EA RID: 1002 [Token(Token = "0x20003EA")] [ComVisible(true)] public abstract class HMAC : KeyedHashAlgorithm { /// Gets or sets the block size to use in the hash value. /// The block size to use in the hash value. // Token: 0x1700049D RID: 1181 // (get) Token: 0x060021BC RID: 8636 RVA: 0x00014A30 File Offset: 0x00012C30 // (set) Token: 0x060021BD RID: 8637 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x1700049D")] protected int BlockSizeValue { [Token(Token = "0x60021BC")] [Address(RVA = "0x4730E0", Offset = "0x471EE0", VA = "0x1804730E0")] get { return 0; } [Token(Token = "0x60021BD")] [Address(RVA = "0x6CBD90", Offset = "0x6CAB90", VA = "0x1806CBD90")] set { } } // Token: 0x060021BE RID: 8638 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60021BE")] [Address(RVA = "0x2DA9700", Offset = "0x2DA8500", VA = "0x182DA9700")] private void UpdateIOPadBuffers() { } // Token: 0x060021BF RID: 8639 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60021BF")] [Address(RVA = "0x2DA95E0", Offset = "0x2DA83E0", VA = "0x182DA95E0")] internal void InitializeKey(byte[] key) { } /// Gets or sets the key to use in the hash algorithm. /// The key to use in the hash algorithm. /// An attempt is made to change the property after hashing has begun. // Token: 0x1700049E RID: 1182 // (get) Token: 0x060021C0 RID: 8640 RVA: 0x00002082 File Offset: 0x00000282 // (set) Token: 0x060021C1 RID: 8641 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x1700049E")] public override byte[] Key { [Token(Token = "0x60021C0")] [Address(RVA = "0x2DA98A0", Offset = "0x2DA86A0", VA = "0x182DA98A0", Slot = "21")] get { return null; } [Token(Token = "0x60021C1")] [Address(RVA = "0x2DA99C0", Offset = "0x2DA87C0", VA = "0x182DA99C0", Slot = "22")] set { } } /// Gets or sets the name of the hash algorithm to use for hashing. /// The name of the hash algorithm. /// The current hash algorithm cannot be changed. // Token: 0x1700049F RID: 1183 // (get) Token: 0x060021C2 RID: 8642 RVA: 0x00002082 File Offset: 0x00000282 // (set) Token: 0x060021C3 RID: 8643 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x1700049F")] public string HashName { [Token(Token = "0x60021C2")] [Address(RVA = "0x3F63D0", Offset = "0x3F51D0", VA = "0x1803F63D0")] get { return null; } [Token(Token = "0x60021C3")] [Address(RVA = "0x2DA9920", Offset = "0x2DA8720", VA = "0x182DA9920")] set { } } /// Creates an instance of the default implementation of a Hash-based Message Authentication Code (HMAC). /// A new SHA-1 instance, unless the default settings have been changed by using the <cryptoClass> element. // Token: 0x060021C4 RID: 8644 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60021C4")] [Address(RVA = "0x2DA9180", Offset = "0x2DA7F80", VA = "0x182DA9180")] public new static HMAC Create() { return null; } /// Creates an instance of the specified implementation of a Hash-based Message Authentication Code (HMAC). /// The HMAC implementation to use. The following table shows the valid values for the parameter and the algorithms they map to. /// Parameter value /// /// Implements /// /// System.Security.Cryptography.HMAC /// /// System.Security.Cryptography.KeyedHashAlgorithm /// /// HMACMD5 /// /// System.Security.Cryptography.HMACMD5 /// /// HMACRIPEMD160 /// /// System.Security.Cryptography.HMACRIPEMD160 /// /// HMACSHA1 /// /// System.Security.Cryptography.HMACSHA1 /// /// HMACSHA256 /// /// System.Security.Cryptography.HMACSHA256 /// /// HMACSHA384 /// /// System.Security.Cryptography.HMACSHA384 /// /// HMACSHA512 /// /// System.Security.Cryptography.HMACSHA512 /// /// MACTripleDES /// /// System.Security.Cryptography.MACTripleDES /// /// /// A new instance of the specified HMAC implementation. // Token: 0x060021C5 RID: 8645 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60021C5")] [Address(RVA = "0x2DA90F0", Offset = "0x2DA7EF0", VA = "0x182DA90F0")] public new static HMAC Create(string algorithmName) { return null; } /// Initializes an instance of the default implementation of . // Token: 0x060021C6 RID: 8646 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60021C6")] [Address(RVA = "0x2DA96B0", Offset = "0x2DA84B0", VA = "0x182DA96B0", Slot = "18")] public override void Initialize() { } /// When overridden in a derived class, routes data written to the object into the default hash algorithm for computing the hash value. /// The input data. /// The offset into the byte array from which to begin using data. /// The number of bytes in the array to use as data. // Token: 0x060021C7 RID: 8647 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60021C7")] [Address(RVA = "0x2DA93B0", Offset = "0x2DA81B0", VA = "0x182DA93B0", Slot = "19")] protected override void HashCore(byte[] rgb, int ib, int cb) { } /// When overridden in a derived class, finalizes the hash computation after the last data is processed by the cryptographic stream object. /// The computed hash code in a byte array. // Token: 0x060021C8 RID: 8648 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60021C8")] [Address(RVA = "0x2DA9460", Offset = "0x2DA8260", VA = "0x182DA9460", Slot = "20")] protected override byte[] HashFinal() { return null; } /// Releases the unmanaged resources used by the class when a key change is legitimate and optionally releases the managed resources. /// /// to release both managed and unmanaged resources; to release only unmanaged resources. // Token: 0x060021C9 RID: 8649 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60021C9")] [Address(RVA = "0x2DA91D0", Offset = "0x2DA7FD0", VA = "0x182DA91D0", Slot = "17")] protected override void Dispose(bool disposing) { } // Token: 0x060021CA RID: 8650 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60021CA")] [Address(RVA = "0x2DA92B0", Offset = "0x2DA80B0", VA = "0x182DA92B0")] internal static HashAlgorithm GetHashAlgorithmWithFipsFallback(Func createStandardHashAlgorithmCallback, Func createFipsHashAlgorithmCallback) { return null; } /// Initializes a new instance of the class. // Token: 0x060021CB RID: 8651 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60021CB")] [Address(RVA = "0x2DA9890", Offset = "0x2DA8690", VA = "0x182DA9890")] protected HMAC() { } // Token: 0x0400135A RID: 4954 [global::Cpp2IlInjected.FieldOffset(Offset = "0x30")] [Token(Token = "0x400135A")] private int blockSizeValue; // Token: 0x0400135B RID: 4955 [global::Cpp2IlInjected.FieldOffset(Offset = "0x38")] [Token(Token = "0x400135B")] internal string m_hashName; // Token: 0x0400135C RID: 4956 [global::Cpp2IlInjected.FieldOffset(Offset = "0x40")] [Token(Token = "0x400135C")] internal HashAlgorithm m_hash1; // Token: 0x0400135D RID: 4957 [global::Cpp2IlInjected.FieldOffset(Offset = "0x48")] [Token(Token = "0x400135D")] internal HashAlgorithm m_hash2; // Token: 0x0400135E RID: 4958 [global::Cpp2IlInjected.FieldOffset(Offset = "0x50")] [Token(Token = "0x400135E")] private byte[] m_inner; // Token: 0x0400135F RID: 4959 [global::Cpp2IlInjected.FieldOffset(Offset = "0x58")] [Token(Token = "0x400135F")] private byte[] m_outer; // Token: 0x04001360 RID: 4960 [global::Cpp2IlInjected.FieldOffset(Offset = "0x60")] [Token(Token = "0x4001360")] private bool m_hashing; } }