Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/Security/Cryptography/HashAlgorithmName.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

186 lines
8.0 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// <summary>Specifies the name of a cryptographic hash algorithm.</summary>
// Token: 0x020003E4 RID: 996
[Token(Token = "0x20003E4")]
public struct HashAlgorithmName : IEquatable<HashAlgorithmName>
{
/// <summary>Gets a hash algorithm name that represents "MD5".</summary>
/// <returns>A hash algorithm name that represents "MD5".</returns>
// Token: 0x170004E1 RID: 1249
// (get) Token: 0x060022DA RID: 8922 RVA: 0x000167B8 File Offset: 0x000149B8
[Token(Token = "0x170004E1")]
public static HashAlgorithmName MD5
{
[Token(Token = "0x60022DA")]
[Address(RVA = "0xC0B7A0", Offset = "0xC0A7A0", VA = "0x180C0B7A0")]
get
{
return default(HashAlgorithmName);
}
}
/// <summary>Gets a hash algorithm name that represents "SHA1".</summary>
/// <returns>A hash algorithm name that represents "SHA1".</returns>
// Token: 0x170004E2 RID: 1250
// (get) Token: 0x060022DB RID: 8923 RVA: 0x000167D0 File Offset: 0x000149D0
[Token(Token = "0x170004E2")]
public static HashAlgorithmName SHA1
{
[Token(Token = "0x60022DB")]
[Address(RVA = "0xC0B7D0", Offset = "0xC0A7D0", VA = "0x180C0B7D0")]
get
{
return default(HashAlgorithmName);
}
}
/// <summary>Gets a hash algorithm name that represents "SHA256".</summary>
/// <returns>A hash algorithm name that represents "SHA256".</returns>
// Token: 0x170004E3 RID: 1251
// (get) Token: 0x060022DC RID: 8924 RVA: 0x000167E8 File Offset: 0x000149E8
[Token(Token = "0x170004E3")]
public static HashAlgorithmName SHA256
{
[Token(Token = "0x60022DC")]
[Address(RVA = "0xC0B800", Offset = "0xC0A800", VA = "0x180C0B800")]
get
{
return default(HashAlgorithmName);
}
}
/// <summary>Gets a hash algorithm name that represents "SHA384".</summary>
/// <returns>A hash algorithm name that represents "SHA384".</returns>
// Token: 0x170004E4 RID: 1252
// (get) Token: 0x060022DD RID: 8925 RVA: 0x00016800 File Offset: 0x00014A00
[Token(Token = "0x170004E4")]
public static HashAlgorithmName SHA384
{
[Token(Token = "0x60022DD")]
[Address(RVA = "0xC0B830", Offset = "0xC0A830", VA = "0x180C0B830")]
get
{
return default(HashAlgorithmName);
}
}
/// <summary>Gets a hash algorithm name that represents "SHA512".</summary>
/// <returns>A hash algorithm name that represents "SHA512".</returns>
// Token: 0x170004E5 RID: 1253
// (get) Token: 0x060022DE RID: 8926 RVA: 0x00016818 File Offset: 0x00014A18
[Token(Token = "0x170004E5")]
public static HashAlgorithmName SHA512
{
[Token(Token = "0x60022DE")]
[Address(RVA = "0xC0B860", Offset = "0xC0A860", VA = "0x180C0B860")]
get
{
return default(HashAlgorithmName);
}
}
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.HashAlgorithmName" /> structure with a custom name.</summary>
/// <param name="name">The custom hash algorithm name.</param>
// Token: 0x060022DF RID: 8927 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60022DF")]
[Address(RVA = "0x593200", Offset = "0x592200", VA = "0x180593200")]
public HashAlgorithmName(string name)
{
}
/// <summary>Gets the underlying string representation of the algorithm name.</summary>
/// <returns>The string representation of the algorithm name, or <see langword="null" /> or <see cref="F:System.String.Empty" /> if no hash algorithm is available.</returns>
// Token: 0x170004E6 RID: 1254
// (get) Token: 0x060022E0 RID: 8928 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170004E6")]
public string Name
{
[Token(Token = "0x60022E0")]
[Address(RVA = "0x63E630", Offset = "0x63D630", VA = "0x18063E630")]
get
{
return null;
}
}
/// <summary>Returns the string representation of the current <see cref="T:System.Security.Cryptography.HashAlgorithmName" /> instance.</summary>
/// <returns>The string representation of the current <see cref="T:System.Security.Cryptography.HashAlgorithmName" /> instance.</returns>
// Token: 0x060022E1 RID: 8929 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60022E1")]
[Address(RVA = "0xC0B750", Offset = "0xC0A750", VA = "0x180C0B750", Slot = "3")]
public override string ToString()
{
return null;
}
/// <summary>Returns a value that indicates whether the current instance and a specified object are equal.</summary>
/// <param name="obj">The object to compare with the current instance.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="obj" /> is a <see cref="T:System.Security.Cryptography.HashAlgorithmName" /> object and its <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> property is equal to that of the current instance. The comparison is ordinal and case-sensitive.</returns>
// Token: 0x060022E2 RID: 8930 RVA: 0x00016830 File Offset: 0x00014A30
[Token(Token = "0x60022E2")]
[Address(RVA = "0xC0B6A0", Offset = "0xC0A6A0", VA = "0x180C0B6A0", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// <summary>Returns a value that indicates whether two <see cref="T:System.Security.Cryptography.HashAlgorithmName" /> instances are equal.</summary>
/// <param name="other">The object to compare with the current instance.</param>
/// <returns>
/// <see langword="true" /> if the <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> property of <paramref name="other" /> is equal to that of the current instance. The comparison is ordinal and case-sensitive.</returns>
// Token: 0x060022E3 RID: 8931 RVA: 0x00016848 File Offset: 0x00014A48
[Token(Token = "0x60022E3")]
[Address(RVA = "0xC0B690", Offset = "0xC0A690", VA = "0x180C0B690", Slot = "4")]
public bool Equals(HashAlgorithmName other)
{
return default(bool);
}
/// <summary>Returns the hash code for the current instance.</summary>
/// <returns>The hash code for the current instance, or 0 if no <paramref name="name" /> value was supplied to the <see cref="T:System.Security.Cryptography.HashAlgorithmName" /> constructor.</returns>
// Token: 0x060022E4 RID: 8932 RVA: 0x00016860 File Offset: 0x00014A60
[Token(Token = "0x60022E4")]
[Address(RVA = "0xC0B730", Offset = "0xC0A730", VA = "0x180C0B730", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Determines whether two specified <see cref="T:System.Security.Cryptography.HashAlgorithmName" /> objects are equal.</summary>
/// <param name="left">The first object to compare.</param>
/// <param name="right">The second object to compare.</param>
/// <returns>
/// <see langword="true" /> if both <paramref name="left" /> and <paramref name="right" /> have the same <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> value; otherwise, <see langword="false" />.</returns>
// Token: 0x060022E5 RID: 8933 RVA: 0x00016878 File Offset: 0x00014A78
[Token(Token = "0x60022E5")]
[Address(RVA = "0xC0B890", Offset = "0xC0A890", VA = "0x180C0B890")]
public static bool operator ==(HashAlgorithmName left, HashAlgorithmName right)
{
return default(bool);
}
/// <summary>Determines whether two specified <see cref="T:System.Security.Cryptography.HashAlgorithmName" /> objects are not equal.</summary>
/// <param name="left">The first object to compare.</param>
/// <param name="right">The second object to compare.</param>
/// <returns>
/// <see langword="true" /> if both <paramref name="left" /> and <paramref name="right" /> do not have the same <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> value; otherwise, <see langword="false" />.</returns>
// Token: 0x060022E6 RID: 8934 RVA: 0x00016890 File Offset: 0x00014A90
[Token(Token = "0x60022E6")]
[Address(RVA = "0xC0B8A0", Offset = "0xC0A8A0", VA = "0x180C0B8A0")]
public static bool operator !=(HashAlgorithmName left, HashAlgorithmName right)
{
return default(bool);
}
// Token: 0x040013A1 RID: 5025
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40013A1")]
private readonly string _name;
}
}