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: 0x0200040E RID: 1038
[Token(Token = "0x200040E")]
[ComVisible(true)]
public abstract class KeyedHashAlgorithm : HashAlgorithm
{
/// Initializes a new instance of the class.
// Token: 0x060023F1 RID: 9201 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60023F1")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
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: 0x060023F2 RID: 9202 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60023F2")]
[Address(RVA = "0xC0C6C0", Offset = "0xC0B6C0", VA = "0x180C0C6C0", 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: 0x1700051F RID: 1311
// (get) Token: 0x060023F3 RID: 9203 RVA: 0x00002082 File Offset: 0x00000282
// (set) Token: 0x060023F4 RID: 9204 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700051F")]
public virtual byte[] Key
{
[Token(Token = "0x60023F3")]
[Address(RVA = "0xC0C720", Offset = "0xC0B720", VA = "0x180C0C720", Slot = "21")]
get
{
return null;
}
[Token(Token = "0x60023F4")]
[Address(RVA = "0xC0C7A0", Offset = "0xC0B7A0", VA = "0x180C0C7A0", 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: 0x060023F5 RID: 9205 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60023F5")]
[Address(RVA = "0xC0C5E0", Offset = "0xC0B5E0", VA = "0x180C0C5E0")]
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: 0x060023F6 RID: 9206 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60023F6")]
[Address(RVA = "0xC0C630", Offset = "0xC0B630", VA = "0x180C0C630")]
public new static KeyedHashAlgorithm Create(string algName)
{
return null;
}
/// The key to use in the hash algorithm.
// Token: 0x04001426 RID: 5158
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4001426")]
protected byte[] KeyValue;
}
}