Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

251 lines
11 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// <summary>Specifies the padding mode and parameters to use with RSA encryption or decryption operations.</summary>
// Token: 0x020003C9 RID: 969
[Token(Token = "0x20003C9")]
public sealed class RSAEncryptionPadding : IEquatable<RSAEncryptionPadding>
{
/// <summary>Gets an object that represents the PKCS #1 encryption standard.</summary>
/// <returns>An object that represents the PKCS #1 encryption standard.</returns>
// Token: 0x17000470 RID: 1136
// (get) Token: 0x060020DB RID: 8411 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000470")]
public static RSAEncryptionPadding Pkcs1
{
[Token(Token = "0x60020DB")]
[Address(RVA = "0x2DF1430", Offset = "0x2DF0230", VA = "0x182DF1430")]
get
{
return null;
}
}
/// <summary>Gets an object that represents the Optimal Asymmetric Encryption Padding (OAEP) encryption standard with a SHA1 hash algorithm.</summary>
/// <returns>An object that represents the OAEP encryption standard with a SHA1 hash algorithm.</returns>
// Token: 0x17000471 RID: 1137
// (get) Token: 0x060020DC RID: 8412 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000471")]
public static RSAEncryptionPadding OaepSHA1
{
[Token(Token = "0x60020DC")]
[Address(RVA = "0x2DF12B0", Offset = "0x2DF00B0", VA = "0x182DF12B0")]
get
{
return null;
}
}
/// <summary>Gets an object that represents the Optimal Asymmetric Encryption Padding (OAEP) encryption standard with a SHA256 hash algorithm.</summary>
/// <returns>An object that represents the OAEP encryption standard with a SHA256 hash algorithm.</returns>
// Token: 0x17000472 RID: 1138
// (get) Token: 0x060020DD RID: 8413 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000472")]
public static RSAEncryptionPadding OaepSHA256
{
[Token(Token = "0x60020DD")]
[Address(RVA = "0x2DF1310", Offset = "0x2DF0110", VA = "0x182DF1310")]
get
{
return null;
}
}
/// <summary>Gets an object that represents the Optimal Asymmetric Encryption Padding (OAEP) encryption standard with a SHA-384 hash algorithm.</summary>
/// <returns>An object that represents the OAEP encryption standard with a SHA384 hash algorithm.</returns>
// Token: 0x17000473 RID: 1139
// (get) Token: 0x060020DE RID: 8414 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000473")]
public static RSAEncryptionPadding OaepSHA384
{
[Token(Token = "0x60020DE")]
[Address(RVA = "0x2DF1370", Offset = "0x2DF0170", VA = "0x182DF1370")]
get
{
return null;
}
}
/// <summary>Gets an object that represents the Optimal Asymmetric Encryption Padding (OAEP) encryption standard with a SHA512 hash algorithm.</summary>
/// <returns>An object that represents the OAEP encryption standard with a SHA512 hash algorithm.</returns>
// Token: 0x17000474 RID: 1140
// (get) Token: 0x060020DF RID: 8415 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000474")]
public static RSAEncryptionPadding OaepSHA512
{
[Token(Token = "0x60020DF")]
[Address(RVA = "0x2DF13D0", Offset = "0x2DF01D0", VA = "0x182DF13D0")]
get
{
return null;
}
}
// Token: 0x060020E0 RID: 8416 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60020E0")]
[Address(RVA = "0x2DF1240", Offset = "0x2DF0040", VA = "0x182DF1240")]
private RSAEncryptionPadding(RSAEncryptionPaddingMode mode, HashAlgorithmName oaepHashAlgorithm)
{
}
/// <summary>Creates a new <see cref="T:System.Security.Cryptography.RSAEncryptionPadding" /> instance whose <see cref="P:System.Security.Cryptography.RSAEncryptionPadding.Mode" /> is <see cref="F:System.Security.Cryptography.RSAEncryptionPaddingMode.Oaep" /> with the given hash algorithm.</summary>
/// <param name="hashAlgorithm">The hash algorithm.</param>
/// <returns>An object whose mode is <see cref="P:System.Security.Cryptography.RSAEncryptionPadding.Mode" /> is <see cref="F:System.Security.Cryptography.RSAEncryptionPaddingMode.Oaep" /> with the hash algorithm specified by <paramref name="hashAlgorithm" />.</returns>
/// <exception cref="T:System.ArgumentException">The <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> property of <paramref name="hashAlgorithm" /> is either <see langword="null" /> or <see cref="F:System.String.Empty" />.</exception>
// Token: 0x060020E1 RID: 8417 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60020E1")]
[Address(RVA = "0x2DF0E60", Offset = "0x2DEFC60", VA = "0x182DF0E60")]
public static RSAEncryptionPadding CreateOaep(HashAlgorithmName hashAlgorithm)
{
return null;
}
/// <summary>Gets the padding mode represented by this <see cref="T:System.Security.Cryptography.RSAEncryptionPadding" /> instance.</summary>
/// <returns>A padding mode.</returns>
// Token: 0x17000475 RID: 1141
// (get) Token: 0x060020E2 RID: 8418 RVA: 0x000144D8 File Offset: 0x000126D8
[Token(Token = "0x17000475")]
public RSAEncryptionPaddingMode Mode
{
[Token(Token = "0x60020E2")]
[Address(RVA = "0x3FA560", Offset = "0x3F9360", VA = "0x1803FA560")]
get
{
return RSAEncryptionPaddingMode.Pkcs1;
}
}
/// <summary>Gets the hash algorithm used in conjunction with the <see cref="F:System.Security.Cryptography.RSAEncryptionPaddingMode.Oaep" /> padding mode. If the value of the <see cref="P:System.Security.Cryptography.RSAEncryptionPadding.Mode" /> property is not <see cref="F:System.Security.Cryptography.RSAEncryptionPaddingMode.Oaep" />, <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> is <see langword="null" />.</summary>
/// <returns>The hash algorithm.</returns>
// Token: 0x17000476 RID: 1142
// (get) Token: 0x060020E3 RID: 8419 RVA: 0x000144F0 File Offset: 0x000126F0
[Token(Token = "0x17000476")]
public HashAlgorithmName OaepHashAlgorithm
{
[Token(Token = "0x60020E3")]
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
get
{
return default(HashAlgorithmName);
}
}
/// <summary>Returns the hash code of this <see cref="T:System.Security.Cryptography.RSAEncryptionPadding" /> object.</summary>
/// <returns>The hash code of this instance.</returns>
// Token: 0x060020E4 RID: 8420 RVA: 0x00014508 File Offset: 0x00012708
[Token(Token = "0x60020E4")]
[Address(RVA = "0x2DF1040", Offset = "0x2DEFE40", VA = "0x182DF1040", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x060020E5 RID: 8421 RVA: 0x00014520 File Offset: 0x00012720
[Token(Token = "0x60020E5")]
[Address(RVA = "0x26C05C0", Offset = "0x26BF3C0", VA = "0x1826C05C0")]
private static int CombineHashCodes(int h1, int h2)
{
return 0;
}
/// <summary>Determines whether the current instance is equal to the specified object.</summary>
/// <param name="obj">The object to compare.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="obj" /> is equal to the current instance; otherwise, <see langword="false" />.</returns>
// Token: 0x060020E6 RID: 8422 RVA: 0x00014538 File Offset: 0x00012738
[Token(Token = "0x60020E6")]
[Address(RVA = "0x2DF0FE0", Offset = "0x2DEFDE0", VA = "0x182DF0FE0", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// <summary>Determines whether the current instance is equal to the specified <see cref="T:System.Security.Cryptography.RSAEncryptionPadding" /> object.</summary>
/// <param name="other">The object to compare.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="other" /> is equal to the current instance; otherwise, <see langword="false" />.</returns>
// Token: 0x060020E7 RID: 8423 RVA: 0x00014550 File Offset: 0x00012750
[Token(Token = "0x60020E7")]
[Address(RVA = "0x2DF0F10", Offset = "0x2DEFD10", VA = "0x182DF0F10", Slot = "4")]
public bool Equals(RSAEncryptionPadding other)
{
return default(bool);
}
/// <summary>Indicates whether two specified <see cref="T:System.Security.Cryptography.RSAEncryptionPadding" /> 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: 0x060020E8 RID: 8424 RVA: 0x00014568 File Offset: 0x00012768
[Token(Token = "0x60020E8")]
[Address(RVA = "0x2DF1490", Offset = "0x2DF0290", VA = "0x182DF1490")]
public static bool operator ==(RSAEncryptionPadding left, RSAEncryptionPadding right)
{
return default(bool);
}
/// <summary>Indicates whether two specified <see cref="T:System.Security.Cryptography.RSAEncryptionPadding" /> 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 not equal; otherwise, <see langword="false" />.</returns>
// Token: 0x060020E9 RID: 8425 RVA: 0x00014580 File Offset: 0x00012780
[Token(Token = "0x60020E9")]
[Address(RVA = "0x2DF14B0", Offset = "0x2DF02B0", VA = "0x182DF14B0")]
public static bool operator !=(RSAEncryptionPadding left, RSAEncryptionPadding right)
{
return default(bool);
}
/// <summary>Returns the string representation of the current <see cref="T:System.Security.Cryptography.RSAEncryptionPadding" /> instance.</summary>
/// <returns>The string representation of the current object.</returns>
// Token: 0x060020EA RID: 8426 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60020EA")]
[Address(RVA = "0x2DF10B0", Offset = "0x2DEFEB0", VA = "0x182DF10B0", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x060020EC RID: 8428 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60020EC")]
[Address(RVA = "0x2DF1280", Offset = "0x2DF0080", VA = "0x182DF1280")]
internal RSAEncryptionPadding()
{
}
// Token: 0x040012DF RID: 4831
[Token(Token = "0x40012DF")]
private static readonly RSAEncryptionPadding s_pkcs1;
// Token: 0x040012E0 RID: 4832
[Token(Token = "0x40012E0")]
private static readonly RSAEncryptionPadding s_oaepSHA1;
// Token: 0x040012E1 RID: 4833
[Token(Token = "0x40012E1")]
private static readonly RSAEncryptionPadding s_oaepSHA256;
// Token: 0x040012E2 RID: 4834
[Token(Token = "0x40012E2")]
private static readonly RSAEncryptionPadding s_oaepSHA384;
// Token: 0x040012E3 RID: 4835
[Token(Token = "0x40012E3")]
private static readonly RSAEncryptionPadding s_oaepSHA512;
// Token: 0x040012E4 RID: 4836
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40012E4")]
private RSAEncryptionPaddingMode _mode;
// Token: 0x040012E5 RID: 4837
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x40012E5")]
private HashAlgorithmName _oaepHashAlgorithm;
}
}