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: 0x02000406 RID: 1030 [Token(Token = "0x2000406")] [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: 0x17000514 RID: 1300 // (get) Token: 0x060023C8 RID: 9160 RVA: 0x00016E00 File Offset: 0x00015000 // (set) Token: 0x060023C9 RID: 9161 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000514")] protected int BlockSizeValue { [Token(Token = "0x60023C8")] [Address(RVA = "0x4257C0", Offset = "0x4247C0", VA = "0x1804257C0")] get { return 0; } [Token(Token = "0x60023C9")] [Address(RVA = "0x4258B0", Offset = "0x4248B0", VA = "0x1804258B0")] set { } } // Token: 0x060023CA RID: 9162 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60023CA")] [Address(RVA = "0xC0B340", Offset = "0xC0A340", VA = "0x180C0B340")] private void UpdateIOPadBuffers() { } // Token: 0x060023CB RID: 9163 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60023CB")] [Address(RVA = "0xC0B220", Offset = "0xC0A220", VA = "0x180C0B220")] 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: 0x17000515 RID: 1301 // (get) Token: 0x060023CC RID: 9164 RVA: 0x00002082 File Offset: 0x00000282 // (set) Token: 0x060023CD RID: 9165 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000515")] public override byte[] Key { [Token(Token = "0x60023CC")] [Address(RVA = "0xC0B4E0", Offset = "0xC0A4E0", VA = "0x180C0B4E0", Slot = "21")] get { return null; } [Token(Token = "0x60023CD")] [Address(RVA = "0xC0B600", Offset = "0xC0A600", VA = "0x180C0B600", 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: 0x17000516 RID: 1302 // (get) Token: 0x060023CE RID: 9166 RVA: 0x00002082 File Offset: 0x00000282 // (set) Token: 0x060023CF RID: 9167 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000516")] public string HashName { [Token(Token = "0x60023CE")] [Address(RVA = "0x41CEF0", Offset = "0x41BEF0", VA = "0x18041CEF0")] get { return null; } [Token(Token = "0x60023CF")] [Address(RVA = "0xC0B560", Offset = "0xC0A560", VA = "0x180C0B560")] 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: 0x060023D0 RID: 9168 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60023D0")] [Address(RVA = "0xC0AE60", Offset = "0xC09E60", VA = "0x180C0AE60")] 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: 0x060023D1 RID: 9169 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60023D1")] [Address(RVA = "0xC0ADD0", Offset = "0xC09DD0", VA = "0x180C0ADD0")] public new static HMAC Create(string algorithmName) { return null; } /// Initializes an instance of the default implementation of . // Token: 0x060023D2 RID: 9170 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60023D2")] [Address(RVA = "0xC0B2F0", Offset = "0xC0A2F0", VA = "0x180C0B2F0", 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: 0x060023D3 RID: 9171 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60023D3")] [Address(RVA = "0xC0AFF0", Offset = "0xC09FF0", VA = "0x180C0AFF0", 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: 0x060023D4 RID: 9172 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60023D4")] [Address(RVA = "0xC0B0A0", Offset = "0xC0A0A0", VA = "0x180C0B0A0", 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: 0x060023D5 RID: 9173 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60023D5")] [Address(RVA = "0xC0AEB0", Offset = "0xC09EB0", VA = "0x180C0AEB0", Slot = "17")] protected override void Dispose(bool disposing) { } // Token: 0x060023D6 RID: 9174 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60023D6")] [Address(RVA = "0xC0AF90", Offset = "0xC09F90", VA = "0x180C0AF90")] internal static HashAlgorithm GetHashAlgorithmWithFipsFallback(Func createStandardHashAlgorithmCallback, Func createFipsHashAlgorithmCallback) { return null; } /// Initializes a new instance of the class. // Token: 0x060023D7 RID: 9175 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60023D7")] [Address(RVA = "0xC0B4D0", Offset = "0xC0A4D0", VA = "0x180C0B4D0")] protected HMAC() { } // Token: 0x0400141D RID: 5149 [global::Cpp2IlInjected.FieldOffset(Offset = "0x30")] [Token(Token = "0x400141D")] private int blockSizeValue; // Token: 0x0400141E RID: 5150 [global::Cpp2IlInjected.FieldOffset(Offset = "0x38")] [Token(Token = "0x400141E")] internal string m_hashName; // Token: 0x0400141F RID: 5151 [global::Cpp2IlInjected.FieldOffset(Offset = "0x40")] [Token(Token = "0x400141F")] internal HashAlgorithm m_hash1; // Token: 0x04001420 RID: 5152 [global::Cpp2IlInjected.FieldOffset(Offset = "0x48")] [Token(Token = "0x4001420")] internal HashAlgorithm m_hash2; // Token: 0x04001421 RID: 5153 [global::Cpp2IlInjected.FieldOffset(Offset = "0x50")] [Token(Token = "0x4001421")] private byte[] m_inner; // Token: 0x04001422 RID: 5154 [global::Cpp2IlInjected.FieldOffset(Offset = "0x58")] [Token(Token = "0x4001422")] private byte[] m_outer; // Token: 0x04001423 RID: 5155 [global::Cpp2IlInjected.FieldOffset(Offset = "0x60")] [Token(Token = "0x4001423")] private bool m_hashing; } }