Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

72 lines
3.0 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// <summary>Computes a Hash-based Message Authentication Code (HMAC) using the <see cref="T:System.Security.Cryptography.SHA384" /> hash function.</summary>
// Token: 0x0200040B RID: 1035
[Token(Token = "0x200040B")]
[ComVisible(true)]
public class HMACSHA384 : HMAC
{
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.HMACSHA384" /> class by using a randomly generated key.</summary>
// Token: 0x060023E1 RID: 9185 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60023E1")]
[Address(RVA = "0xC0AA20", Offset = "0xC09A20", VA = "0x180C0AA20")]
public HMACSHA384()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.HMACSHA384" /> class by using the specified key data.</summary>
/// <param name="key">The secret key for <see cref="T:System.Security.Cryptography.HMACSHA384" /> 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.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="key" /> parameter is <see langword="null" />.</exception>
// 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;
}
}
/// <summary>Provides a workaround for the .NET Framework 2.0 implementation of the <see cref="T:System.Security.Cryptography.HMACSHA384" /> algorithm, which is inconsistent with the .NET Framework 2.0 Service Pack 1 implementation of the algorithm.</summary>
/// <returns>
/// <see langword="true" /> to enable .NET Framework 2.0 Service Pack 1 applications to interact with .NET Framework 2.0 applications; otherwise, <see langword="false" />.</returns>
// 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;
}
}