Files
Aug2021-Cpp2IL-Dump/mscorlib/System/Security/Cryptography/RSASignaturePadding.cs
T
2026-04-10 22:50:51 +02:00

154 lines
6.6 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// <summary>Specifies the padding mode and parameters to use with RSA signature creation or verification operations.</summary>
// Token: 0x020003CB RID: 971
[Token(Token = "0x20003CB")]
public sealed class RSASignaturePadding : IEquatable<RSASignaturePadding>
{
// Token: 0x060020ED RID: 8429 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60020ED")]
[Address(RVA = "0x445B90", Offset = "0x444990", VA = "0x180445B90")]
private RSASignaturePadding(RSASignaturePaddingMode mode)
{
}
/// <summary>Gets an object that uses the PKCS #1 v1.5 padding mode.</summary>
/// <returns>An object that uses the <see cref="F:System.Security.Cryptography.RSASignaturePaddingMode.Pkcs1" /> padding mode.</returns>
// Token: 0x17000477 RID: 1143
// (get) Token: 0x060020EE RID: 8430 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000477")]
public static RSASignaturePadding Pkcs1
{
[Token(Token = "0x60020EE")]
[Address(RVA = "0x2DF38A0", Offset = "0x2DF26A0", VA = "0x182DF38A0")]
get
{
return null;
}
}
/// <summary>Gets an object that uses PSS padding mode.</summary>
/// <returns>An object that uses the <see cref="F:System.Security.Cryptography.RSASignaturePaddingMode.Pss" /> padding mode with the number of salt bytes equal to the size of the hash.</returns>
// Token: 0x17000478 RID: 1144
// (get) Token: 0x060020EF RID: 8431 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000478")]
public static RSASignaturePadding Pss
{
[Token(Token = "0x60020EF")]
[Address(RVA = "0x2DF3900", Offset = "0x2DF2700", VA = "0x182DF3900")]
get
{
return null;
}
}
/// <summary>Gets the padding mode of this <see cref="T:System.Security.Cryptography.RSASignaturePadding" /> instance.</summary>
/// <returns>The padding mode (either <see cref="F:System.Security.Cryptography.RSASignaturePaddingMode.Pkcs1" /> or <see cref="F:System.Security.Cryptography.RSASignaturePaddingMode.Pss" />) of this instance.</returns>
// Token: 0x17000479 RID: 1145
// (get) Token: 0x060020F0 RID: 8432 RVA: 0x00014598 File Offset: 0x00012798
[Token(Token = "0x17000479")]
public RSASignaturePaddingMode Mode
{
[Token(Token = "0x60020F0")]
[Address(RVA = "0x3FA560", Offset = "0x3F9360", VA = "0x1803FA560")]
get
{
return RSASignaturePaddingMode.Pkcs1;
}
}
/// <summary>Returns the hash code for this <see cref="T:System.Security.Cryptography.RSASignaturePadding" /> instance.</summary>
/// <returns>The hash code for this <see cref="T:System.Security.Cryptography.RSASignaturePadding" /> instance.</returns>
// Token: 0x060020F1 RID: 8433 RVA: 0x000145B0 File Offset: 0x000127B0
[Token(Token = "0x60020F1")]
[Address(RVA = "0x2DF3740", Offset = "0x2DF2540", VA = "0x182DF3740", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Returns a value that indicates whether this instance is equal to a specified object.</summary>
/// <param name="obj">The object to compare with the current instance.</param>
/// <returns>
/// <see langword="true" /> if the specified object is equal to the current object; otherwise, <see langword="false" />.</returns>
// Token: 0x060020F2 RID: 8434 RVA: 0x000145C8 File Offset: 0x000127C8
[Token(Token = "0x60020F2")]
[Address(RVA = "0x2DF36E0", Offset = "0x2DF24E0", VA = "0x182DF36E0", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// <summary>Returns a value that indicates whether this instance is equal to a specified <see cref="T:System.Security.Cryptography.RSASignaturePadding" /> object.</summary>
/// <param name="other">The object to compare with the current instance.</param>
/// <returns>
/// <see langword="true" /> if the specified object is equal to the current object; otherwise, <see langword="false" />.</returns>
// Token: 0x060020F3 RID: 8435 RVA: 0x000145E0 File Offset: 0x000127E0
[Token(Token = "0x60020F3")]
[Address(RVA = "0x2DF3620", Offset = "0x2DF2420", VA = "0x182DF3620", Slot = "4")]
public bool Equals(RSASignaturePadding other)
{
return default(bool);
}
/// <summary>Indicates whether two specified <see cref="T:System.Security.Cryptography.RSASignaturePadding" /> 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 <see langword="left" /> and <see langword="right" /> are equal; otherwise, <see langword="false" />.</returns>
// Token: 0x060020F4 RID: 8436 RVA: 0x000145F8 File Offset: 0x000127F8
[Token(Token = "0x60020F4")]
[Address(RVA = "0x2DF3960", Offset = "0x2DF2760", VA = "0x182DF3960")]
public static bool operator ==(RSASignaturePadding left, RSASignaturePadding right)
{
return default(bool);
}
/// <summary>Indicates whether two specified <see cref="T:System.Security.Cryptography.RSASignaturePadding" /> objects are unequal.</summary>
/// <param name="left">The first object to compare.</param>
/// <param name="right">The second object to compare.</param>
/// <returns>
/// <see langword="true" /> if <see langword="left" /> and <see langword="right" /> are unequal; otherwise, <see langword="false" />.</returns>
// Token: 0x060020F5 RID: 8437 RVA: 0x00014610 File Offset: 0x00012810
[Token(Token = "0x60020F5")]
[Address(RVA = "0x2DF3980", Offset = "0x2DF2780", VA = "0x182DF3980")]
public static bool operator !=(RSASignaturePadding left, RSASignaturePadding right)
{
return default(bool);
}
/// <summary>Returns the string representation of the current <see cref="T:System.Security.Cryptography.RSASignaturePadding" /> instance.</summary>
/// <returns>The string representation of the current object.</returns>
// Token: 0x060020F6 RID: 8438 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60020F6")]
[Address(RVA = "0x2DF3760", Offset = "0x2DF2560", VA = "0x182DF3760", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x060020F8 RID: 8440 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60020F8")]
[Address(RVA = "0x2DF3870", Offset = "0x2DF2670", VA = "0x182DF3870")]
internal RSASignaturePadding()
{
}
// Token: 0x040012E9 RID: 4841
[Token(Token = "0x40012E9")]
private static readonly RSASignaturePadding s_pkcs1;
// Token: 0x040012EA RID: 4842
[Token(Token = "0x40012EA")]
private static readonly RSASignaturePadding s_pss;
// Token: 0x040012EB RID: 4843
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40012EB")]
private readonly RSASignaturePaddingMode _mode;
}
}