Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/Security/Cryptography/RSASignaturePadding.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +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: 0x020003E7 RID: 999
[Token(Token = "0x20003E7")]
public sealed class RSASignaturePadding : IEquatable<RSASignaturePadding>
{
// Token: 0x060022F9 RID: 8953 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60022F9")]
[Address(RVA = "0x44F040", Offset = "0x44E040", VA = "0x18044F040")]
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: 0x170004EE RID: 1262
// (get) Token: 0x060022FA RID: 8954 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170004EE")]
public static RSASignaturePadding Pkcs1
{
[Token(Token = "0x60022FA")]
[Address(RVA = "0x1026A90", Offset = "0x1025A90", VA = "0x181026A90")]
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: 0x170004EF RID: 1263
// (get) Token: 0x060022FB RID: 8955 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170004EF")]
public static RSASignaturePadding Pss
{
[Token(Token = "0x60022FB")]
[Address(RVA = "0x1026B50", Offset = "0x1025B50", VA = "0x181026B50")]
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: 0x170004F0 RID: 1264
// (get) Token: 0x060022FC RID: 8956 RVA: 0x00016968 File Offset: 0x00014B68
[Token(Token = "0x170004F0")]
public RSASignaturePaddingMode Mode
{
[Token(Token = "0x60022FC")]
[Address(RVA = "0x40F000", Offset = "0x40E000", VA = "0x18040F000")]
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: 0x060022FD RID: 8957 RVA: 0x00016980 File Offset: 0x00014B80
[Token(Token = "0x60022FD")]
[Address(RVA = "0x1026930", Offset = "0x1025930", VA = "0x181026930", 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: 0x060022FE RID: 8958 RVA: 0x00016998 File Offset: 0x00014B98
[Token(Token = "0x60022FE")]
[Address(RVA = "0x10268D0", Offset = "0x10258D0", VA = "0x1810268D0", 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: 0x060022FF RID: 8959 RVA: 0x000169B0 File Offset: 0x00014BB0
[Token(Token = "0x60022FF")]
[Address(RVA = "0x1026810", Offset = "0x1025810", VA = "0x181026810", 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: 0x06002300 RID: 8960 RVA: 0x000169C8 File Offset: 0x00014BC8
[Token(Token = "0x6002300")]
[Address(RVA = "0x1026BB0", Offset = "0x1025BB0", VA = "0x181026BB0")]
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: 0x06002301 RID: 8961 RVA: 0x000169E0 File Offset: 0x00014BE0
[Token(Token = "0x6002301")]
[Address(RVA = "0x1026BD0", Offset = "0x1025BD0", VA = "0x181026BD0")]
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: 0x06002302 RID: 8962 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002302")]
[Address(RVA = "0x1026950", Offset = "0x1025950", VA = "0x181026950", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x06002304 RID: 8964 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002304")]
[Address(RVA = "0x1026A60", Offset = "0x1025A60", VA = "0x181026A60")]
internal RSASignaturePadding()
{
}
// Token: 0x040013AC RID: 5036
[Token(Token = "0x40013AC")]
private static readonly RSASignaturePadding s_pkcs1;
// Token: 0x040013AD RID: 5037
[Token(Token = "0x40013AD")]
private static readonly RSASignaturePadding s_pss;
// Token: 0x040013AE RID: 5038
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40013AE")]
private readonly RSASignaturePaddingMode _mode;
}
}