Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

126 lines
4.8 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// <summary>Decrypts the PKCS #1 key exchange data.</summary>
// Token: 0x02000424 RID: 1060
[Token(Token = "0x2000424")]
[ComVisible(true)]
public class RSAPKCS1KeyExchangeDeformatter : AsymmetricKeyExchangeDeformatter
{
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.RSAPKCS1KeyExchangeDeformatter" /> class.</summary>
// Token: 0x060024E2 RID: 9442 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60024E2")]
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
public RSAPKCS1KeyExchangeDeformatter()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.RSAPKCS1KeyExchangeDeformatter" /> class with the specified key.</summary>
/// <param name="key">The instance of the <see cref="T:System.Security.Cryptography.RSA" /> algorithm that holds the private key.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="key" /> is <see langword="null" />.</exception>
// Token: 0x060024E3 RID: 9443 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60024E3")]
[Address(RVA = "0x1025610", Offset = "0x1024610", VA = "0x181025610")]
public RSAPKCS1KeyExchangeDeformatter(AsymmetricAlgorithm key)
{
}
/// <summary>Gets or sets the random number generator algorithm to use in the creation of the key exchange.</summary>
/// <returns>The instance of a random number generator algorithm to use.</returns>
// Token: 0x17000545 RID: 1349
// (get) Token: 0x060024E4 RID: 9444 RVA: 0x00002082 File Offset: 0x00000282
// (set) Token: 0x060024E5 RID: 9445 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000545")]
public RandomNumberGenerator RNG
{
[Token(Token = "0x60024E4")]
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
get
{
return null;
}
[Token(Token = "0x60024E5")]
[Address(RVA = "0x415810", Offset = "0x414810", VA = "0x180415810")]
set
{
}
}
/// <summary>Gets the parameters for the PKCS #1 key exchange.</summary>
/// <returns>An XML string containing the parameters of the PKCS #1 key exchange operation.</returns>
// Token: 0x17000546 RID: 1350
// (get) Token: 0x060024E6 RID: 9446 RVA: 0x00002082 File Offset: 0x00000282
// (set) Token: 0x060024E7 RID: 9447 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000546")]
public override string Parameters
{
[Token(Token = "0x60024E6")]
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "4")]
get
{
return null;
}
[Token(Token = "0x60024E7")]
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "5")]
set
{
}
}
/// <summary>Extracts secret information from the encrypted key exchange data.</summary>
/// <param name="rgbIn">The key exchange data within which the secret information is hidden.</param>
/// <returns>The secret information derived from the key exchange data.</returns>
/// <exception cref="T:System.Security.Cryptography.CryptographicUnexpectedOperationException">The key is missing.</exception>
// Token: 0x060024E8 RID: 9448 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60024E8")]
[Address(RVA = "0x1025360", Offset = "0x1024360", VA = "0x181025360", Slot = "7")]
public override byte[] DecryptKeyExchange(byte[] rgbIn)
{
return null;
}
/// <summary>Sets the private key to use for decrypting the secret information.</summary>
/// <param name="key">The instance of the <see cref="T:System.Security.Cryptography.RSA" /> algorithm that holds the private key.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="key" /> is <see langword="null" />.</exception>
// Token: 0x060024E9 RID: 9449 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60024E9")]
[Address(RVA = "0x1025550", Offset = "0x1024550", VA = "0x181025550", Slot = "6")]
public override void SetKey(AsymmetricAlgorithm key)
{
}
// Token: 0x17000547 RID: 1351
// (get) Token: 0x060024EA RID: 9450 RVA: 0x000172F8 File Offset: 0x000154F8
[Token(Token = "0x17000547")]
private bool OverridesDecrypt
{
[Token(Token = "0x60024EA")]
[Address(RVA = "0x10256D0", Offset = "0x10246D0", VA = "0x1810256D0")]
get
{
return default(bool);
}
}
// Token: 0x04001482 RID: 5250
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001482")]
private RSA _rsaKey;
// Token: 0x04001483 RID: 5251
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001483")]
private bool? _rsaOverridesDecrypt;
// Token: 0x04001484 RID: 5252
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4001484")]
private RandomNumberGenerator RngValue;
}
}