a
This commit is contained in:
@@ -0,0 +1,117 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Security.Cryptography
|
||||
{
|
||||
/// <summary>Represents the abstract class from which all implementations of keyed hash algorithms must derive.</summary>
|
||||
// Token: 0x020003F2 RID: 1010
|
||||
[Token(Token = "0x20003F2")]
|
||||
[ComVisible(true)]
|
||||
public abstract class KeyedHashAlgorithm : HashAlgorithm
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.KeyedHashAlgorithm" /> class.</summary>
|
||||
// Token: 0x060021E5 RID: 8677 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021E5")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected KeyedHashAlgorithm()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.Security.Cryptography.KeyedHashAlgorithm" /> and optionally releases the managed resources.</summary>
|
||||
/// <param name="disposing">
|
||||
/// <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
|
||||
// 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)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the key to use in the hash algorithm.</summary>
|
||||
/// <returns>The key to use in the hash algorithm.</returns>
|
||||
/// <exception cref="T:System.Security.Cryptography.CryptographicException">An attempt was made to change the <see cref="P:System.Security.Cryptography.KeyedHashAlgorithm.Key" /> property after hashing has begun.</exception>
|
||||
// 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
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Creates an instance of the default implementation of a keyed hash algorithm.</summary>
|
||||
/// <returns>A new <see cref="T:System.Security.Cryptography.HMACSHA1" /> instance, unless the default settings have been changed.</returns>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Creates an instance of the specified implementation of a keyed hash algorithm.</summary>
|
||||
/// <param name="algName">The keyed hash algorithm implementation to use. The following table shows the valid values for the <paramref name="algName" /> parameter and the algorithms they map to.
|
||||
/// Parameter value
|
||||
///
|
||||
/// Implements
|
||||
///
|
||||
/// System.Security.Cryptography.HMAC
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.HMACSHA1" /> System.Security.Cryptography.KeyedHashAlgorithm
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.HMACSHA1" /> HMACMD5
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.HMACMD5" /> System.Security.Cryptography.HMACMD5
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.HMACMD5" /> HMACRIPEMD160
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.HMACRIPEMD160" /> System.Security.Cryptography.HMACRIPEMD160
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.HMACRIPEMD160" /> HMACSHA1
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.HMACSHA1" /> System.Security.Cryptography.HMACSHA1
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.HMACSHA1" /> HMACSHA256
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.HMACSHA256" /> System.Security.Cryptography.HMACSHA256
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.HMACSHA256" /> HMACSHA384
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.HMACSHA384" /> System.Security.Cryptography.HMACSHA384
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.HMACSHA384" /> HMACSHA512
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.HMACSHA512" /> System.Security.Cryptography.HMACSHA512
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.HMACSHA512" /> MACTripleDES
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.MACTripleDES" /> System.Security.Cryptography.MACTripleDES
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.MACTripleDES" /></param>
|
||||
/// <returns>A new instance of the specified keyed hash algorithm.</returns>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>The key to use in the hash algorithm.</summary>
|
||||
// Token: 0x04001363 RID: 4963
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4001363")]
|
||||
protected byte[] KeyValue;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user