using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Security.Cryptography { /// Represents the abstract class from which all implementations of keyed hash algorithms must derive. // Token: 0x020003F2 RID: 1010 [Token(Token = "0x20003F2")] [ComVisible(true)] public abstract class KeyedHashAlgorithm : HashAlgorithm { /// Initializes a new instance of the class. // Token: 0x060021E5 RID: 8677 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60021E5")] [Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")] protected KeyedHashAlgorithm() { } /// Releases the unmanaged resources used by the and optionally releases the managed resources. /// /// to release both managed and unmanaged resources; to release only unmanaged resources. // Token: 0x060021E6 RID: 8678 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60021E6")] [Address(RVA = "0x2DAAA00", Offset = "0x2DA9800", VA = "0x182DAAA00", Slot = "17")] protected override void Dispose(bool disposing) { } /// Gets or sets the key to use in the hash algorithm. /// The key to use in the hash algorithm. /// An attempt was made to change the property after hashing has begun. // Token: 0x170004A8 RID: 1192 // (get) Token: 0x060021E7 RID: 8679 RVA: 0x00002082 File Offset: 0x00000282 // (set) Token: 0x060021E8 RID: 8680 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170004A8")] public virtual byte[] Key { [Token(Token = "0x60021E7")] [Address(RVA = "0x2DAAA60", Offset = "0x2DA9860", VA = "0x182DAAA60", Slot = "21")] get { return null; } [Token(Token = "0x60021E8")] [Address(RVA = "0x2DAAAE0", Offset = "0x2DA98E0", VA = "0x182DAAAE0", Slot = "22")] set { } } /// Creates an instance of the default implementation of a keyed hash algorithm. /// A new instance, unless the default settings have been changed. // Token: 0x060021E9 RID: 8681 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60021E9")] [Address(RVA = "0x2DAA920", Offset = "0x2DA9720", VA = "0x182DAA920")] public new static KeyedHashAlgorithm Create() { return null; } /// Creates an instance of the specified implementation of a keyed hash algorithm. /// The keyed hash algorithm 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 keyed hash algorithm. // Token: 0x060021EA RID: 8682 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60021EA")] [Address(RVA = "0x2DAA970", Offset = "0x2DA9770", VA = "0x182DAA970")] public new static KeyedHashAlgorithm Create(string algName) { return null; } /// The key to use in the hash algorithm. // Token: 0x04001363 RID: 4963 [global::Cpp2IlInjected.FieldOffset(Offset = "0x28")] [Token(Token = "0x4001363")] protected byte[] KeyValue; } }